Title: Theme Catalog
Author: trex005
Published: <strong>20 augusts, 2015</strong>
Last modified: 21 augusts, 2015

---

Meklēt spraudņus

Šī spraudnis **nav atjaunināts vairāk kā divus gadus**. Varbūt, tas vairs netiek
uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress
versijām.

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

# Theme Catalog

 Autors [trex005](https://profiles.wordpress.org/trex005/)

[Lejupielādēt](https://downloads.wordpress.org/plugin/theme-catalog.0.02.zip)

 * [Sīkāka informācija](https://lv.wordpress.org/plugins/theme-catalog/#description)
 * [Atsauksmes](https://lv.wordpress.org/plugins/theme-catalog/#reviews)
 *  [Uzstādīšana](https://lv.wordpress.org/plugins/theme-catalog/#installation)
 * [Attīstība](https://lv.wordpress.org/plugins/theme-catalog/#developers)

 [Atbalsts](https://wordpress.org/support/plugin/theme-catalog/)

## Apraksts

Attractive front-end theme switcher/preview allowing demo of all themes, with menu
and widget handling.

[Demo Site](http://themes.tapyweb.com/theme-catalog/)

#### Usage

Add the shortcode [theme_catalog_select] to any page or post to display an attractive
list of themes available to preview

#### Shortcode Attributes

 * **errors** (true,false,null) _default:false_ – Display only themes with errors.
   true to only show errors, false to only show non errors, null to show both [Read More](https://codex.wordpress.org/Function_Reference/wp_get_themes)
 * **allowed** (true,false,’site’,’network’,null) _default:true_ – Display only 
   allowed themes [Read More](https://codex.wordpress.org/Function_Reference/wp_get_themes)
 * **screenshots** (true, false, null) _default:true_ – Display only themes that
   have screenshots. true to only show themes with screenshots, false to only show
   themes without screenshots, null to show both
 * **lazyload** (true,false,integer) _default:20_ – whether to use lazyload. true
   to always use lazyload, false to never use lazyload, integer to use lazyload 
   if at least specified amount of results are found.
 * **display_screenshot** (true,false) _default:true_ – Display screenshots
 * **display_name** (true,false) _default:true_ – Display names
 * **display_author** (true,false) _default:true_ – Display authors
 * **display_version** (true,false) _default:true_ – Display versions
 * **display_description** (true,false) _default:true_ – Display description

#### Menus

Menus can be created/mapped on a per theme basis and global menus can be created
which will be used in the event that the menus are not mapped for the selected theme.

 * **Individual Theme Menus** can be set up. To do so :
    1. Turn on “Apply in admin” under `Settings -> Theme Catalog`
    2. Use the page you have the selector on to switch to the desired theme.
    3. Go to `Appearance -> Menus` and set up menus as you wish
    4. Repeat steps 2 & 4 for all the themes you want to individually map.
    5. Turn off “Apply in admin” under `Settings -> Theme Catalog`
 * **Global Theme Menus** can be created by creating menus named “theme_catalog_menu_1”“
   theme_catalog_menu_2” etc. Menus will be populated into loaded theme in the order
   they are encountered.

#### Widgets

Widgets can only be handled on a per theme basis. To do so :

 1. Turn on “Apply in admin” under `Settings -> Theme Catalog`
 2. Use the page you have the selector on to switch to the desired theme.
 3. Go to `Appearance -> Widgets` and set up widgets as you wish
 4. Repeat steps 2 & 4 for all the themes you want to individually map.
 5. Turn off “Apply in admin” under `Settings -> Theme Catalog`

#### Issues

iThemes Builder themes and Artisteer themes (and I’m sure there are others) bypass
WordPress’ wp_nav_menu function, so can not use global menus. You must use individual
menu mapping for these.

### TO DO

 * Add ‘include’ & ‘exclude’ attributes
 * Build a tool for bulk mapping theme menus.
 * Allow sidebars (widget areas) to be created and mapped on a per theme basis or
   globally

## Ekrānuzņēmumi

[⌊A selection of themes the user can change to.⌉⌊A selection of themes the user 
can change to.⌉[

A selection of themes the user can change to.

## Uzstādīšana

#### The Easy Way

 1. Install and Activate from `Plugins->Add New` in WordPress
 2. Go to Step 4 in “Manually” section

#### Manually

 1. Upload `theme-catalog.zip` to the `/wp-content/plugins/` directory
 2. Unzip `theme-catalog.zip`
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. _Optionally_ set up menus for each theme, and/or global menus (more details under
    description)
 5. _Optionally_ set up widgets for each theme
 6. Place `[theme_catalog_select]` in your page or post

## BUJ

  My theme screenshots are not loading!

Did you specify `screenshots='false'` or `display_screenshot='false'`?

If not, there is a good chance your theme is not properly calling wp_footer(). To
solve this problem, you need to either :

 * Turn off lazy loading by adding `lazyload='false'` to your shortcode
 * load `lazyload` in your site’s header by going to `Settings -> Theme Catalog`
   and change “Lazyload in header” to “yes”.

  What is “plugin prefix” in the settings?

This allows you to change the prefix used in the shortcode, url parameters, session
variables and css classes. Changing it would reset all of your visitors back to 
your default theme, but would also require you to edit your shortcode. Unless you
are having problems you should never need to change this.

## Atsauksmes

Par šo spraudni nav atsauksmju.

## Autori un izstrādātāji

“Theme Catalog” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi
cilvēki.

Līdzdalībnieki

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

[Tulkot “Theme Catalog&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/theme-catalog)

### Vai jūs interesē attīstība?

[Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/theme-catalog/), apmeklējiet
[ SVN krātuvi ](https://plugins.svn.wordpress.org/theme-catalog/)vai abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/theme-catalog/),
ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/theme-catalog/?limit=100&mode=stop_on_copy&format=rss).

## Izmaiņu žurnāls

#### 0.02

 * Fixed settings menu not showing up for non multisite admins
 * Use proper PHP open tag for compatability on more servers.

#### 0.01

Initial release

## Meta

 *  Versija **0.02**
 *  Pēdējo reizi atjaunots: **pirms 11 gadiem**
 *  Aktīvās instalācijas: **10+**
 *  WordPress versija ** 4.0 vai jaunāka **
 *  Pārbaudīts līdz: **4.2.39**
 *  Valoda
 * [English (US)](https://wordpress.org/plugins/theme-catalog/)
 * Birkas:
 * [chooser](https://lv.wordpress.org/plugins/tags/chooser/)[picker](https://lv.wordpress.org/plugins/tags/picker/)
   [selector](https://lv.wordpress.org/plugins/tags/selector/)[theme](https://lv.wordpress.org/plugins/tags/theme/)
   [themes](https://lv.wordpress.org/plugins/tags/themes/)
 *  [Papildu skats](https://lv.wordpress.org/plugins/theme-catalog/advanced/)

## Vērtējumi

Vēl nav iesniegta neviena atsauksme.

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

[Skatīt visasatsauksmes](https://wordpress.org/support/plugin/theme-catalog/reviews/)

## Līdzdalībnieki

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

## Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

 [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/theme-catalog/)

## Ziedojiet

Vai vēlaties atbalstīt šī spraudņa pilnveidošanu?

 [ Ziedojiet šim spraudnim ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=4JLY4397X5CWG&lc=US&item_name=Tapy&no_note=0&cn=Message&no_shipping=1&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)