Iam using rankmath and I would like to add breadcrumb to my website and they reply to use the shortcode and paste it on the functions.php file and I am worrying if use to paste it then GP updates will revert it, So If I use the child theme then how do I use this file, I am new to its steps?
1. Create a new Hook in Appearance > Elements
2. add your shortcode in the text area,
3. select the hook for where you want it display in your posts – the doc above has a link to a visual guide of hooks positioning.
4. Set the Display Rules to the post / pages etc that you want it to be displayed.