+ Reply to Thread
Results 1 to 7 of 7
-
06-08-2012 03:29 PM #1
WORDPRESS: Performance Ads plugin
update 1/10/13
This plugin has been replaced with the Prosperent Wordpress Suite: http://community.prosperent.com/show...nks-AutoLinker)
-
06-08-2012 04:33 PM #2Junior Member
- Join Date
- Apr 2011
- Posts
- 28
Exactly what I needed. Thanks!
-
06-15-2012 07:28 AM #3Member
- Join Date
- May 2011
- Posts
- 35
I have WP 3.4 Multisite and I tried on Theme Twenty Eleven and it broke the page.
I added the code above the footer, if I interpreted it right. And yes my ID is there but I see no way to set up an ad dimension. There's no instructions on putting in the javascript code, unless that's not needed.
-
06-15-2012 08:27 AM #4Administrator
- Join Date
- May 2011
- Posts
- 121
The JavaScript is in the performance-ads.php. All you need to do is follow the installation instructions and place <?php if(!$show_ads){ performance_ads(); $show_ads = 1; } ?> and <?php performance_ads(); ?> into your code where appropriate according the directions.
To add the performance ad after the first post on each page- a.) Go into your themes directory and open index.php. Add <?php if(!$show_ads){ performance_ads(); $show_ads = 1; } ?> after <?php while ( have_posts() ) : the_post(); ?> and before the <?php endwhile; ?>.
To add the performance ad to each post's page, before the comment section- b.) Go into your themes directory and open content-single.php. Add <?php performance_ads(); ?> after <?php endif; ?> and before </footer><!-- .entry-meta -->.
Let me know if you need any help with that.
-
06-15-2012 02:43 PM #5Member
- Join Date
- May 2011
- Posts
- 35
I hope someone reports it here. I use a different template and it doesn't have content-single.php (but I'll give it a try with a default template).
-
06-15-2012 03:08 PM #6Administrator
- Join Date
- May 2011
- Posts
- 121
Which template do you use. I'll see if I can figure it out for you.
-
11-29-2012 11:09 AM #7Administrator
- Join Date
- May 2011
- Posts
- 121
Updated to V1.1. There are now Performance Ad widgets for the footer and the sidebar with accompanying options.

Reply With Quote