[Support request] Breadcrumbs issue

Home Forums Support [Support request] Breadcrumbs issue

Home Forums Support Breadcrumbs issue

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #1535472
    max

    Please guide us
    right now we use rankmath
    we want to implement Breadcrumbs on our site after category link at each post content?

    <?php if (function_exists(‘rank_math_the_breadcrumbs’)) rank_math_the_breadcrumbs(); ?>

    #1535474
    Leo
    Staff
    Customer Support

    Hi there,

    The generate_after_content hook with a hook element would be what you need:
    https://docs.generatepress.com/article/hooks-element-overview/
    https://docs.generatepress.com/article/hooks-visual-guide/#single-post

    Make sure to check Execute PHP.

    #1535490
    max

    already follow what you suggest
    but still not appear

    #1535511
    Leo
    Staff
    Customer Support
    #1538271
    max

    is it cause we use sucuri plugin
    that make our code didn’t appear on our site?

    #1538283
    Leo
    Staff
    Customer Support

    is it cause we use sucuri plugin

    Do you mean security plugin?

    If so that is likely the case.

    #1566614
    max

    hello, my breadcrumb still didn’t appear until now
    please help us to solve this issue

    i didn’t understand to solve this issue based on link that you share here
    https://docs.generatepress.com/article/disallow-php-execution/

    #1566775
    max

    hello please respond my issue
    still waiting until now

    #1567534
    David
    Staff
    Customer Support

    Hi there,

    add this PHP Snippet to your site to allow PHP to be executed in the Hook Element:

    add_filter( 'generate_hooks_execute_php', '__return_true' );

    This document explains how to add the PHP:

    https://docs.generatepress.com/article/adding-php/

    #1569804
    max

    thank you very much
    we add via function.php in child theme

    but how to adjust the font size for this breadcrumb
    we want to make it smaller?

    #1569824
    Elvin
    Staff
    Customer Support

    Hi,

    You can adjust the font size with this CSS:

    nav.rank-math-breadcrumb p {
        font-size: 22px;
    }
    #1569958
    Nitin

    Hi,
    How to add these breadcrumbs in Header-hero, just below the title?

    #1570036
    Elvin
    Staff
    Customer Support

    Hi,
    How to add these breadcrumbs in Header-hero, just below the title?

    Hi @Nitin,

    You’ll need a plugin or a PHP snippet that has a shortcode you can add within your page-hero.

    You can then add the PHP on the Header Element’s code area. It allows any working shortcode to run by default.

    #1570054
    Nitin

    Hi Elvin,
    I add the PHP code to the header element’s code area, still, it is not showing there.

    #1570076
    Elvin
    Staff
    Customer Support

    Hi Elvin,
    I add the PHP code to the header element’s code area, still, it is not showing there.

    As this is someone else’s topic, can you open a new topic for it?

    So you can use the private information text to provide the site details so we can check.

    We’ll make sure to address it there. Thank you.

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