Code to be shown only in the first load
-
So, I’m using this nice plugin for my news website, in the category pages. I need to put DoubleClick Google banners between the post teasers. I added the code to the repeater.
Point is I want to load them only the “first time”. I want them not to be loaded when the plugin “loads more” posts.
But, being ajax, every load is simultaneous, so I cannot use php vars to check it.
What can I do? I do not know how to use ajax. Is there a way to store a variable and check it in order not to load the banners the second, third, fourth, etc.. time around?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Code to be shown only in the first load’ is closed to new replies.