breadcrumbs for hello theme elementor

#61792
  • Resolved Anonymous
    Rank Math free

    Hi, I am using hello theme with rankmath
    I do not know where the file and number of code line for inserting rank math code to work
    Can you help me, thank you
    Code need to insert
    <?php if (function_exists(‘rank_math_the_breadcrumbs’)) rank_math_the_breadcrumbs(); ?>

    code single.php
    <?php
    /**
    * The template for displaying singular post-types: posts, pages and user-defined custom post types.
    *
    * @package HelloElementor
    */

    if ( ! defined( ‘ABSPATH’ ) ) {
    exit; // Exit if accessed directly.
    }
    ?>
    <?php
    while ( have_posts() ) : the_post();
    ?>

    <main <?php post_class( ‘site-main’ ); ?> role=”main”>
    <?php if ( apply_filters( ‘hello_elementor_page_title’, true ) ) : ?>
    <header class=”page-header”>
    <?php the_title( ‘<h1 class=”entry-title”>’, ‘</h1>’ ); ?>
    </header>
    <?php endif; ?>
    <div class=”page-content”>
    <?php the_content(); ?>
    <div class=”post-tags”>
    <?php the_tags( ‘<span class=”tag-links”>’ . __( ‘Tagged ‘, ‘hello-elementor’ ), null, ‘</span>’ ); ?>
    </div>
    <?php wp_link_pages(); ?>
    </div>

    <?php comments_template(); ?>
    </main>

    <?php
    endwhile;

    • This topic was modified 5 years, 1 month ago by .
Viewing 4 replies - 1 through 4 (of 4 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    You can add it wherever you prefer (since depending where you place it, it will be displayed in one position or another on your website). But if you want a recommendation, you could try adding it between these lines:

    <?php endif; ?>
    <div class=”page-content”>

    And after that just check if you like it and if you don’t, just place it in another position.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Anonymous
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Anonymous
    Rank Math free

    Sorry, I have solved my problem. Thank you

    • This reply was modified 5 years, 1 month ago by .
    Alberto
    Rank Math business

    Hello Nam,

    Don’t worry, that is why we are here, to help you. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this ticket.