Title: Theme Development Preview
Author: xnau webdesign
Published: <strong>17 de maig de 2016</strong>
Last modified: 19 de maig de 2016

---

Cerca extensions

![](https://ps.w.org/theme-development-preview/assets/banner-772x250.jpg?rev=1419302)

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://ps.w.org/theme-development-preview/assets/icon-256x256.jpg?rev=1419302)

# Theme Development Preview

 Per [xnau webdesign](https://profiles.wordpress.org/xnau/)

[Baixa](https://downloads.wordpress.org/plugin/theme-development-preview.1.2.zip)

 * [Detalls](https://ca.wordpress.org/plugins/theme-development-preview/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/theme-development-preview/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/theme-development-preview/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/theme-development-preview/#developers)

 [Suport](https://wordpress.org/support/plugin/theme-development-preview/)

## Descripció

This plugin was developed to allow a client or collaborators to see a new theme (
or themes) before it goes live. The plugin allows you to select a theme to preview
and then select the users that will see that theme. Everyone else will see the normal
theme selected for the site. The previewed theme can be configured, with that configuration
stored separately from the normal theme so when the theme is previewed by another
user it will use the saved configuration.

Preview is available to several WP user roles, so Authors and Editors can also preview
a theme as though it were a live site.

The plugin requires the previewing user to be logged in.

#### Configure a Theme Behind the Scenes

This plugin differs from most “theme switcher” plugins or the Theme Customizer preview
in that it allows the previewed theme to be fully configured before going live. 
The settings for the previewed theme are saved separately, so when the theme is 
switched over, all the settings are in place.

#### Child Themes

This plugin is compatible with the use of child themes. You can create several child
themes and preview them as separate themes.

#### Limitations

This plugin does not currently play well with the Theme Customizer. In particular,
it does not store the customizations for a theme that has been changed in the Customizer.
You need to use the specific items in the “appearance” menu to configure the previewing
theme.

This plugin does not allow for different _content_ for each theme, so you cannot
preview content changes using this plugin. This includes page-specific layout settings
and layouts generated by plugins such as Visual Composer. Previewing theme template
files can be modified, however, and those changes won’t affect the public theme.

Menu configuration: you can place existing menus into locations defined by the previewing
theme and that will be remembered, but you cannot change the menu itself without
affecting the normal site menus because they are the same content. If you need a
different menu configuration for your previewing theme, create a new menu for that
purpose. You will then be able to switch back and forth and the menu configuration
will follow.

The plugin does not allow for different plugin configurations, plugin activated/
deactivated status, and settings. WordPress Plugin configurations are the same for
the main and preview themes.

If your new theme requires you to restructure the content or plugin configuration,
it may be best to preview your new theme using a separate development site.

#### Key Image Credit

Bundesarchiv, B 145 Bild-F044576-0032 / Engelbert Reineke / CC-BY-SA 3.0 [CC BY-
SA 3.0 de (http://creativecommons.org/licenses/by-sa/3.0/de/deed.en)], via Wikimedia
Commons

## Instal·lació

 1. In the admin for your WordPress site, click on \”add new\” in the plug-ins menu.
 2. Search for \”theme development preview\” in the WP plugin repository and install
 3. Activate the plugin through the \’Plugins\’ menu in WordPress
 4. Visit the settings page under the \”Settings\” menu in the WP admin.
 5. Choose a theme to preview, then select the users that can preview or configure 
    the preview theme.

** or **

 1. Download the zip file, and unzip it on your computer.
 2. Upload this directory (theme-dev-preview) and its contents to the `/wp-content/
    plugins/` directory on your web server
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Visit the settings page under the “Settings” menu in the WP admin.
 5. Choose a theme to preview, then select the users that can preview or configure 
    the preview theme.

## PMF

  Can users switch the theme to preview?

Only administrators can change what theme is getting previewed and who can see it.

  Can different users preview different themes?

No, only one theme can be previewed at a time.

  Can the theme preview be shown to not-logged-in users?

Currently, this plugin only shows a preview theme to logged-in users that have been
enabled in the settings.

  Can the preview be shown based on user-agent, device or other anonymous user info?

No, this plugin is not a “theme switcher” it is a tool for theme designers and developers
to preview and configure a new theme behind the scenes.

  Will all preview theme settings be remembered?

Any theme that uses the standard WordPress methods for saving configurations will
have their configurations saved separately from the main theme. Some theme developers
may have used alternative methods for saving settings, and this plugin may not work
with such themes.

  Can I change the page layout in the preview theme separately from the main theme?

You can change theme templates in the preview theme, but you cannot make changes
that are stored in the page content, such as with “Visual Composer” and other similar
page layout tools that work with shortcodes. If you do make such changes, they will
show up in the main theme. The preview theme’s page/post/CPT content is the same
as the main theme, so you cannot make content changes to live pages behind the scenes.

  Can I configure menus and widgets in the Preview theme?

Yes, menu and widget configurations are separate in the preview theme. The same 
menus and widgets will be available, except any widgets that are created by the 
theme.

  What about colors, fonts, and other stylesheet changes?

The ones that are theme-specific are separate for the previewed theme, but any settings
that are under the control of plugins can\’t be switched, they will be the same 
for the main theme and the previewed theme.

## Ressenyes

![](https://secure.gravatar.com/avatar/a6fd444afa1637041937aead9f28cb2ea7ddacc9c7e8ccc7e9ff3ebc7701bb5f?
s=60&d=retro&r=g)

### 󠀁[Does Not Work](https://wordpress.org/support/topic/does-not-work-681/)󠁿

 [Christine](https://profiles.wordpress.org/crhodes/) 3 de setembre de 2016

When attempting to utilize with a standard theme available on WordPress, the preview
worked but other users got switched to the Twentysixteen default. When attempting
to utilize with a child theme, the site ceased to render any content or style in
preview. The user select box shows an error on each line when using for the first
time because the plugin tries to compare something with an $options array that is
null.

![](https://secure.gravatar.com/avatar/a14b85d95d91f1577482d1d9699e811117605438dbf1220c3795bbb80ebcbb49?
s=60&d=retro&r=g)

### 󠀁[Just what I needed](https://wordpress.org/support/topic/just-what-i-needed-523/)󠁿

 [ngearing](https://profiles.wordpress.org/ngearing/) 3 de setembre de 2016

This is just what I needed, saving time when a full devsite isn’t necessary.

 [ Llegiu totes les 2 ressenyes ](https://wordpress.org/support/plugin/theme-development-preview/reviews/)

## Col·laboradors i desenvolupadors

«Theme Development Preview» és programari de codi obert. La següent gent ha col·laborat
en aquesta extensió.

Col·laboradors

 *   [ xnau webdesign ](https://profiles.wordpress.org/xnau/)

[Traduïu «Theme Development Preview» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/theme-development-preview)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/theme-development-preview/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/theme-development-preview/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/theme-development-preview/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/theme-development-preview/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.0

Initial release of the plugin

#### 1.1

Better handling of child themes and separate configuration storage for previewed
themes

#### 1.2

consolidation of theme select control to include child themes

## Meta

 *  Versió **1.2**
 *  Darrera actualització **fa 10 anys**
 *  Instal·lacions actives **10+**
 *  Versió del WordPress ** 4.1 o posterior **
 *  Provada fins a **4.5.33**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/theme-development-preview/)
 * Etiquetes
 * [development](https://ca.wordpress.org/plugins/tags/development/)[preview](https://ca.wordpress.org/plugins/tags/preview/)
   [switcher](https://ca.wordpress.org/plugins/tags/switcher/)[theme](https://ca.wordpress.org/plugins/tags/theme/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/theme-development-preview/advanced/)

## Valoracions

 3 sobre 5 estrelles.

 *  [  1 valoració de 5 estrelles     ](https://wordpress.org/support/plugin/theme-development-preview/reviews/?filter=5)
 *  [  0 valoracions de 4 estrelles     ](https://wordpress.org/support/plugin/theme-development-preview/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/theme-development-preview/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/theme-development-preview/reviews/?filter=2)
 *  [  1 valoració de 1 estrelles     ](https://wordpress.org/support/plugin/theme-development-preview/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/theme-development-preview/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/theme-development-preview/reviews/)

## Col·laboradors

 *   [ xnau webdesign ](https://profiles.wordpress.org/xnau/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/theme-development-preview/)

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](https://xnau.com/work/wordpress-plugins/)