Title: Theme integrations
Last modified: August 22, 2016

---

# Theme integrations

 *  [PixelOne](https://wordpress.org/support/users/pixelone/)
 * (@pixelone)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/theme-integrations/)
 * Hello,
 * Below is my theme page.php file. Where should i put the: <?php content_product_adder();?
   > in the new product-adder.php file?
 *     ```
       <?php
       /*
       This file is part of HeatMap Theme AdAptive
       See license.txt (distributed with this file) for details of
       license, contributors, copyright notices, credits and trademarks.
       */
   
       get_header();
   
       // CONTENT HOOK
       add_action('heatmapthemead_the_content_hook', 'heatmapthemead_the_loop');
   
       	// THE LOOP HOOK
       	add_action('heatmapthemead_the_loop_hook', 'heatmapthemead_single_post');
       		// SINGLE POSTS HOOK
       		add_action('heatmapthemead_single_posts_hook', 'heatmapthemead_widget_position_blogabove');
       		add_action('heatmapthemead_single_posts_hook', 'heatmapthemead_widget_position_postinline');
       		add_action('heatmapthemead_single_posts_hook', 'heatmapthemead_single_post_header');
   
       		add_action('heatmapthemead_single_posts_hook', 
   
       'heatmapthemead_widget_position_postincontent');
       		add_action('heatmapthemead_single_posts_hook', 'heatmapthemead_the_content');
       		// add_action('heatmapthemead_single_posts_hook', 'heatmapthemead_like_buttons');
   
       		add_action('heatmapthemead_single_posts_hook', 'heatmapthemead_widget_position_postbelow');
       		add_action('heatmapthemead_single_posts_hook', 'heatmapthemead_comments');
   
       	// POST LOOP HOOK
       	add_action('heatmapthemead_the_post_loop_hook', 'heatmapthemead_the_loop_errors');
   
       add_action('heatmapthemead_the_content_hook', 'heatmapthemead_widget_position_blogbelow');
       add_action('heatmapthemead_the_content_hook', 'heatmapthemead_content_nav');
   
       get_sidebar();
       get_footer();
   
       get_template_part( 'unhook' );
       get_template_part( 'unhook-custom' );
       get_template_part( 'render' );
       ?>
       ```
   
 * [https://wordpress.org/plugins/ecommerce-product-catalog/](https://wordpress.org/plugins/ecommerce-product-catalog/)

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

 *  Plugin Author [ndre](https://wordpress.org/support/users/ndre/)
 * (@ndre)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/theme-integrations/#post-5500060)
 * Hi PixelOne,
 * It seems that your theme requires some advanced integration (it doesn’t use a
   standard loop in the page.php file).
 * It is impossible to do it 100% right looking only in your page.php file becanuse
   it is full of hooks. I should review all theme files to make it 100% accurate.
 * I can only make a guess based on the hook and functions names. Please try:
 *     ```
       <?php
       /*
       This file is part of HeatMap Theme AdAptive
       See license.txt (distributed with this file) for details of
       license, contributors, copyright notices, credits and trademarks.
       */
   
       get_header();
   
       // CONTENT HOOK
       add_action('heatmapthemead_the_content_hook', 'heatmapthemead_the_loop');
   
       	content_product_adder();
   
       add_action('heatmapthemead_the_content_hook', 'heatmapthemead_widget_position_blogbelow');
       add_action('heatmapthemead_the_content_hook', 'heatmapthemead_content_nav');
   
       get_sidebar();
       get_footer();
   
       get_template_part( 'unhook' );
       get_template_part( 'unhook-custom' );
       get_template_part( 'render' );
       ?>
       ```
   
 *  Thread Starter [PixelOne](https://wordpress.org/support/users/pixelone/)
 * (@pixelone)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/theme-integrations/#post-5500068)
 * Didn’t work, thanks for trying 🙂

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

The topic ‘Theme integrations’ is closed to new replies.

 * ![](https://ps.w.org/ecommerce-product-catalog/assets/icon-128x128.png?rev=1103243)
 * [eCommerce Product Catalog Plugin for WordPress](https://wordpress.org/plugins/ecommerce-product-catalog/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ecommerce-product-catalog/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ecommerce-product-catalog/)
 * [Active Topics](https://wordpress.org/support/plugin/ecommerce-product-catalog/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ecommerce-product-catalog/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ecommerce-product-catalog/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [PixelOne](https://wordpress.org/support/users/pixelone/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/theme-integrations/#post-5500068)
 * Status: not resolved