Linux 软件免费装
Banner图

Multiple Themes

开发者 dgewirtz
更新时间 2023年7月29日 09:17
捐献地址: 去捐款
PHP版本: 3.4 及以上
WordPress版本: 6.3
版权: GPLv2 or later
版权网址: 版权信息

标签

theme template style themes accessibility stylesheet sections

下载

1.1 2.9 3.0 3.1 3.2 3.3 3.3.1 4 4.0.1 4.0.2 4.1 4.10 4.10.1 4.11 4.11.1 4.11.2 4.12 4.2 4.3 4.4 4.5 4.5.2 4.7.1 4.7.2 4.7.3 4.8 4.9 5.0 5.0.1 5.0.2 5.0.3 6.0.1 6.0.2 7.0 7.0.1 7.0.2 7.0.3 7.1 7.1.1 1.0 2.0 4.1.1 4.5.1 6.0

详情介绍:

IMPORTANT: Support has moved to the ZATZLabs site and is no longer provided on the WordPress.org forums. If you need a timely reply from the developer, please open a ticket. Settings provide many different ways to Select which Theme should appear where on your WordPress web site: None of the Themes in the WordPress Theme Directory alter the appearance of the WordPress Admin panels. As a result, this plugin does not allow Theme Selection entries to specify URLs for WordPress Admin panels. Use with Paid Themes: On-going full scale testing of Themes by this plugin's author is only possible if the Theme is found in the WordPress Theme Directory. Although (Version 5 of) this plugin should now work with all Themes, any problems encountered while using Paid Themes will be difficult to diagnose. As described in the FAQ tab, a WordPress Network (Multisite) is an alternative to this plugin, as a way to create a single web site with more than one Theme. A similar situation exists with Paid Plugins. Use with Plugins that Cache: You may find that you have to flush the Cache whenever you change Settings in the jonradio Multiple Themes plugin. Some Caching plugins only cache for visitors who are not logged in as users, so be sure to log out before testing the results of your jonradio Multiple Themes settings. Changing Theme Options (Widgets, Sidebars, Menus, Templates, Background, Header, etc.)?: After installing and activating the plugin, see the plugin's Settings page and click on the Theme Options tab for important information on changing Options for Themes other than the Active Theme. How it Works: The plugin does not change the Active Theme defined to WordPress in the Appearances-Themes Admin panel. Instead, it dynamically (and selectively) overrides that setting. Which means that simply deactivating (or deleting) this plugin will restore the way that Themes were displayed prior to installing this plugin. However, in some situations, it is possible to inadvertently alter Theme Options for the Active Theme when using either of the Methods described on the plugin's Setting page Theme Options tab.
Adoption Notice This plugin was recently adopted by David Gewirtz and ongoing support and updates will continue. Feel free to visit David's Lab Notes for additional details and to sign up for emailed news updates.
Special thanks to Jon 'jonradio' Pearkins for creating the plugin and making adoption possible.

安装:

IMPORTANT: Support has moved to the ZATZLabs site and is no longer provided on the WordPress.org forums. Please visit the new ZATZLabs Forums. If you need a timely reply from the developer, please open a ticket. This section describes how to install the jonradio Multiple Themes plugin and get it working.
  1. Use Add Plugin within the WordPress Admin panel to download and install this jonradio Multiple Themes plugin from the WordPress.org plugin repository (preferred method). Or download and unzip this plugin, then upload the /jonradio-multiple-themes/ directory to your WordPress web site's /wp-content/plugins/ directory.
  2. Activate the jonradio Multiple Themes plugin through the Installed Plugins Admin panel in WordPress. If you have a WordPress Network ("Multisite"), you can either Network Activate this plugin through the Installed Plugins Network Admin panel, or Activate it individually on the sites where you wish to use it. Activating on individual sites within a Network avoids some of the confusion created by WordPress' hiding of Network Activated plugins on the Plugin menu of individual sites. Alternatively, to avoid this confusion, you can install the jonradio Reveal Network Activated Plugins plugin.
  3. Be sure that all Themes you plan to use have been installed.
  4. Select Themes to be used on the Settings or Advanced Settings tab of the plugin's Multiple Themes plugin Settings page in the WordPress Admin panels, which is found in both the Appearance and Settings sections. You can also get to this Settings page by clicking on the Settings link for this plugin on the Installed Plugins page of the Admin panel.
  5. If you need to change Theme Options (Widgets, Sidebars, Menus, Templates, Background, Header, etc.) for any Theme other than the Active Theme, see the plugin's Settings page and click on the Theme Options tab for important information.

屏幕截图:

  • Bottom of Settings tab on Plugin's Settings page
  • Advanced Settings tab on Plugin's Settings page
  • Theme Options tab on Plugin's Settings page
  • System Information tab on Plugin's Settings page
  • New in V5 tab on Plugin's Settings page

升级注意事项:

7.1 AJAX Support 7.0.3 Make All Posts and All Pages settings work on sites without a Port Number specified 7.0.2 Correct URL Matching for Sites with a Port Number in their URL 7.0.1 Correctly handle p= and page_id= in Query Settings 7.0 Checks all Settings whenever Settings page displayed 6.0.2 Correct bug that stripped Queries from URLs in Settings 6.0.1 Tolerate missing $_SERVER['QUERY_STRING'] and $wp->public_query_vars not set up yet 6.0 Support Domain Mapping, Parked Domains and other Site Alias usages 5.0.3 Remove cleanup of non-existent themes specified in Settings 5.0.2 Remove /downgrade/ directory that may have caused PCLZIP_ERR_BAD_FORMAT errors on some web hosts 5.0.1 Correct All Pages and All Posts (Advanced) Setting bug 5.0 Greatly expanded compatibility with other Plugins and Themes 4.11.2 Standardize to case insensitive Query comparisons and eliminate Connection Info prompt on Settings page 4.11.1 Fix foreach() error 4.11 Complete rewrite of Sticky logic 4.10.1 Make Sticky work with Caching plugins 4.10 Performance improvements and add Sticky Queries 4.9 Allow Prefix URLs to match all subdirectories with an Asterisk ("*") 4.8 Compatibility with NextGen Gallery plugin 4.7.3 Allow dots in URL Queries 4.7.2 Avoid Error Message during Uninstall of other Plugins 4.7.1 Avoid mb_ function errors for PHP without mbstring extension 4.7 Select Theme by Query Keyword/Value pair in URL 4.6 Select Theme by Query Keyword in URL 4.5.2 Fix zip_open Fatal Error 4.5.1 Fix %E2%80%8E suffix problem on input URLs 4.5 Handle URL input for non-standard Pages and Posts 4.4 Fix errors when new Network site created or old WordPress version used, and correct Setting page Permissions to "switch_themes" 4.3 Add SSL support for sites with https:// URLs 4.2 Add "Select Theme for Everything" feature and improve security 4.1.1 Resolve issues with readme.txt permissions introduced in Version 4.1's compatibility checking 4.1 Support non-English alphabet in URLs and Live Search feature in KnowHow Theme 4.0.2 Fix "Warning: in_array() expects parameter 2 to be array, null given in domain.com/wp-includes/rewrite.php on line 364" 4.0.1 Fix "Fatal error: Call to a member function wp_rewrite_rules() on a non-object in domain.com/wp-includes/rewrite.php on line 294" 4 Fix Posts not working in some Permalink setups, most notably Year/Month 3.3.1 Fix White Screen of Death on a Page, Post or other element selected by plugin 3.3 Remove Restriction that Stylesheet Name must match Template Name, which it does not with Child Themes 3.2 Add Support for P2 Theme and provide "Settings Saved" message 3.1 Allow Prefix URLs to be used to specify where a Theme will be displayed 3.0 Improve support for Categories and Archives, and eliminate all known bugs. 2.9 Improve Settings fields, correct display of wrong Current Theme in Appearance-Themes Admin panel, and add IIS Support. 2.0 Selecting Individual Pages and Posts on a WordPress site installed in the root and using Permalinks now works correctly. 1.1 Eliminate possibility of foreach error message if PHP warning level is set at a high level 1.0 Beta version 0.9 had not been tested when installed from the WordPress Plugin Repository

常见问题:

What if my Themes or other plugins don't seem to be working with the jonradio Multiple Themes plugin?

IMPORTANT: Support has moved to the ZATZLabs site and is no longer provided on the WordPress.org forums. If you need a timely reply from the developer, please open a ticket. Please visit the new ZATZLabs Forums. If you need a timely reply from the developer, please open a ticket. If we cannot solve the problem, please consider using a WordPress Network. One install of WordPress allows you to have multiple separate Sites ("MultiSite"), each with a different Theme, without using the jonradio Multiple Themes plugin. The sites can look to the outside world as if they are just one web site by using the Sub-directories option. For example, Site 1 would be at example.com, and Site 2 could be at example.com/forum.

Will this plugin work with Paid Themes?

With the massive rewrite of Theme Selection logic in Version 5 of this plugin, it should now work with all Paid Themes and Plugins. But we have only tested the few Paid Themes whose authors have provided us with permission to use, without charge, their themes for test purposes. Elegant, for example, allows us to accept copies of its Themes provided by its customers who require assistance with the jonradio Multiple Themes plugin. On the other hand, some other Paid Theme authors have simply ignored our requests, despite our stated willingness to sign a non-disclosure agreement. We do encourage you to contact us if you run into problems when using the jonradio Multiple Themes plugin with a Paid Theme, as the problem may not be unique to the Paid Theme. To state the obvious, the cost of purchasing a license for all Paid Themes for testing purposes is prohibitive for an Open Source plugin such as this one.

How do I change the Theme Options (Widgets, Sidebars, Menus, Background, Header, etc.) used for each Theme?

For the Active Theme, nothing changes when using the jonradio Multiple Themes plugin. For other Themes, selected using this plugin, changing Theme Options is explained, in detail, on the Theme Options tab of the plugin's Settings page.

How do I change the Template for a specific Page or Post?

For the Current Theme, nothing changes when using the jonradio Multiple Themes plugin. For a Page or Post where another Theme is displayed, as selected by this plugin's Settings, specifying the Template to be used is explained, in detail, on the Theme Options tab of the plugin's Settings page.

How do I select a Theme for a Category of Posts?

That functionality, to directly specify a Theme for a Category on the Settings page, is being investigated for a future version of the jonradio Multiple Themes plugin. But there is already a solution based on Permalinks:

  1. In the WordPress Admin panels, go to Settings-Permalinks
  2. Specify a Permalinks structure that begins with /%category%/
  3. Push the Save Changes button
  4. Go to Settings-Multiple Themes plugin
  5. In the Section "For An Individual Page, Post or other non-Admin page", select the Theme for the Category of Posts
  6. Enter the URL of the Categories page, e.g. - http://domain.com/news/
  7. Click the checkbox "Select here if URL is a Prefix"
  8. Push the Save Changes button

How do I Edit a Theme?

WordPress includes a built-in Theme Editor. Select Editor in the Admin panel's Appearance menu items on the left sidebar. By default, the style.css file of the Current Theme is displayed. You can edit other Themes by selecting them in the "Select theme to edit" field and clicking the Select button. Alternatively, you can edit any Theme on your own computer. If your computer runs Windows, NotePad++ and FileZilla run very well together, using FileZilla's View/Edit feature to provide a Theme Editor with syntax highlighting and other advanced features. If one or more of the Active Themes have their own Theme Editor or other type of Theme Options panels, such as Elegant's epanel, please read the next FAQ.

How do I use Elegant's epanel?

Nothing changes for the Current Theme. epanel can be accessed just as it would be without the jonradio Multiple Themes plugin, simply by selecting the WordPress Admin panel's Appearance submenu item titled Theme Options preceded by the name of your Elegant Theme. To make changes to other Active Themes that you will be specifying with the jonradio Multiple Themes plugin:

  1. Deactivate jonradio Multiple Themes
  2. Install the Theme Test Drive plugin found at http://wordpress.org/extend/plugins/theme-test-drive/
  3. Activate the Theme Test Drive plugin
  4. Go to Appearance-Theme Test Drive
  5. In the Usage section, select an alternate Theme you will be using with jonradio Multiple Themes
  6. Push the Enable Theme Drive button at the bottom
  7. Click on the Appearance menu item on the left sidebar of the WordPress Admin panel to refresh the submenu
  8. Click on the submenu item titled with your Elegant theme's name followed by "Theme Options"
  9. Elegant's epanel will now appear
  10. Make all the changes for this Theme, being sure to push the Save button
  11. If you have more than one alternate Theme with Options you wish to change, repeat Steps 4-10 for each alternate Theme
  12. Deactivate the Theme Test Drive plugin
  13. Activate jonradio Multiple Themes
  14. Changes to the Options for the Current Theme can now be made normally, just as you would without either plugin
  15. Both the alternate and Current Themes should now display all Theme options properly when selected through the jonradio Multiple Themes plugin
Thanks to Elegant for allowing us to test copies of any of their Themes provided by their customers.

What happens when I change Permalinks?

Although it depends on what kind of change you make to your Permalink structure, you should expect to have to replace (delete and add) all of the plugin's Settings that specify a URL.

I added a new entry but why doesn't it appear in the list of entries?

You should have seen an explanatory error message after hitting the Save Changes button.

How can I change the Theme for an entry?

You will need to delete the entry and add it again, with the new Theme specified.

更新日志:

7.1.1 7.1 7.0.3 7.0.2 7.0.1 7.0 6.0.2 6.0.1 6.0 5.0.3 5.0.2 5.0.1 5.0 4.11.3 4.11.2 4.11.1 4.11 4.10.1 4.10 4.9 4.8 4.7.3 4.7.2 4.7.1 4.7 4.6 4.5.2 4.5.1 4.5 4.4 4.3 4.2 4.1.1 4.1 4.0.2 4.0.1 4 3.3.1 3.3 3.2 3.1 3.0 2.9 2.0 1.1 1.0