-
Hi, I need some help for the breadcrumbs. I understand that I have to paste in the [rank_math_breadcrumb] shortcode into my post. I also know I have to add to paste in custom code snippet into my theme’s functions.php file if I want to customize the breadcrumbs.
Here are my questions.
1) Currently the breadcrumbs is like ‘Home >> Parent Category >> My Post’.
I want the path to become:
‘Home >> Static Page A >> My Post’, such that the URL is changed to Static Page A’s URL too.2) Similarly with reference to point 1, for current breadcrumbs like ‘Home >> Parent Category >> Sub Category >> My Post’.
I want the path to become:
‘Home >> Static Page A >> Static Page B >> My Post’, such that the URL is changed to Static Page A and Static Page B respectively.3) Are the above 2 points achievable? Do I need to create different shortcodes other than the standard [rank_math_breadcrumb]? Because different posts may have different paths.
In this case I may need something like the array_splice function? Would really appreciate if you can help to provide the entire code snippet. Thank you!
Regards,
Daniel
The ticket ‘Customization of Breadcrumbs’ is closed to new replies.