Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #457146

    Hi, I would like to insert breadcrumbs automatically into the page template in a particular area.
    I am trying to figure out what code I would need to insert to generate the breadcrumbs.

    I’ve read the guide on using shortcodes for inserting breadcrumbs but was wanting to make it automatic rather than having to use shortcodes.

    Can anyone suggest what code would need to be included?

    I’ve tried the following with no effect:

    echo ‘<p class=”breadcrumb”><span class=”breadcrumb_info”>’.__(‘You are here:’,’avia_framework’).'</span> ‘;

    #457212

    Hey aztamer!

    Can you please point out the area that you would like to insert breadcrumbs?

    Best regards,
    Yigit

    #457230

    Hi Yigit, I would like to place them after:

    <div class=”container”>
    <main class=”template-page content av-content-small alpha units” itemprop=”mainContentOfPage” role=”main”>

    So for example if the contents of page would be

    <h1>page title </h1>

    the breadcrumbs would appear directly above them.

    So for example I am aiming for this:

    But currently have this:

    • This reply was modified 9 years, 5 months ago by aztamer.
    #457905

    Hi!

    Have you tried using a plugin such as this one – https://wordpress.org/plugins/breadcrumb-navxt/

    Regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.