• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2966

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Subscriptions
  • Access
  • Log in

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 :

Register for full access

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Code written by Brad Dalton specialist for Genesis & WooCommerce.

Advertise · WPEngine · Genesis · Log in

  • Account
  • Consulting
  • Post Tags
  • Contact
  • Terms
  • Monthly Membership
  • Yearly Subscriptions
  • Log in