4 Ways To Execute Code After Any Number of Posts On Paginated Archive Pages

Writing code which executes after a specific number of posts on any number of paginated archive pages in Genesis is tricky.

This tutorial contains 4 code snippets which enable you to :

  1. Execute code after any number of posts on the 1st paged archive only. Only executes after 1 specific post.
  2. Execute code after any number of posts on the 1st page only of any archive. Executes after every post.
  3. Execute code after any number of posts on the all paginated archive pages.
  4. Execute code after any number of posts on the 1st paginated archive and execute on all posts on archive page 2 and greater.

Here’s the 4 code snippets :

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.