Options for breadcrumb location and appearance

#48526
  • Resolved James
    Rank Math free

    I’d like to ask if it’s possible to have greater flexibility on how to use your breadcrumbs. As it stands you are only able to use it on one location. This makes it difficult when it doesn’t work with the layout/theme. Can I ask if these options would be possible to have:
    – choose which post/page types have breadcrumbs (so you can specify when it appears)
    – just use shortcode, so breadcrumbs not automatically added to every page and post
    – option for where breadcrumbs are placed, so they can be added in a way that fits with the style of the site
    – typography options, so you can specify the look/feel of the breadcrumbs

    Are any of these options possible? If not, are they something you plan to implement?

    • This topic was modified 5 years, 7 months ago by James.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Todd
    Rank Math free

    Hello James,

    Thanks for getting in touch with us.

    1. We already have a shortcode you can use:
    [rank_math_breadcrumb]

    2. You can add the breadcrumbs anywhere you like. You can use this CSS to customize the style:

    .rank-math-breadcrumb a {
    font-size: 16px;
    color: #6b6b6b;
    }
    .rank-math-breadcrumb {
    font-size: 16px;
    цвет: # c0c0c0;
    }

    We don’t have extensive options for styling it but this is going to change in future updates.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    James
    Rank Math free

    Hi there, thank you for getting back to me so quickly.

    What I’m struggling with is if I trun on breadcrumbs, they appear on every page and post. I want to be selective about where they appear and only use the shortcode. Is there a way to turn on breadcrumbs globally so I can just use it via the shortcode?

    Thanks!

    Todd
    Rank Math free

    Hi James,

    Could you please let us know which theme you are using? Unless you manually placed the PHP code in your theme files, the breadcrumbs shouldn’t automatically appear unless you are using WP Astra theme.

    Please let us know so we can help you better.

    James
    Rank Math free

    Hi there Todd,

    I’m using Neve with the Neve Pro addon. Hope this helps.

    Thank you!

    Todd
    Rank Math free

    Hi James,

    I assume you didn’t add the code manually?

    Please edit the theme’s single.php file and look for the Rank Math breadcrumbs code. It should be just below:
    nv-title-meta-wrap

    Remove it and then you can add the breadcrumbs shortcode only where you want.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    James
    Rank Math free

    Hi there, sorry to be a pain but I’ve checked the child theme and the main theme and can’t find any reference to either of these. There’s not reference to rankmath in any of the code.

    Any other ideas you think could help?

    James
    Rank Math free

    Hello,

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

    Thank you.

    James
    Rank Math free

    This is the code from single.php, there’s no trace of it.

    ——————————————

    <?php
    /**
    * Author: Andrei Baicus <a*****@t************>
    * Created on: 28/08/2018
    *
    * @package Neve
    */

    $container_class = apply_filters( ‘neve_container_class_filter’, ‘container’, ‘single-post’ );

    get_header();

    ?>
    <div class=”<?php echo esc_attr( $container_class ); ?> single-post-container”>
    <div class=”row”>
    <?php do_action( ‘neve_do_sidebar’, ‘single-post’, ‘left’ ); ?>
    <article id=”post-<?php echo esc_attr( get_the_ID() ); ?>”
    class=”<?php echo esc_attr( join( ‘ ‘, get_post_class( ‘nv-single-post-wrap col’ ) ) ); ?>”>
    <?php
    do_action( ‘neve_before_post_content’ );
    if ( have_posts() ) {
    while ( have_posts() ) {
    the_post();
    get_template_part( ‘template-parts/content’, ‘single’ );
    }
    } else {
    get_template_part( ‘template-parts/content’, ‘none’ );
    }
    do_action( ‘neve_after_post_content’ );
    ?>
    </article>
    <?php do_action( ‘neve_do_sidebar’, ‘single-post’, ‘right’ ); ?>
    </div>
    </div>
    <?php
    get_footer();

    Alberto
    Rank Math business

    It is fine, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    James
    Rank Math free

    Hello,

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

    Thank you.

    Alberto
    Rank Math business

    Hello,

    I have checked the website and it seems it has already integrated support for Rank Math breadcrumbs (that is why you didn’t have to add the code to see them active).

    You can find it in the file called breadcrumbs.php.

    What you can do is to disable the breadcrumbs in the theme (the theme must have an option or if not, you should ask the theme support how to do it) and after that you can place the Rank Math code wherever you want in your theme templates.

    Looking forward to help you.

    • This reply was modified 5 years, 7 months ago by Alberto.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Options for breadcrumb location and appearance’ is closed to new replies.