I am using this code to display a ad in between content's area for articles older than a day:
Now the issue which is arising is, the pagination in between the content area is getting messed up, i.e. if I use <!--nextpage--> then its getting displayed below the whole content and same content repeats on every sub-page.
Could you please tell me a workout of this, so the code as well pagination inside content area works?
Any help would be highly appreciated. Thank you.