Site logo

Archived topic

Breadcrumbs issue

15 replies · Started by max on November 17, 2020

Viewing posts 1–15 of 16

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(); ?>

already follow what you suggest
but still not appear

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

is it cause we use sucuri plugin

Do you mean security plugin?

If so that is likely the case.

hello please respond my issue
still waiting until now

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/

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?

Hi,

You can adjust the font size with this CSS:

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

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

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.

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

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.

This archived topic is closed to new replies.