Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1098477
    mwfallon
    Participant

    Hi,

    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,
    Mark

    #1098560
    Joao
    Moderator

    Hi 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

    #1098605
    mwfallon
    Participant

    Hi Joao,

    Thanks, but I don’t want to link to an external link, just change the text please.

    Mark

    #1098680
    Darshana
    Moderator

    Hi there,

    Please use the following JavaScript code instead.

    
    jQuery(document).ready(function($){
      $('.featured-view').html("Read More");
    });
    

    Hope that helps.

    #1098703
    mwfallon
    Participant

    Hi,

    That works for category the slider but not for the posts below the slider.

    http://friendsoffriendlesschurches.org.uk/category/monuments/

    Thanks

    #1098887
    Nabeel A
    Moderator

    Hi 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!

    #1098995
    mwfallon
    Participant

    Brilliant, that worked perfectly. Many thanks

    #1099001
    Nabeel A
    Moderator

    Glad we could help.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1098477 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>