WordPress.org

Ready to get started?Download WordPress

Forums

Yoast Breadcrumbs
The 'one line of code'. Is it Top Secret? (5 posts)

  1. jodeckard
    Member
    Posted 3 years ago #

    'Easily add breadcrumbs to your template. If you're using one of the supported WordPress frameworks, it's as easy as enabling the plugin and checking the "Try to add automatically box", if you're not using one of those, adding it is as simple as adding one line of code to your template!'

    Try telling us what the 'one line of code is'.

  2. pixelnated
    Member
    Posted 3 years ago #

    did you look here -> http://yoast.com/wordpress/breadcrumbs/ as listed in the readme.txt file?

  3. lightrail
    Member
    Posted 3 years ago #

    Thanks, Pixelnated. This answer is in no way obvious to the user who just installs the plug-in from the WordPress dashboard (and therefore does not see the readme.txt file), so I was scratching my head like Jodeckard until I saw your clue.

    Context is everything.

  4. Thea
    Member
    Posted 3 years ago #

    I know some people are going to think this is a silly question.

    I can see in the instructions that I have to add a line of code to my template.

    Which template? Single post? Page template? And where - right at the top, somewhere else? Help?

  5. alchymyth
    Forum Moderator
    Posted 3 years ago #

    @dorothy1508
    you need to define first where you want the braedcrumbs to appear - then choose the corresponding template(s).

    if you want the breadcrumbs below the header image or nav bar, you could add this line of code into header.php, below the menu, or just above the central container.
    details depend on the exact location and on the structure of your theme's tempaltes.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic