Jump to content

insert breadcrumb into the top of post loop

Recommended Posts



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>');

} ?>


Share this post

Link to post
Share on other sites

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

Hi Simon,

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



Share this post

Link to post
Share on other sites

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.

Former PageLines Moderator, Food Expert and Raconteur

Share this post

Link to post
Share on other sites

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

The topic was marked as resolved.

Please search our forums, before posting!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • mtaus
      By mtaus
      I'm trying to add a Careers page to a site to display job openings. The plan is to create a Post using a subcategory 'Careers' and then display those on the page. All of the post sections in PL seem to include images and there's no obvious way to remove them or include an excerpt from the post. 
      Any suggestions?
    • Dan Haddock
      By Dan Haddock
      Hi Pagelines team and wider community,
      I am looking to develop a single post page for my blog. I have read over an old article on the subject, however the link provided on achieving this goal was giving me security warnings. Is there any way I can get round this?
      Secondly, I have had a root around the .zip file provided on my sites backup, however was unable to locate any file in there with the name of Single.php. Does this file exist in the Pagelines theme?
      By the way, this is the unsafe article: http://support.pagelines.me/docs/customization/create-a-custom-page-template/ (Click at your peril).
    • Timothy
      By Timothy+
      Question! Does anyone know how to display a full post rather than the excerpt on the posts page? Normally I can replace 'the_excerpt' with 'the_content' on the page template, but i'm not finding that in the Framework templates...
    • Queue-it
      By Queue-it+
      How can I remove the "next post" links below each post page? 
      Before we had a related post section, but I can't find it among any functions, widgets etc. 

    • micstepl
      By micstepl+
      When inserting a LOOP-Section within a WORDPRESS-Section (Pagelines Framework Content) >>> Images (loops_media) do not show. 
      (same section outside, works well)