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

WP SITES

2662

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

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

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems