Hi guys,
on the related posts at the bottom of each blog page it says “You might also like” can we change this? Ideally with a script to child theme functions.php so it doesn’t get overwritten with an update?
Hey bobfurgo,
Please have a look at the following thread:
https://kriesi.at/support/topic/change-the-text-of-you-might-also-like/#post-208937
You can copy the file to the child theme and make your changes there.
If you need further assistance please let us know.
Best regards,
Victoria
ahh sorry i’m not so good with this kind of stuff. so I copy related-posts.php to the child theme and edit there?
Hi,
Yes, you can create a duplicate of the file, put it in the child theme directory, then do the changes that you’d like to commit. Let us know if you need further help.
Best regards,
Ismael
hi! I copied the file to the child theme, changed to Related Posts but i don’t think it worked.
Hi,
Sorry for the late reply, try to create an “includes” folder via ftp in your child theme directory and copy the modified related-posts.php into this folder – i.e. the file path should look like: wp-content/themes/enfold-child/includes/related-posts.php
I modified your parent file with “related posts” small caps to ensure this solution still works, once your child theme file takes over the words will be capitalized.
Best regards,
Mike
THANK YOU!
Hi,
I see that your “related posts” is capitalized so I take it that creating an “includes” folder and moving the modified related-posts.php into it solved this, unless there is anything else we can help with on this issue, shall we close this then?
Best regards,
Mike
yes please close thanks!
Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.
For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)
Best regards,
Mike