WordPress.org

Ready to get started?Download WordPress

Forums

Embed element in last wordpress post? (2 posts)

  1. thecreativeguy
    Member
    Posted 3 years ago #

    There's hacks everywhere on how to add certain elements to the first post, but how do you add on the last post without changing:

    <?php if ($count == 1) : ?> the count #

    Is Is it possible?

  2. security_man
    Member
    Posted 3 years ago #

    not sure i follow you, but why not change it to if ($count==[posts_per_page])?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags