• Okay let me see if I can explain this in a way it makes sense..

    I made a page and used a page template that provides a bunch of page sections for me to place widgets (there were 3 other templates to choose from but this was the only one in the drop down that provided what I was looking for). So I used this template on one page, customized it, and moved on to the next page. The next page I wanted to use the same template with those customization options for different sections of the page. So I selected that template again and created the page. When I went to the new page, everything I had customized from the previous page was now on this new page (basically, it was an exact clone of the first page I was working on).

    What I wanted was to start with a blank slate with the same customization options of different sections and widgets. How can I make this happen?

    The theme I am using is called Applique by Dahz
    The template code is as follows:

    <?php
    /**
     * Template Name: Front Page
     *
     * The Front Page Template.
     *
     */
    ?>
    
    <?php get_header(); ?>
    
    	<div id="content-wrap">
    
    		<div class="main-sidebar-container container">
    
    			<div class="row">
    
    				<?php get_sidebar( 'front-first' ); ?>
    				<?php get_sidebar( 'front-second' ); ?>
    				<?php get_sidebar( 'front-third' ); ?>
    				<?php get_sidebar( 'front-fourth' ); ?>
    				<?php get_sidebar( 'front-last' ); ?>
    
    			</div>
    
    		</div>
    
    		<?php echo df_social_account(); ?>
    		<?php echo df_miscellaneous();	?>
    
    	</div>
    
    <?php get_footer(); ?>

    Side Note:
    I attempted to make a new template, basically a duplicate file and renamed it. However when I selected it from the templates drop down I still had the same issue. I’m not a coder, so if anyone could shed any light on a fix for this I would so greatly appreciate it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter herpersona

    (@herpersona)

    Update: I put the template php file into my child theme, named the file “template-shop-page” (without quotations) and modified the code to this:

    <?php
    /**
     * Template Name: Shop Page
     *
     * The Shop Page Template.
     *
     */
    ?>
    
    <?php get_header(); ?>
    
    	<div id="content-wrap">
    
    		<div class="main-sidebar-container container">
    			<div class="row">
    
    				<?php get_sidebar( 'shop-first' ); ?>
    				<?php get_sidebar( 'shop-second' ); ?>
    				<?php get_sidebar( 'shop-third' ); ?>
    				<?php get_sidebar( 'shop-fourth' ); ?>
    				<?php get_sidebar( 'shop-last' ); ?>
    
    			</div>
    
    		</div>
    
    		<?php echo df_social_account(); ?>
    		<?php echo df_miscellaneous();	?>
    
    	</div>
    
    <?php get_footer(); ?>

    I’m no longer having the duplicate issue but now I’m having a different issue. The side bar that normally appears on the right side of the page is now on the left side of the page and when I go into customize mode, under widgets I don’t have all those other sections to work with like I had with the first template.

    Solved one issue but caused another. Anyone kind enough to lend a hand with this? Or at least point me in the right direction of what to do?

    Thread Starter herpersona

    (@herpersona)

    bump

    Thread Starter herpersona

    (@herpersona)

    Still having trouble with this..

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Trouble editing template for multiple pages’ is closed to new replies.