Breadcrumb Titles For Pages

This plugin modifies wp_title() (the function used to create the title of your website) to output all parent Pages when viewing a Page.

Example: Viper007Bond.com » My WordPress Plugins » Breadcrumb Titles For Pages

It obeys your separator (if you’re using a custom one).

Download:

Note:

This plugin does not work with K2 Release Candidate 6 as it uses the_title() not wp_title(). If you wish to use this with K2, you will need to modify it’s header.php.

  • #1 written by Jeff Waugh 
    about 1 year ago

    Simple but beautiful. :-)

  • #2 written by Shimshon 
    about 1 year ago

    I installed the plugin correctly, but it doesn’t seem to work?! Do you have any idea why?

  • #3 written by Kenti 
    about 1 year ago

    Does it work with K2 theme?

  • #4 written by Viper007Bond 
    about 1 year ago

    Shimshon on July 26th, 2008 at 2:30 AM2008-07-26T09:30:47ZF jS, Y \a\t g:i A wrote:

    I installed the plugin correctly, but it doesn’t seem to work?! Do you have any idea why?

    Do you have any sub-pages? i.e. Site -> Page -> Page? That’s the only place this plugin will affect.

    Kenti on July 26th, 2008 at 2:41 AM2008-07-26T09:41:08ZF jS, Y \a\t g:i A wrote:

    Does it work with K2 theme?

    I’d guess yes, but K2 is such a crazy mod/theme that I really can’t be sure. Try it and see.

  • #5 written by Kenti 
    about 1 year ago

    I’ve installed it on my website, running with K2 (rc6).
    I work with static content (pages and subpages) but I don’t see changes on my pages after intallation.

    I’ll keep trying ;)

  • #6 written by Viper007Bond 
    about 1 year ago

    Kenti on July 26th, 2008 at 3:25 AM2008-07-26T10:25:45ZF jS, Y \a\t g:i A wrote:

    I’ve installed it on my website, running with K2 (rc6).
    I work with static content (pages and subpages) but I don’t see changes on my pages after intallation.

    I’ll keep trying ;)

    My plugin just filters the output of the function. Assuming the theme uses wp_title(), I’d think it’d work.

  • #7 written by Shimshon 
    about 1 year ago

    I have the worldpress default theme!?

  • #8 written by Shimshon 
    about 1 year ago

    Do you have any sub-pages? i.e. Site -> Page -> Page?

    I have only Site -> Page – Shouldn’t it also show up?

  • #9 written by Viper007Bond 
    about 1 year ago

    Shimshon on July 26th, 2008 at 4:12 AM2008-07-26T11:12:46ZF jS, Y \a\t g:i A wrote:

    I have only Site -> Page – Shouldn’t it also show up?

    No, this plugin has no purpose for top level Pages. WordPress already puts the Page name in the title.

    This plugin just adds all parents to the title if the Page is a child.

  • #10 written by rickA 
    about 1 year ago

    This is a great plug-in but I couldn’t get it to work until I switched themes.

    K2_Release_Candidate_6 – doesn’t work.
    WordPress Default 1.6 – works.
    WordPress Classic – works

    I confirmed these results on two separate blogs.

    OTOH, it is compatible with all my plugins.

    Sure hope you will add K2 compatibility. Thanks for creating this plug-in.

  • #11 written by Viper007Bond 
    about 1 year ago

    rickA on July 27th, 2008 at 2:06 AM2008-07-27T09:06:36ZF jS, Y \a\t g:i A wrote:

    Sure hope you will add K2 compatibility. Thanks for creating this plug-in.

    I’ll download K2 and see if I can.

  • #12 written by Viper007Bond 
    about 1 year ago

    Okay, found the problem. K2 uses the_title() not wp_title() as it should be.

    If I filter the_title(), it will affect all titles on the page. I could do the filter only once (i.e. the title), but that is risky as plugins and other things could be using the_title() before K2 does. Plus it’s kinda just ugly code.

    Not to mention K2 doesn’t use a separator, it does “Page Name at Site Name”. How would my plugin output? “Parent Page » Child Page at Site Name”? That looks weird to me.

    I’m thinking I just don’t provide support for unmodified K2. That’s not to say you couldn’t use this plugin with K2, but you’d just have to switch K2 to using wp_title('»', TRUE, 'right') and possibly get rid of the “at”.

  • #13 written by rickA 
    about 1 year ago

    Viper007Bond on July 27th, 2008 at 2:58 AM2008-07-27T09:58:52ZF jS, Y \a\t g:i A wrote:

    Okay, found the problem. K2 uses the_title() not wp_title() as it should be.

    Where do I apply this change?

  • #14 written by rickA 
    about 1 year ago

    Related problem: I want to use Breadcrumb NavXT at the same time but when I activate Breadcrumb Titles For Pages, Breadcrumb NavXT’s breadcrumb trail gets messed up as follows:

    Breadcrumb Titles not activated – /About/test page 1 (this is correct)

    Breadcrumb Titles activated – /About/About test page 1

    I tested this using the Berry theme (http://mtekk.weblogs.us/code/berry/#installation) theme. You have to have Breadcrumb NavXT – Adminstration Interface plugin activated before Berry will work.

    Using both plug-ins would be absolutely fantastic.

    Thanks for your help.

  • #15 written by Viper007Bond 
    about 1 year ago

    rickA on July 27th, 2008 at 3:09 AM2008-07-27T10:09:51ZF jS, Y \a\t g:i A wrote:

    [quote comment="188385"]Okay, found the problem. K2 uses the_title() not wp_title() as it should be.

    Where do I apply this change?[/quote]

    K2’s header.php

    rickA on July 27th, 2008 at 3:20 AM2008-07-27T10:20:19ZF jS, Y \a\t g:i A wrote:

    Related problem: I want to use Breadcrumb NavXT at the same time but when I activate Breadcrumb Titles For Pages, Breadcrumb NavXT’s breadcrumb trail gets messed up as follows:

    I’d talk to the author of that plugin.

  • #16 written by rickA 
    about 1 year ago

    Viper007Bond on July 27th, 2008 at 3:49 AM2008-07-27T10:49:01ZF jS, Y \a\t g:i A wrote:

    I’d talk to the author of that plugin.

    Great! Thanks so much.

  • #17 written by rickA 
    about 1 year ago

    Viper007Bond on July 27th, 2008 at 3:49 AM2008-07-27T10:49:01ZF jS, Y \a\t g:i A wrote:

    [quote comment="188393"][quote comment="188385"]Okay, found the problem. K2 uses the_title() not wp_title() as it should be.

    Where do I apply this change?[/quote]

    K2’s header.php[/quote]

    Do I replace every instance of “title with “wp_title”?

  • #18 written by Viper007Bond 
    about 1 year ago

    rickA on July 27th, 2008 at 5:43 AM2008-07-27T12:43:57ZF jS, Y \a\t g:i A wrote:

    Do I replace every instance of “title with “wp_title”?

    Right inside <title> is the_title(). Just replace that one with wp_title().

  • #19 written by Deb 
    about 1 year ago

    Hello, this plugin looks like it will provide a great feature. However, after installing and activating it, I’m not getting the breadcrumbs on the sub-pages. Do I need to modify something in my header.php file?

    I tried to insert the line of code for wp_title that’s in my header.php file, but unfortunately I couldn’t get it to show up, even using the code tag. If you need to see it, please let me know how I can make it show up.

    I’m using the Revolution Blog theme (free), and it only comes with a default page template. Is there some HTML modification I need to do somewhere to make the breadcrumbs show up?

    NOTE: I’m not an advanced coder — I’m learning as I go — and would appreciate any help and pointers.

    Thank you!

  • #20 written by Viper007Bond 
    about 1 year ago

    Deb: I downloaded the theme and it’s working just fine for me. It looks a little odd as that theme doesn’t use a separator, but other than that it works fine.

    If I were you though, I’d replace this:

    <title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :'; } ?> <?php bloginfo('name'); ?></title>

    with this:

    <title><?php wp_title(':', TRUE, 'right'); bloginfo('name'); ?></title>

  • #21 written by Deb 
    about 1 year ago

    Thanks for getting back with me so quickly. I replaced the code as you suggested, but I still don’t have breadcrumbs on my subpages. I wondered if there might be a plugin conflict, so I deactivated a plugin that I wasn’t using, Subpage LIsting, but that didn’t make a difference.

    I *am* using the Exclude Pages for Navigation plugin, applying it to selected pages — and I definitely need to keep it. Would that be a problem? All the other plugins I’m using don’t seem to be related to the navigation/subpages.

    Can you think of anything else that might be preventing the breadcrumbs from showing up?

    And just to be sure I’m correctly understanding what this plugin does. Any Child page should have a breadcrumb, is that right?

    I’m baffled as to what to try next. I appreciate any additional thoughts you might have in troubleshooting this. I’d *really* like to get to work!

    Thank you.

  • #22 written by Viper007Bond 
    about 1 year ago

    It’s just a simple filter. If it doesn’t work, then either your theme or other plugins are the problem.

  • #23 written by Pedro 
    about 1 year ago

    Hello,
    I´m using this plugin and i love it.
    It´s works 100%
    I want to know if, in this situation:
    Home >> Top Level Page >> Child Page >> Grandchild Page
    Is it possible in Grandchild Page, I have a link in Child Page to the respective page?And others level too??
    Thanks

  • #24 written by Viper007Bond 
    about 1 year ago

    Pedro on August 20th, 2008 at 2:22 AM2008-08-20T09:22:33ZF jS, Y \a\t g:i A wrote:

    I want to know if, in this situation:
    Home >> Top Level Page >> Child Page >> Grandchild Page
    Is it possible in Grandchild Page, I have a link in Child Page to the respective page?And others level too??

    Yes, there are various plugins to do that. Here’s one of them: http://mtekk.weblogs.us/code/breadcrumb-navxt/

  • #25 written by Pedro 
    about 1 year ago

    Viper007bond,
    Thanks for the thip.
    I want to know if it´s possible to do this in your plugin.
    If yes, how??
    Thanks

  • #26 written by Viper007Bond 
    about 1 year ago

    Pedro on August 27th, 2008 at 7:53 PM2008-08-28T02:53:10ZF jS, Y \a\t g:i A wrote:

    I want to know if it´s possible to do this in your plugin

    No… my plugin is strictly for the title of your website.

    As I said, if you want to do that, you will need to use a plugin like the one I linked to you.

  • #27 written by Mister Peabody 
    about 1 year ago

    Are you able to change the order of page elements from, e.g.,

    Grandfather > Father > Child

    to a more SEO-Friendly

    Child > Father > Grandfather

    ?

  • #28 written by Viper007Bond 
    about 1 year ago

    Mister Peabody on September 16th, 2008 at 7:22 AM2008-09-16T14:22:19ZF jS, Y \a\t g:i A wrote:

    Are you able to change the order of page elements from, e.g.,

    Grandfather > Father > Child

    to a more SEO-Friendly

    Child > Father > Grandfather

    ?

    Try this: http://viper007bond.pastebin.com/f23d01869

  • #29 written by Sanjay 
    about 1 year ago

    I have installed your plugins. But its not working. Could you please help me. I am new to wordpress.

    Regards
    Sanjay

  • #30 written by speedlikecy 
    about 1 year ago

    hello!

    this plugin modifies wp_title()
    will get like this title
    Viper007Bond.com » My WordPress Plugins » Breadcrumb Titles For Pages

    can you pls do some change, make it to
    Breadcrumb Titles For Pages » My WordPress Plugins » Viper007Bond.com

    i try this ,but i get
    http://viper007bond.pastebin.com/f23d01869
    Viper007Bond.com » Breadcrumb Titles For Pages » My WordPress Plugins

  • #31 written by Viper007Bond 
    about 1 year ago

    speedlikecy on March 1st, 2009 at 9:38 AM2009-03-01T17:38:08ZF jS, Y \a\t g:i A wrote:

    can you pls do some change, make it to
    Breadcrumb Titles For Pages » My WordPress Plugins » Viper007Bond.com

    Try removing the array_reverse() line. Not 100% sure it’ll work though.

  • #32 written by speedlikecy 
    about 1 year ago

    Try removing the array_reverse() line. Not 100% sure it’ll work though
    after i try also get this
    Viper007Bond.com » Breadcrumb Titles For Pages » My WordPress Plugins

    not
    Breadcrumb Titles For Pages » My WordPress Plugins » Viper007Bond.com

  • #33 written by Viper007Bond 
    about 1 year ago
  • #34 written by speedlikecy 
    about 1 year ago

    haha?
    thank you so much.

  • #35 written by wah 
    about 8 months ago

    thanks for this plugin. how can i display the breadcrumbs as a link for each page? it doesnt make any sense if the breadcrumb is not clickable.

  • #36 written by fx
    about 4 months ago

    I plugin it now, but there is no breadcrumbs be created. what happended?

  • #37 written by Viper007Bond 
    about 4 months ago

    fx on November 7th, 2009 at 9:34 AM2009-11-07T17:34:27ZF jS, Y \a\t g:i A wrote:

    I plugin it now, but there is no breadcrumbs be created. what happended?

    No idea. Works fine for me.

  • #38 written by Viper007Bond 
    about 4 months ago

    Sorted out a bug with the display order and may have fixed your issue while I was at it, fx. Upgrade. :)

  • #39 written by Gaspar 
    about 4 months ago

    I needed to show Home title as dynamic (the real title of page), so i modified you plugin!
    Added following line after “$opt = get_option(“yoast_breadcrumbs”);” (line 170) into function yoast_breadcrumb():

    $opt['home'] = get_the_title(get_option(‘page_on_front’));

    Maybe this Home option can dropped altogether..

  • #40 written by Viper007Bond 
    about 4 months ago

    You’re confusing my plugin with Yoast’s plugin. My plugin doesn’t have that function or code. ;)

  • #41 written by Gaspar 
    about 4 months ago

    Sorry about that :( Please delete my post. I move it to correct location.
    Similar plugin names ;)

No pingbacks yet.
Page generated with 27 queries in 0.34915 seconds ( 98.49% PHP, 1.51% MySQL )