WordPress.org

Ready to get started?Download WordPress

Forums

Hide Post Footer Code When Using Page Break (3 posts)

  1. cableghost
    Member
    Posted 3 years ago #

    Is it possible to hide the content of a post footer on any page that has a Page Break?

    I would like the post footer content appear only at the bottom of the last page of the post.

    -Scott

  2. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    <?php if($page==$numpages) { /*post footer content code here;*/ } ?>

    $page and $numpages are global wordpress variables

  3. cableghost
    Member
    Posted 3 years ago #

    @alchymth, thank you, I will give that a try, and report results.

    -Scott

Topic Closed

This topic has been closed to new replies.

About this Topic