Custom Subtheme Settings Per Page
Starting with Weaver Xtreme Plus Version 3.1, you can specify an alternate subtheme on a Per Page basis. This allows you to have some pages of your site have a completely different look than other pages.
Creating settings file for Per Page subtheme selectionOne of the uses for settings saved in files is to allow you to select one to use on a Per Page basis. When you do this, it is critical to be sure you don't lose your main site settings! So, before you start to create a Per Page style, first SAVE your current settings to retrieve later. This can be by downloading a full backup to your own computer, saving to a file on the host, or using the "Save Current Theme Settings" to the WP database. This last one is easiest, but it is also easy to accidentally overwrite the saved settings! All the settings Save/Restore options are explained in this article. So, once you have saved your main theme, make whatever modifications you need for the per page design. You might not want to do that on a live site! You can put your site into Maintenance Mode, or create a separate development site (recommended!). When you are ready, save either all settings, or, most commonly, just the theme related settings to the host file system from the Legacy Save/Restore tab. Now you can open the Page Editor, go to theWeaver Xtreme Plus per page options section, and pick the theme settings you just saved . This option is shown on the Page Editor in the Weaver Xtreme Plus section of the Per Page options section below the content editing display. See the screen clip from the Alternate Subtheme section below. Save the page. Then restore the original site-wide theme. When the given page is loaded, the settings from the WP Database will be replaced with the saved settings saved in the file for just that page. The settings in the WP database will not be altered.
Alternate Subtheme You may specify an alternate Weaver Xtreme subtheme that you have saved on your host filesystem for this page. See Legacy Weaver Xtreme Admin : Save/Restore tab to save a subtheme.Please select a previously saved theme settings file (either .wxt or .wxb).Note: This page will still use the default site subtheme settings to display in the Page Editor (i.e., on this screen).While this ability can allow you to create special looks for some of your pages, do use this feature with care. Visitors to web sites usually expect consistency across a given site. If you overuse this feature, you can leave your visitors frustrated or confused. On the other hand, this does allow you to make variations on the overall site design, or have special treatment for some pages.
Technical NotesWhile in general, using the Per Page Alternate Subtheme option will result in a completely unique design, there are some restrictions.
- The default site wide header image, widgets displayed in a specific widget areas, menus, WP BG setting (Appearance : Background), and content generated by other plugins will NOT be changed by the alternate theme. There are other Per Page options that can be used to change some of these items (menus, widgets, sidebar layouts, etc.), but the effects of global WP settings, or from some plugins will override the subtheme.
- The subtheme and other custom CSS will always be included as inline CSS, and never from the style-weaverxt.css file provided by Weaver Xtreme Plus. There can be only one copy of that file, so it must be the one used for the main site subtheme.
- From time-to-time, new versions of Weaver Xtreme will add new CSS rules to the main style sheet, or change the CSS generated by specific options. While generally this will not change old subtheme files, you may want to load the per-page subtheme back into Weaver Xtreme and re-save it to refresh the CSS settings. But normally, this won't be needed - but be aware!
- The actual setting files for the Per Page Subtheme (as well as other saved settings from the Save/Restore tab) are saved in your site's /content/uploads/weaverx-subthemes directory.