Blog READ MORE link

Homepage Community Forums Aspire Theme Support Blog READ MORE link

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #19104
    mtibesar
    Customer

      How do I change my blog’s [Read more…] link to read [Read full article] please?

      Thank you very much for the very nice theme – well done!

      Marcus
      https://www.tcmmobilenews.org

      #19107
      Andykev
      Customer

        Look in your portfolio (page_portfolio.php) funchtions…

        Something like this:

        // Custom Read More link
        add_filter( 'excerpt_more', 'portfolio_read_more_link' );
        add_filter( 'get_the_content_more_link', 'portfolio_read_more_link' );
        add_filter( 'the_content_more_link', 'portfolio_read_more_link' );
        	function portfolio_read_more_link() {
        		return '<a class="button more-link" href="' . get_permalink() . '" rel="nofollow">Read More</a>';
        }<!--formatted--><!--formatted-->

        The LAST LINE >Read More< is the text to change. So you can make it >Read full article<

        #19108
        mtibesar
        Customer

          Unfortunately that did not work.

          The link still reads as [Read more…]

          I checked the results in another browser to no avail

          the URL is

          https://www.tcmmobilenews.org/mobilenews

          Thank you!

          #19109
          Andykev
          Customer

            In looking at your link, you are dealing with posts, not portfolio. Same solution,
            but do it in functions.php

            similar to this.

            //* Modify the Genesis content limit read more link
            add_filter( 'get_the_content_more_link', 'epik_read_more_link' );
            function epik_read_more_link() {
            	return '... <p><a class="more-link" href="' . get_permalink() . '">Read More →</a></p>';
            }

            It is in TWO places in your theme, one in functions.php, the other in page_portfolio.php

            #19110
            Eric
            Customer

              Here’s a tutorial link on how to change the Read More text – http://my.studiopress.com/snippets/post-excerpts/#content-more-link


              I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

              #19111
              mtibesar
              Customer

                Thank you Eric. That studiopress tutorial worked.

                Hi Andy. I’m not sure but, I believe your answer is for the Epik theme. I am using the Aspire theme. Thank you for your help.

              Viewing 6 posts - 1 through 6 (of 6 total)
              • You must be logged in to reply to this topic.