• I am trying to customize the […] that shows at the end of the post excerpt. Even though in my widgets for that section I have set the “More text [if applicable” to “[Read More…]”, all I see is […], and it’s also not a hyperlink. How can I adjust this to show “[Read more]” and make it a hyperlink to the post. It is confusing to the reader as is.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hello,

    If the theme does not provide such option, then it requires custom scripts.

    (function($) {
      $(document).ready(function() {
        $('.widget-wrap article').each(function() {
          var url = $(this).find('.entry-title a').attr("href");
          var readMore = '<a href="' + url + '">[Read More]</a>';
          var text = $(this).find('.entry-content p').html().replace("[…]", readMore);
          $(this).find('.entry-content p').html(text);
        });
      });
    })(jQuery);

    Try adding the scripts to your theme or use a code snippet plugin, such as WPCode, to add the scripts.

    hope this helps you.

Viewing 1 replies (of 1 total)
  • The topic ‘How to Customize […] in posts excerpt’ is closed to new replies.