- This topic has 8 replies, 2 voices, and was last updated 10 years, 8 months ago by Joaozinho.
-
AuthorPosts
-
August 12, 2013 at 12:01 am #13019JoaozinhoMember
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
August 12, 2013 at 1:15 am #13027SakinKeymaster@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.August 12, 2013 at 7:27 am #13037JoaozinhoMemberThe 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!
August 12, 2013 at 10:52 am #13049SakinKeymaster@Joaozinho: You can build child theme and add it in header.php just below the code
<div id="content" role="main">
August 12, 2013 at 10:44 pm #13065JoaozinhoMemberIn 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”>
<?phpNothing happens :/
August 13, 2013 at 10:01 am #13095SakinKeymaster@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' ); ?>
August 14, 2013 at 8:00 am #13171JoaozinhoMemberHi, 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 :/
August 14, 2013 at 6:45 pm #13183SakinKeymaster@Joaozinho: You have to build child theme. See this http://codex.wordpress.org/Child_Themes and http://www.webdesignerdepot.com/2011/12/creating-your-first-wordpress-child-theme/
September 9, 2013 at 3:54 pm #14281JoaozinhoMemberThanks a lot 🙂
-
AuthorPosts
- The topic ‘Breadcrumbs plugin issue’ is closed to new replies.