Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #13019
    Joaozinho
    Member

    I installed the Yoast SEO plugin and am currently busy setting up the breadcrumbs option.

    I was able to successfully implement the code into the single.php file, however the breadcumb appears above the white page. So in the grey area, between the menu and the white section where the content is.

    On which .php file and where do I need to paste the code in order for this to appear in the white section, where ‘previous’ and ‘next’ buttons are visible in posts?

    Thanks in advance

    #13027
    Sakin
    Keymaster

    @Joaozinho: We don’t have breadcrumbs options in Catch Box Theme. Can you show me your site URL? Then I can check in if there is anything that I can help you with.
    Please consult plugin author as well.

    #13037
    Joaozinho
    Member

    The breadcrumbs is working in the Catch Box Theme.

    There is a piece of code however that I need to put in the theme editor where I want for the breadcrumb to show up.

    <?php if ( function_exists(‘yoast_breadcrumb’) ) {
    yoast_breadcrumb(‘<p id=”breadcrumbs”>’,'</p>’);
    } ?>

    See this link for example,

    http://www.worldcupbrazil.net/will-brasil-prove-everybody-wrong/

    I put the code in the single.php file underneath get_header(); ?>, but the breadcrumb appears above the white section of the page, in the grey area.

    Where in the editor, should I place this code in order for the breadcrumb to appear next to the ‘previous’ and ‘next’ buttons in the white space? and which .php file applies to pages?

    Thanks in advance!

    #13049
    Sakin
    Keymaster

    @Joaozinho: You can build child theme and add it in header.php just below the code <div id="content" role="main">

    #13065
    Joaozinho
    Member

    In header.php I put the code under <div id=”content” role=”main”>, but then I see server error

    When I put it under
    <div id=”content” role=”main”>
    <?php

    Nothing happens :/

    #13095
    Sakin
    Keymaster

    @Joaozinho: Your child theme header.php replace

    <div id="content" role="main">
        <?php 
        /** 
         * catchbox_content hook
         *
         * @hooked catchbox_slider_display - 10 if full width image slide is not selected
         */
        do_action( 'catchbox_content' ); ?>

    With the following code

    <div id="content" role="main">
    	<?php if ( function_exists( 'yoast_breadcrumb' ) ) { yoast_breadcrumb('<p id="breadcrumbs">','</p>'); } ?>
    	<?php 
        /** 
         * catchbox_content hook
         *
         * @hooked catchbox_slider_display - 10 if full width image slide is not selected
         */
        do_action( 'catchbox_content' ); ?>
    #13171
    Joaozinho
    Member

    Hi, stupid question maybe but, where can I find the child theme in WordPress? I see the header.php in the theme editor but Im not sure if that is related to the child theme :/

    #13183
    Sakin
    Keymaster
    #14281
    Joaozinho
    Member

    Thanks a lot 🙂

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Breadcrumbs plugin issue’ is closed to new replies.