Forums

Embed element in last wordpress post? (2 posts)

  1. thecreativeguy
    Member
    Posted 9 months 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 9 months ago #

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

Reply

You must log in to post.

About this Topic

Tags