WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
How to duplicate page.php? (4 posts)

  1. sw5813
    Member
    Posted 1 year ago #

    Hi,

    When I activated woocommerce for my website, I was notified that it wasn't compatible with the theme I'm using. I then clicked on the link with further instructions, and it told me to first duplicate page.php- exactly how do I go about doing this? Under Appearance > Editor, I don't see any options for creating a new template, and when I create a new page, there is no "Custom" option.

    Thanks!

    http://wordpress.org/extend/plugins/woocommerce/

  2. bheadrick
    Member
    Posted 1 year ago #

    you can't do that from the wp dashboard, you have to do it via ftp.

  3. sw5813
    Member
    Posted 1 year ago #

    Oh okay, I'm very new to this whole process though- how do I ftp?

  4. sw5813
    Member
    Posted 1 year ago #

    Never mind about my question on how to ftp, I figured it out after lots of googling! However, I've run into another issue: there is no "loop" that this website http://docs.woothemes.com/document/third-party-custom-theme-compatibility/ refers to in my page.php. My theme's page.php looks like this:

    <?php
    /**
     * @package WordPress
     * @subpackage Beauty & Clean
     * @since 1.0
     */                        
    
    get_header() ?>    
    
            <div class="layout-<?php echo yiw_get_layout_page() ?>">
    
                <!-- START CONTENT -->
                <div id="content">
                    <?php get_template_part( 'loop', 'page' ) ?> 
    
                    <?php comments_template() ?>
                </div>
                <!-- END CONTENT -->
    
                <?php get_sidebar() ?>
    
            </div>   
    
            <!-- START EXTRA CONTENT -->
    		<?php get_template_part( 'extra-content' ) ?>
            <!-- END EXTRA CONTENT -->
    
            <div class="line clear"></div>        
    
    <?php get_footer() ?>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    Thanks in advance for your help!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic