|
#1
Oct 2, 2012, 08:50 AM
|
|
Hi,
Loving this theme!
Just after a bit of help please?
How do i get the breadcrumbs to start with a different page rather than Blog - I.E about?
Hope that makes sense.
Thanks
Tommy
|
#2
Oct 2, 2012, 01:49 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
In the wordpress options, change what the front page displays
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#3
Oct 2, 2012, 03:04 PM
|
|
Thanks juggledad.
New it would be easy
Another question, if i want to add a div above the sidebar, where do i add the css and html code?
I tried adding it to the layout.css but this doesn;t appear on my page. I need to create a seperate div so i can add some additional code.
Thanks
Tommy.
|
#4
Oct 2, 2012, 03:35 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
why not add a text widget and put your div in that then you don't have to touch the code
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Last edited by juggledad; Oct 2, 2012 at 03:41 PM.
|
#5
Oct 3, 2012, 06:25 AM
|
|
Good thinking, thats exactly what i shall do, the only problem is that i want to display different content within that div per post?
I.E a different Image and text for each one, any idea?
Thanks
Tommy.
|
#6
Oct 3, 2012, 07:15 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
where are you going to get the image and text from?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#7
Oct 3, 2012, 07:23 AM
|
|
I'm not sure, probably just use static text and HTML to retrieve image.
Or is there a better way?
Thanks
|
#8
Oct 3, 2012, 07:47 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
just wanted to point out if you are looking to have different content per post, you will have to update it each time you add a post. How long will it take for that to become old. Same goes for an image.
what you need to ask yourself is why are you going to do this?
is it to show on single post pages or multi post pages? and what about 'page' pages?
if single post pages - isn't all the info from the post already there.
for multi post pages - which ppost do you get it from?
'page' pages - what post will you pick it from?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Last edited by juggledad; Oct 3, 2012 at 08:05 AM.
|
#9
Oct 6, 2012, 11:10 AM
|
|
|
367 posts · Oct 2012
Florida
|
|
Quote:
Originally Posted by Tommyt
... i want to display different content within that div per post?
I.E a different Image and text for each one, any idea?
|
Tommy, I'm with jug. If the content of this div going to be different for each post, you may want to consider just working that div into the content area. If it's small and you want to make it more like a sidebar, you could even float it to one side. Depending upon how you do the css, you could have the rest of the content wrap your div, like it were an image, or just keep your div in a separate column.
There are almost always some compromises using wordpress themes (or any cms) but the compromises are usually worth the tradeoff of not having to code the whole site from scratch with a text editor.
Last edited by jerryc; Oct 6, 2012 at 11:13 AM.
|
#10
May 12, 2013, 04:14 PM
|
|
Quote:
Originally Posted by juggledad
In the wordpress options, change what the front page displays
|
Sorry to dig this one up. I'm having the exact problem that was so easily solved. I'd like the home link to refer it of the blog area and instead refer to the mother site.
I have a static traditional site and I've tried to integrate the blog within it. It'll never be completely seamless but I can live with that. I am really pleased with my progress over the weekend and I've slowly conquered most puzles it's put my way but this question of setting the 'home' link in wordpress options has me stumped.
I know the explanations seems straightforward but I can't find the setting for determining what to display.
Cheers in advance.
The website is http://www.gorsehill-labour.co.uk
Last edited by gorsehillMike; May 12, 2013 at 04:16 PM.
Reason: spelling on a mobile
|
#11
May 12, 2013, 07:38 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
so create a custom Wordpress menu (dashboard->appearances->menu) and add a custom menu item: call it home and put a link to the mainsite there.
|
#12
May 13, 2013, 03:03 AM
|
|
Thanks Juggledad
I've misunderstood Tommy's original question - what I'm after is for the home icon in breadcrumbs to refer to the main site rather than front page of wordpress. It may be that can't be done without a huge investment of time.
I've done the menu as you suggest and whilst I'll want to tweak it stylistically, you're right to identify it as an easy compromise.
Quote:
Originally Posted by Tommyt
How do i get the breadcrumbs to start with a different page rather than Blog - I.E about?
Tommy
|
|
#13
May 13, 2013, 06:34 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
you could edit '/includes/breadcrumbs.php' and change line 11 (version 1.1.9)
HTML Code:
echo '<ol><li class="bc-home"><a href="' . home_url() . '">' . $home . '</a></li>';
replacing the 'home_url()' with the address of your main site.
|
|