Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter Rhand

    (@rhand)

    @ Mike Schinkel I want to be able to use the WordPress <–more–> on pages using the wysiwyg editor. I have managed to make the read more tag show on a page with the code indicated above. Only now the read more link does NOT work. I goes back to the same page, but keeps on hiding the rest of the text which makes the read more tag a useless. I am considering using the_excerpt() function now as I seem not to be able to solve this.

    Thread Starter Rhand

    (@rhand)

    I tried the excerpt function on the page to show a link to the rest of the content on the page using the_excerpt() function <?php the_excerpt(); ?> on the page and a filter in the functions.php:

    function new_excerpt_more($more) {
    return ' 	<a href="'. get_permalink($post->ID) . '">' . 'Lees de rest van deze pagina...' . '</a>';
    
    }
    add_filter('excerpt_more', 'new_excerpt_more');

    It created a link going to the exact same page, but did not reveal the rest of the page’s content.

    Thread Starter Rhand

    (@rhand)

    Well solved it by creating links in the tinymce editor. Links that go to child pages that are hidden from the menu. Not the greatest solution, but it works

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Read More link leads nowhere on page’ is closed to new replies.