theme integration – added product-adder.php
-
I am using WP Theme Business Pro and my product and catalog pages are not displaying correctly. So I copied down the page.php and renamed it per your instructions. I did not see the loop as per your examples, but “think” I have figured it out. However, when I replaced the line of PHP the page is still not displaying correctly. I have tried several variations (PHP line only, wrapping it in divs, etc.), but stil no success.
So help appreciated. I have copied below the original page.php code here:
<?php
/**
* Page Template
*
* Please do not edit this file. This file is part of the Cyber Chimps Framework and all modifications
* should be made in a child theme.
*
* @category CyberChimps Framework
* @package Framework
* @since 1.0
* @author CyberChimps
* @license https://www.opensource.org/licenses/gpl-license.php GPL v3.0 (or later)
* @link https://www.cyberchimps.com/
*/get_header(); ?>
<?php do_action( ‘cyberchimps_before_container’); ?>
<?php do_action( ‘cyberchimps_page_content’ ); ?>
<?php do_action( ‘cyberchimps_after_container’); ?>
<?php get_footer();
function cyberchimps_page_display(){
}
?>AND my current version of product_adder here:
<?php
/**
* Page Template
*
* Please do not edit this file. This file is part of the Cyber Chimps Framework and all modifications
* should be made in a child theme.
*
* @category CyberChimps Framework
* @package Framework
* @since 1.0
* @author CyberChimps
* @license https://www.opensource.org/licenses/gpl-license.php GPL v3.0 (or later)
* @link https://www.cyberchimps.com/
*/get_header(); ?>
<?php do_action( ‘cyberchimps_before_container’); ?>
<div id=”container-full-width”>
<div class=”container-fluid”>
<div id=”container” class=”row-fluid”>
<div id=”content” class=”span12″>
<?php content_product_adder(); ?>
</div>
</div>
</div>
</div>
<?php do_action( ‘cyberchimps_after_container’); ?>
<?php get_footer();
function cyberchimps_page_display(){}
?>AND HERE are link to my 1st product page:
https://76.162.166.191/products-2/spiralite-110/
catalog page:
https://76.162.166.191/products-2/Want it to sit in a full wide page like: https://76.162.166.191/category/brochures/
Please help.
- The topic ‘theme integration – added product-adder.php’ is closed to new replies.