you don’t need if/else on the counter, just check if $count == 3
or 5
to inject a sticky post, insert a regular post in every iteration of the loop, and increment the counter at the bottom.
you don’t need if/else on the counter, just check if $count == 3
or 5
to inject a sticky post, insert a regular post in every iteration of the loop, and increment the counter at the bottom.