Adding code to bottom of posts

Posted in: Newspaper
Post count: 25

Hello! Wondering if you could help me add a bit of code to my posts. Here’s what I want to do …

I have a ZergNet content sharing account. I would like to add the Zergnet code so that it appears on the bottom of every post on my site, after the post content and before the comments, like in the highlighted area in this image example .

Where do I place the code for this to happen? Thanks! Still loving the theme.

  • This topic was modified 12 years by mikeaft.
Post count: 3343

Hello,
What code you want to add? can you show me the code?
You have to add the code here: http://screencast.com/t/jzsjNlctnAub

We will release v3 of the theme that will have single.php more familiar about code and will be more easily to be added.

Thanks for the message!

Post count: 25

Thanks for your quick response, Marius. I tried adding the code as you illustrated, but it does not work. Here is the code I need to add. Any thoughts?

<div id=”zergnet-widget-17050″ style=”text-align:center;”></div>

<script language=”javascript” type=”text/javascript”>
(function() {
var zergnet = document.createElement(‘script’);
zergnet.type = ‘text/javascript’; zergnet.async = true;
zergnet.src = ‘http://www.zergnet.com/zerg.js?id=17050&#8217;;
var znscr = document.getElementsByTagName(‘script’)[0];
znscr.parentNode.insertBefore(zergnet, znscr);
})();
</script>

Post count: 3343

Hello,
The code is not right formatted, try this code:
<div id="zergnet-widget-17050" style="text-align:center;"></div>

like here: http://screencast.com/t/G46qiPwXKpRZ

If not work please what for v3.
Thanks!

Post count: 25

Thanks, Marius. I haven’t tried your new code yet, since I just updated. I will try this week.

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.