- This topic has 15 replies, 5 voices, and was last updated 5 years, 4 months ago by
Nitin.
-
AuthorPosts
-
November 17, 2020 at 5:52 pm #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(); ?>
November 17, 2020 at 5:55 pm #1535474Leo
StaffCustomer SupportHi there,
The
generate_after_contenthook 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-postMake sure to check Execute PHP.
November 17, 2020 at 6:27 pm #1535490max
already follow what you suggest
but still not appearNovember 17, 2020 at 7:20 pm #1535511Leo
StaffCustomer SupportThis is the issue:
https://www.screencast.com/t/lPbyfJzSMore info here:
https://docs.generatepress.com/article/disallow-php-execution/November 19, 2020 at 5:03 pm #1538271max
is it cause we use sucuri plugin
that make our code didn’t appear on our site?November 19, 2020 at 5:11 pm #1538283Leo
StaffCustomer Supportis it cause we use sucuri plugin
Do you mean security plugin?
If so that is likely the case.
December 3, 2020 at 5:34 pm #1566614max
hello, my breadcrumb still didn’t appear until now
please help us to solve this issuei didn’t understand to solve this issue based on link that you share here
https://docs.generatepress.com/article/disallow-php-execution/December 3, 2020 at 11:08 pm #1566775max
hello please respond my issue
still waiting until nowDecember 4, 2020 at 9:04 am #1567534David
StaffCustomer SupportHi 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:
December 6, 2020 at 7:31 pm #1569804max
thank you very much
we add via function.php in child themebut how to adjust the font size for this breadcrumb
we want to make it smaller?December 6, 2020 at 8:37 pm #1569824Elvin
StaffCustomer SupportHi,
You can adjust the font size with this CSS:
nav.rank-math-breadcrumb p { font-size: 22px; }December 6, 2020 at 11:54 pm #1569958Nitin
Hi,
How to add these breadcrumbs in Header-hero, just below the title?December 7, 2020 at 1:12 am #1570036Elvin
StaffCustomer SupportHi,
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.
December 7, 2020 at 1:35 am #1570054Nitin
Hi Elvin,
I add the PHP code to the header element’s code area, still, it is not showing there.December 7, 2020 at 2:12 am #1570076Elvin
StaffCustomer SupportHi 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.
-
AuthorPosts
- You must be logged in to reply to this topic.