Title: need support
Last modified: August 21, 2016

---

# need support

 *  Resolved [Akumar9](https://wordpress.org/support/users/akumar9/)
 * (@akumar9)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/need-support-3/)
 * hi,
 * i have author based website and using your theme.it’s really great
 * but i am facing a problem
 * please help me ( because i am not a coding expert )
 * i want to install two plugin with your theme but both plugins not working properly
   because of code placing error.
 * but it’s important for us because i want to share profit with Authors.
 * And both plugins are perfect solution for this
 * WP eBay Ads – [http://wordpress.org/plugins/wp-ebay-ads/installation/](http://wordpress.org/plugins/wp-ebay-ads/installation/)
 * Step : 1) You can also get the listings by placing the following code in your
   template file for your single post. Usually called single.php. Place it inside
   the loop. I like to place it right after the_content tag.
 * <?php if(function_exists(‘wp_ebay_ads’)) {wp_ebay_ads($post->ID);}?>
 * AND…
 * WP Amazon Ads – [http://wordpress.org/plugins/wp-amazon-ads/installation/](http://wordpress.org/plugins/wp-amazon-ads/installation/)
 * Step 1: You can also get the listings by placing the following code in your template
   file for your single post. Usually called single.php. Place it inside the loop.
   I like to place it right after the_content tag.
 * <?php if(function_exists(‘wp_amazon_ads’)) {wp_amazon_ads($post->ID);}?>
 * i am trying to install both plugins but not success because of code placing error.
 * please help me to add the code of WP eBay Ads & WP Amazon Ads
 * 1.Where to add & how to add
 * 2.File Name with placing area

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Theme Author [heatmap](https://wordpress.org/support/users/stuartwider/)
 * (@stuartwider)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/need-support-3/#post-4405063)
 * If you look closely at the theme file in single.php you will see that the theme
   uses hooks.
    Each hook calls a function. In particular…
 * add_action(‘heatmapthemead_single_posts_hook’, ‘heatmapthemead_the_content’);
 * So you could either…
    edit heatmapthemead_the_content() which can be found in/
   inc/theme-tags.php
 * or hook a function containing your calls to ebayads/amazonads after the line 
   above.
 * `add_action('heatmapthemead_single_posts_hook', 'your_stuff');`
 * and add your_stuff() to /inc/wp-tweaks.php
 * with your_stuff() containing something like…
 *     ```
       function your_stuff () {
       global $post;
       if(function_exists('wp_ebay_ads')) {wp_ebay_ads($post->ID);
       if(function_exists('wp_amazon_ads')) {wp_amazon_ads($post->ID);}
       }
       ```
   
 *  Thread Starter [Akumar9](https://wordpress.org/support/users/akumar9/)
 * (@akumar9)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/need-support-3/#post-4405125)
 * hi, thanks for your support
 * i am trying to add but facing problem ( because i am not an code expert like 
   code developer like you )
 * please help me
 * May you setup the code within /inc/wp-tweaks.php file and also add hook in hook
   file and i will replace the file with new one.
 * Plugin Name:
 * WP eBay Ads
    WP Amazon Ads
 * Our need amazon ads display only below the post
 * and ebay ads display only above the post.
 * Again, Thank for your support and please help us.
 * Thank you very much,
    Ashish

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘need support’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/heatmap-adaptive/1.5.3/screenshot.
   png)
 * HeatMap AdAptive
 * [Support Threads](https://wordpress.org/support/theme/heatmap-adaptive/)
 * [Active Topics](https://wordpress.org/support/theme/heatmap-adaptive/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/heatmap-adaptive/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/heatmap-adaptive/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Akumar9](https://wordpress.org/support/users/akumar9/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/need-support-3/#post-4405125)
 * Status: resolved