This topic contains 3 replies, has 2 voices, and was last updated by
- July 26, 2018 at 2:04 pm #18784Participant
I’ve got a question:
I made different pages with the same name but under a different parent page. For example:
Now, when I search ‘Support’ I get double results saying ‘support’. It would be nice that it would show as: education > support or certification > support
I see this is on the documentation page search but I can’t find the option and don’t know if this is possible for page hierarchy but I do hope this could be possible.
Looking forward to your reply,
DirkJuly 27, 2018 at 11:51 am #18794Keymaster
I believe the easiest solution would be to use a custom code to get the parent post title, then add it to the child post.
Add this custom code to the functions.php in your theme/child theme directory (copy from line 3 only!). Before editing, please make sure to have a full site back-up just in case!
This will add the parent page title before the child title in Parent > Child format.Best,
If you like my products, don't forget to rate them on codecanyon :)
July 30, 2018 at 12:25 pm #18821Participant
Thanks for your detailed reply. I’ve tested it and I works.
I thank you for this fix! 😀
DirkJuly 30, 2018 at 4:53 pm #18826
You must be logged in to reply to this topic.