-
AuthorPosts
-
May 14, 2020 at 5:48 pm #1212990
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?
May 15, 2020 at 6:02 pm #1213362Hey bobfurgo,
Please have a look at the following thread:
https://kriesi.at/support/topic/change-the-text-of-you-might-also-like/#post-208937You can copy the file to the child theme and make your changes there.
If you need further assistance please let us know.
Best regards,
VictoriaMay 15, 2020 at 6:28 pm #1213374ahh sorry i’m not so good with this kind of stuff. so I copy related-posts.php to the child theme and edit there?
May 21, 2020 at 12:24 pm #1214972Hi,
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,
IsmaelMay 21, 2020 at 2:39 pm #1215009hi! I copied the file to the child theme, changed to Related Posts but i don’t think it worked.
May 24, 2020 at 2:50 am #1215627Hi,
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,
MikeMay 24, 2020 at 2:36 pm #1215770THANK YOU!
May 24, 2020 at 3:25 pm #1215780Hi,
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,
MikeMay 24, 2020 at 3:59 pm #1215799yes please close thanks!
May 24, 2020 at 5:55 pm #1215834Hi,
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 -
AuthorPosts
- The topic ‘change "You might also like" to "related posts"’ is closed to new replies.
