The custom microsite functionality of Kandie Girls is tied in with the Hybrid parent theme and is managed in the Admin Panel via Appearance ⇒ Hybrid Settings ⇒Virual Sections. (The code is in the Kandie functions.php and includes.)
The Virtual Settings tab allows for up to twelve microsites, numbered as Section One through to Section Twelve . (A later version of Kandie might parameterise this number.) There is an additional entry for the Main Site, which is handled slightly differently.
For the twelve sections (microsites), a number of fields can or must be entered. A row of empty fields indicates that the microsite is not in use on the site.
- ID (mandatory)
- The slug for the microsite e.g. for-editors This is used internally to link various items to the micro-site.
- Folder (mandatory)
- The relative path of the parent URL for the micro-site e.g. /for-editors or /affiliates/build
This is used to identify when the micro-site is being displayed. All pages must be children of this relative path.
- Section Title (optional)
- Optionally overridde the main site title e.g. Resources for Editors. See the Site Header page for more information.
- Section Description (optional)
- Optionally overridde the main site description (tagline)
- Menu (optional)
- A menu if specified (by name) will appear as a context menu at the top of the lefthand sidebar, above the site main menu (and which is always called Main Menu).
- If the menu name is prefixed with a tilde ~ then the context menu will appear as a tab menu on any menu items within the microsite given a CSS Class of tab-menu
- Flags (optional)
- Flags may be combined if it is sensible to do so:
- +C turns on Categorisation at the bottom of singular posts; +CA in archives as well; +CF only in feeds
- +D runs on Date at the bottom of pages
- -M turns off main menu (via a stylesheet setting)
- -P turns off Primary sidebar
- -S turns of Secondary sidebar