Title: Theme Preview
Author: Dougal Campbell
Published: <strong>26 Tháng 10, 2007</strong>
Last modified: 17 Tháng 2, 2016

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/theme-preview.svg)

# Theme Preview

 Bởi [Dougal Campbell](https://profiles.wordpress.org/dougal/)

[Tải về](https://downloads.wordpress.org/plugin/theme-preview.1.4.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/theme-preview/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/theme-preview/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/theme-preview/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/theme-preview/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/theme-preview/)

## Mô tả

By default, the only way to see how a new theme looks on your site is to
 activate
it, making it visible to everyone who visits. With this plugin, it is possible to
view how a new theme looks without activating it.

### TODO

Possible future enhancements:

 * Add an options screen.
 * Allow choice of theme to preview from a known list of installed themes.
 * Provide persistent previews by setting a cookie.
 * Restrict preview ability by user Roles/Capabilities.
 * Child-theme friendliness.

### Ghi chú

May not work properly with child themes. This is because it will not be able
 to
inherit from the parent theme as it normally would.

## Cài đặt

 1. Upload the `theme-preview` folder and its contents to your `wp-contents/plugins`
    directory.
 2. Activate in the `Plugins` menu.
 3. Visit your site with a special parameter added to the URL

Add query variables `preview_theme` and/or `preview_css` to your query
 string. 
For example, if you have a theme named “My Theme”, which is installed in your `wp-
content/themes/my-theme` directory, add the theme’s directory name to your URL like
this:

    ```
    http://example.com/index.php?preview_theme=my-theme
    ```

Sometimes, you create a new look for your site by just making new CSS, but
 you 
keep the existing PHP files intact. In that case, you con use the preview_css variable
instead of `preview_theme`, or use them both together, like this:

    ```
    http://example.com/index.php?preview_theme=default&preview_css=my-theme
    ```

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Theme Preview” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Dougal Campbell ](https://profiles.wordpress.org/dougal/)

[Dịch “Theme Preview” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/theme-preview)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/theme-preview/), check out
[SVN repository](https://plugins.svn.wordpress.org/theme-preview/), hoặc theo dõi
[nhật ký phát triển](https://plugins.trac.wordpress.org/log/theme-preview/) qua 
[RSS](https://plugins.trac.wordpress.org/log/theme-preview/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.4 2016-02-17

 * SECURITY: Eliminate directory traversal, limit themes to registered directories.

#### 1.3 2015-08-26

 * Fixed to work with newer versions of WordPress.

#### 1.2 2010-01-14

 * Tested with WordPress 3.0-alpha

## Meta

 *  Phiên bản **1.4**
 *  Cập nhật lần cuối **10 năm trước**
 *  Số lượt cài đặt **300+**
 *  Phiên bản WordPress ** 2.6.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **4.4.34**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/theme-preview/)
 * Thẻ
 * [css](https://vi.wordpress.org/plugins/tags/css/)[presentation](https://vi.wordpress.org/plugins/tags/presentation/)
   [preview](https://vi.wordpress.org/plugins/tags/preview/)[testing](https://vi.wordpress.org/plugins/tags/testing/)
   [themes](https://vi.wordpress.org/plugins/tags/themes/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/theme-preview/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/theme-preview/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/theme-preview/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/theme-preview/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/theme-preview/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/theme-preview/reviews/?filter=1)

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/theme-preview/reviews/)

## Những người đóng góp

 *   [ Dougal Campbell ](https://profiles.wordpress.org/dougal/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/theme-preview/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](http://dougal.gunters.org/donate)