[Support request] read more button for static home page

Home Forums Support read more button for static home page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #329328
    Mary

    I have a Static front page into which I am able to ‘insert a read more tag’. The —– More — shows up in the editor but it does not show up in the published page.
    I understand that the read more tag in wordpress is essentially for posts and I found some php code that might resolve this but I can’t figure out where to put it. I have Code Snippets but the comment in the code is confusing to me. Can you help?
    Thanks
    Code:
    <?php
    2 global $more;
    3 $more = 0;
    4 ?>
    5 //The code must be inserted ahead of the call to the content
    6  
    7 <?php the_content(‘Continue Reading’); ?>

    GeneratePress 1.3.46
    #329392
    Tom
    Lead Developer
    Lead Developer

    For static pages, you would need to use <!--nextpage-->

    That will essentially split your static pages into multiple pages.

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