Jump to content
colintsui

insert breadcrumb into the top of post loop

Recommended Posts

colintsui    0
colintsui

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
Simon    247
Simon

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
colintsui    0
colintsui

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
Rob    547
Rob

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
colintsui    0
colintsui

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
Danny    1,327
Danny

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

    • 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...
      Thoughts?
    • Queue-it
      By Queue-it+
      Hi,
      How can I remove the "next post" links below each post page? 
      https://queue-it.com/cdn-blog/
      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)
    • micstepl
      By micstepl+
      how to make (easy) a post Navigation: previous / next
    • robertgourley
      By robertgourley+
      Maybe I'm going about this the wrong way.  I was hoping to create a template, then call the posts/page feature image as a hook/shortcode to display that above the rest of the page loop.
      What I'm specifically trying to do is have a full-width featured image, then a container with the post loop and side bar below. But I want the full-width image to be dynamically pulled from whatever post/page is using the template.
×