Breadcrumbs
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 |
In the wordpress options, change what the front page displays
|
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. |
why not add a text widget and put your div in that then you don't have to touch the code
|
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. |
where are you going to get the image and text from?
|
I'm not sure, probably just use static text and HTML to retrieve image.
Or is there a better way? Thanks |
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? |
Quote:
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. |
Quote:
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 |
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.
|
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:
|
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>'; |
All times are GMT -6. The time now is 10:22 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.