I currently have conditionals setup to show my advertisements between the 2nd and 3rd post of each thread. However, I would like to change this, so the advertisement is placed between the last and second to last post of each thread.
i.e.
If a thread has one post, no ads are shown.
If a thread has three posts, ad is placed between 2nd and 3rd post
If a thread has 100 posts, ad is placed between 99th and 100th post.
Anyone have an idea how I can do this?
i.e.
If a thread has one post, no ads are shown.
If a thread has three posts, ad is placed between 2nd and 3rd post
If a thread has 100 posts, ad is placed between 99th and 100th post.
Anyone have an idea how I can do this?
Comment