Title: emilep's Replies | WordPress.org

---

# emilep

  [  ](https://wordpress.org/support/users/emilep/)

 *   [Profile](https://wordpress.org/support/users/emilep/)
 *   [Topics Started](https://wordpress.org/support/users/emilep/topics/)
 *   [Replies Created](https://wordpress.org/support/users/emilep/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/emilep/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/emilep/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/emilep/engagements/)
 *   [Favorites](https://wordpress.org/support/users/emilep/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Page preview doesn’t take template change into account](https://wordpress.org/support/topic/page-preview-doesnt-take-template-change-into-account/)
 *  Thread Starter [emilep](https://wordpress.org/support/users/emilep/)
 * (@emilep)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/page-preview-doesnt-take-template-change-into-account/#post-10459690)
 * The theme I’m using on the fresh install is a rather simple one I made myself–
   it only has the “default” template and an empty template with a simple get_header(),
   get_footer() and a big H1 in the middle which allows me to see whether or not
   the right template is being displayed or not in the page preview.
 * This is the testing template, called template-default.php, :
 *     ```
       <?php
       /*
       Template Name: Par défaut (template-default)
       */
   
       get_header(); 
       ?>
   
       <h1 style="color: black;">This is the default layout!</h1>
   
       <?php
       get_footer(); 
       ?>
       ```
   
 * The _functions.php_ is empty except for the CSS and JS includes (and the issue
   remains when emptying the functions.php).
 * Just to specify, the templates work correctly when saving – it’s just the Preview
   feature that doesn’t work correctly (it always uses the page’s current template
   instead of the one that’s currently selected in the Edit page)
    -  This reply was modified 8 years, 1 month ago by [emilep](https://wordpress.org/support/users/emilep/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Page preview doesn’t take template change into account](https://wordpress.org/support/topic/page-preview-doesnt-take-template-change-into-account/)
 *  Thread Starter [emilep](https://wordpress.org/support/users/emilep/)
 * (@emilep)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/page-preview-doesnt-take-template-change-into-account/#post-10459411)
 * Yes, I’ve tried that: the clean WordPress installation I’ve been testing on has
   no plugins, so it cannot be a plugin conflict.
    -  This reply was modified 8 years, 1 month ago by [emilep](https://wordpress.org/support/users/emilep/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Page preview doesn’t take template change into account](https://wordpress.org/support/topic/page-preview-doesnt-take-template-change-into-account/)
 *  Thread Starter [emilep](https://wordpress.org/support/users/emilep/)
 * (@emilep)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/page-preview-doesnt-take-template-change-into-account/#post-10459279)
 * I’ve tried with two completely different themes, and the two WordPress installations
   I’ve been testing on are on two different servers – one of which is a very simple
   LAMP setup with no other sites on it and no special caching modules or anything
   like that. I’ve also disabled browser caching during my tests. Still, the same
   issue arises. :/

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