Announcement

Collapse
No announcement yet.

Get the post number (per page not thread)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Get the post number (per page not thread)

    In the $post array, is the variable for current displayed post number available?

    For example, Post 4 on page one, would return a 4 - but post 14 on page two would also return 4 (Assuming 10 posts per page).

    Working on the Adsense code after first and last post, but don't want it to do the last one if there are on two posts in the thread (ie: post,ad,post,ad) as it looks messy.

  • #2
    Actually wondering if there is also a possible reverse to this situation, so if there are on two posts on the page, it won't show after the first one ....

    Comment

    Loading...
    Working...
    X