Support » Plugins » Hacks » Is There a More Tag Possibility for Pages?

  • Resolved chaseman

    (@chaseman)


    The theme I’m developing has blurbs on the front page, and the user can simply add those blurbs by creating a page. Now I want the user to decide where to break up the blurb with a “read more” button. And when a visitor clicks on the button he gets led to the page with the full content.

    I know I can achieve something similar with get_the_excerpt, though I’d like the user to decide where to break off the page content.

Viewing 1 replies (of 1 total)
  • Ok I found it out, for everybody who is interested:

    <?php global $more;
    	  $more = false;
    	  echo get_the_content('Read more'); ?>

    Set the global $more to false before fetching the content.

Viewing 1 replies (of 1 total)
  • The topic ‘Is There a More Tag Possibility for Pages?’ is closed to new replies.