Support » Plugin: Page-list » Please – would like to add read more link

  • Resolved rusty1001


    Hi Thanks for the plugin, great plugin

    Sorry I see I posted to a resolved post, but not really resolved..

    like other people I would like this because on the site it looks weird with it hanging, in this websites case the SEO is not as important as the site looking good..

    $content = mb_substr($content, 0, $first_space_pos, ‘UTF-8’) . ‘…’;

    I would like to know how I replace the … with a link to the page..


Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, you can change the line to `}
    $content = mb_substr($content, 0, $first_space_pos, ‘UTF-8’) . ‘<a href=’.$content.’> read more </a>’;

    Of course you can change the text ‘read more’ to whatever you like.

    Thank you! Solved that –
    I had actually copied the code that created the title/link and changed the title call to ‘read more’ and then put under the code for this, but this works better.


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Please – would like to add read more link’ is closed to new replies.