Tagged: x
-
AuthorPosts
-
July 29, 2016 at 7:10 pm #1109549
Pollito69ParticipantHello,
I use Ethos 1 and woocommerce and I love it. Earlier you helped me to change the button text that is in the post slider area. Great.
Now I noticed that I need to do the same to the section where the posts are. Please see the attachment.
The (top) post slider button text is fixed and displays “Learn More” but the section below where all the posts are still display “View Post” when the user hovers mouse over the image. I would like to change the “View Post” to “Learn More”. Please see the attachment. Sorry about my bad drawing abilities.I assume that I need to put a new JavaScript in my Customize –> Custom area? Could you help me with the script I need, please.
Here is the link to my site:
http://staging.uniquegiftsandart.com/wp-admin/Thank you!
July 29, 2016 at 10:20 pm #1109784
Rue NelModeratorHello There,
Thanks for writing in! To resolve this issue, please insert this following code in your child theme’s functions.php file.
// Change "View Post" to "Learn More" // ============================================================================= function change_viewpost_text($translated) { $translated = str_ireplace('View Post', 'Learn More', $translated); return $translated; } add_filter('gettext', 'change_viewpost_text' ); // =============================================================================This code will change all the occurence of “View Post” to “Learn More”.
We would loved to know if this has work for you. Thank you.July 30, 2016 at 12:18 am #1109843
Pollito69ParticipantYes, it is working. Thank you!
July 30, 2016 at 12:38 am #1109857
RadModeratorYou’re welcome!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1109549 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
