• Hello,

    I would like a particular script for a widget to appear after the content, but before the related post plugin of each post. I tried to take the easy way out and use TS Ad slayer plugin (even though the script is not for an ad) to insert the script but it’s not going as I hoped. The thing is I need it to appear in each post body (I have over 900 posts), but not page bodies (4 total) which it does with TS plugin. So my question(s) is what do I edit and what code function would I write so that the script appears in each post body, but is disable in page bodies?

    I would greatly appreciate any help.

    Thanks

Viewing 1 replies (of 1 total)
  • Can you just manually add the code for the script to your single.php file? Seems like the easiest most obvious solution.

Viewing 1 replies (of 1 total)
  • The topic ‘Getting Script to Repeat in Posts but Not Pages’ is closed to new replies.