Where is the loop?!
-
I feel like I’m going crazy. Where is the main loop file?
I thought it was index.php but then I realised that even deleting everything in that file wouldn’t change how my site loaded.
I’ve made modifications to the output of the loop by modifying content-home.php but I want to insert a banner using the following code
if ($count == 1){ echo adrotate_ad(12); } if ($count == 2){ echo adrotate_ad(106); } $count++;
But can’t figure out where to put it?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Where is the loop?!’ is closed to new replies.