Tagged: x
-
AuthorPosts
-
July 22, 2016 at 6:20 am #1098477
mwfallonParticipantHi,
I would like to change the text that reads ‘View Post’ in category aggregations to ‘Read More’
E.g http://friendsoffriendlesschurches.org.uk/category/box-pews/
Thanks,
MarkJuly 22, 2016 at 8:03 am #1098560
JoaoModeratorHi Mark,
Thanks for writing in! To change the text and link it to external link, just add the following jQuery script via Appearance > Customize > Custom > Javascript
jQuery(document).ready(function($){ var link = "http://theme.co/x/"; $('.featured-view').html("ead More").wrap('<a href="'+link+'"></a>'); });Don’t forget to change the link and “Your Custom Text” in the script. When added please clear your browser’s cache and check the page.
Let us know how this goes!
Joao
July 22, 2016 at 8:46 am #1098605
mwfallonParticipantHi Joao,
Thanks, but I don’t want to link to an external link, just change the text please.
Mark
July 22, 2016 at 9:56 am #1098680
DarshanaModeratorHi there,
Please use the following JavaScript code instead.
jQuery(document).ready(function($){ $('.featured-view').html("Read More"); });Hope that helps.
July 22, 2016 at 10:27 am #1098703
mwfallonParticipantHi,
That works for category the slider but not for the posts below the slider.
http://friendsoffriendlesschurches.org.uk/category/monuments/
Thanks
July 22, 2016 at 12:38 pm #1098887
Nabeel AModeratorHi again,
Please replace the previous given code with this one:
jQuery(document).ready(function($){ $('.featured-view, a.entry-thumb .view').html("Read More"); });Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!
July 22, 2016 at 1:54 pm #1098995
mwfallonParticipantBrilliant, that worked perfectly. Many thanks
July 22, 2016 at 1:58 pm #1099001
Nabeel AModeratorGlad we could help.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1098477 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
