Archived

This topic is now archived and is closed to further replies.

  • 0

Resolved insert breadcrumb into the top of post loop


Question

Posted · Report post

Hello,

would like to insert the following code into the top of post loop, wondering which php file should I edit? Thanks in advance


<?php if ( function_exists('yoast_breadcrumb') ) {

yoast_breadcrumb('<p id="breadcrumbs">','</p>');

} ?>

Colin

Share this post


Link to post
Share on other sites

5 answers to this question

Posted · Report post

Dont edit ANY. Editing the framework means you can never update.

Use a wordpress 'action' and add it the customize plugin functions.php

Install the free action map plugin, activate and turn it on in the wordpress admin bar. that will highlight where all the actions happen.

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks Rob, I'm trying to figure out how to use this plugin! Thanks a lot! Colin

Share this post


Link to post
Share on other sites

Posted · Report post

The topic was marked as resolved.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi Simon,

wow that sounds so complicated, actually i have installed the childtheme, so editing the child theme should be safe?

Thanks

Colin

Share this post


Link to post
Share on other sites

Posted · Report post

Colin, the Breadcrumb NavXT plugin works great in PageLines, right at the top of your content area (if that's where you add the section in Drag & Drop > Content Area. I've been using it successfully without coding on my site for quite some time.

Share this post


Link to post
Share on other sites