function weaverx_admin_help() { ?> <h2><?php _e('Weaver Xtreme Help', 'weaver-xtreme'); ?> </h2> <br /> <?php _e('This is the Weaver Xtreme Admin help button: ', 'weaver-xtreme'); weaverx_help_link('help.html#top', __('Weaver Xtreme Help', 'weaver-xtreme')); ?> <?php _e('Clicking the ? will open the Weaver Xtreme Help document.', 'weaver-xtreme'); ?> </p> <h2> <?php _e('Please see our active ', 'weaver-xtreme'); weaverx_site('', '//forum.weavertheme.com/', __('Weaver Support Forum', 'weaver-xtreme')); _e('Support Forum</a> for online help.', 'weaver-xtreme'); ?> </h2> <br /><br /> <?php do_action('weaverxplus_admin', 'help'); ?> <div style="float:left;width:50%;padding-right:2%"> <div class="atw-help"> <h2 style="text-decoration:underline;font-weight:bold;")> <?php weaverx_help_link('help.html', __('Weaver Xtreme Help', 'weaver-xtreme'), __('Theme Documentation (Customizer)', 'weaver-xtreme')); ?> </h2> <p> <?php _e('Complete documentation for using the Weaver Xtreme Theme and the Customizer option interface.', 'weaver-xtreme'); ?> </p> <h2 style="text-decoration:underline;font-weight:bold;")> <?php weaverx_help_link('legacy-help.html', __('Weaver Xtreme Help', 'weaver-xtreme'), __('Theme Documentation (Legacy Admin)', 'weaver-xtreme')); ?> </h2> <p> <?php _e('Complete documentation for using the Weaver Xtreme Theme with the Legacy options interface.', 'weaver-xtreme'); ?> </p> <h2 style="text-decoration:underline;font-weight:bold;")> <?php weaverx_help_link('css-help.html', __('Weaver CSS Help', 'weaver-xtreme'), __('CSS HELP', 'weaver-xtreme')); ?> </h2> <p> <?php _e('A short CSS Tutorial', 'weaver-xtreme'); ?> </p> <h2 style="text-decoration:underline;font-weight:bold;")> <?php weaverx_help_link('font-demo.html', __('Examples of supported fonts', 'weaver-xtreme'), __('Font Examples', 'weaver-xtreme')); ?> </h2> <p> <?php _e('Example of Font Families supported by Weaver Xtreme and Weaver Xtreme Plus.', 'weaver-xtreme'); // Following Release Notes are not wrapped in translation as they are highly veriable, and will // change with each update of the theme - even minor updates. Just doesn't make sense to translate them. ?> </p> <h3 style="text-decoration:underline;font-weight:bold;")> <?php _e('Release Notes', 'weaver-xtreme'); ?> </h3> <p> <em>Weaver Xtreme Version 2.0</em> represents a significant upgrade over Version 1.3. The major change is the addition of Customizer based options. All of the options previously handled via the legacy Theme Options interface are now included in the WordPress Customizer. Legacy Theme Options still available with <em>Weaver Xtreme Theme Support</em> plugin. You can now preview your changes live and on the fly. This is a revolutionary change in how you can design your own site. </p> <pre> = Version 2.0 = * New: Added Customizer Option Interface - Setting options is now a WYSIWYG experience! * New: 20+ Google Fonts included and integrated to free theme version. * -- Other additions and changes --- * New: Columns for post content * New: Added Header/Footer Center Content within HTML area option * New: Retain Menu Bar Hover BG Color option when open submenus * New: Top/Bottom margins on Primary, Secondary, Extra Menu bars * New: Character and Word spacing (Xtreme Plus) * New: Support for Cryllic, Greek, Hebrew, and Vietnamese character sets with some fonts. * Change: Removed WP Appearance : "Theme Options" from core theme. (now included with theme support plugin) * Change: Appearance "Theme Options" label changed to "Weaver Xtreme Admin" * Change: No longer recommend WP Retina 2x plugin as that functionality is now in WP 4.4 * Tweak: Default font changed to "Open Sans" from "Arial" to take advantage of Google Fonts. * Tweak: #header-html 100% width default * Tweak: Changed Footer Area, Container Area, and Info Bar to border-box. * Tweak: #content default margin bottom changed to 0. This works better with Customizer. * Tweak: Changed < hr > height to 2px for default. * Tweak: Mini Menu top margin default changed to 0em. * Tweak: Added .weaverx_inject_area class to all injection areas * Fix: Header/Footer HTML center alignment option * Fix: misc fixes/tweaks to Version 1.3 = Version 2.0.3 = * New: Added Don't Use Customizer option for slow hosts/computers * Fix: Container Max Width live update issue * Fix: Switch to Customizer bad link on subdirectory installs * Fix: Bug in menu bottom margin * Fix: Header HTML would not hide if Centered * Fix: Spelling error in Romanian translation file * Fix: Customizer link color preview * Tweak: new algorithm for Customizer Custom CSS live update * Tweak: modified weaverx_site_title and weaverx_tagline filters to allow HTML </pre> </p> </div> </div> <div style="float:right;width:40%;padding-right:1%"> <h2><b><?php _e('RECOMMENDED PLUGINS', 'weaver-xtreme'); ?> </b></h2> <p><strong> <?php _e('Some recommended plugins to use with your Weaver Xtreme Theme', 'weaver-xtreme'); ?> </strong></p> <ul> <li style="font-size:120%;"><a href="//wordpress.org/plugins/weaverx-theme-support/" target="_blank"><?php _e('Weaver Xtreme Theme Support', 'weaver-xtreme'); ?> </a> <?php _e('- provides <strong>essential</strong> Weaver Xtreme theme options and useful shortcodes', 'weaver-xtreme'); ?> </li> <li><a href="//wordpress.org/plugins/show-posts/" target="_blank"><?php _e('Weaver Show Posts', 'weaver-xtreme'); ?> </a> <?php _e('- adds the [show_posts] shortcode to selectively display posts filtered by category, tag, order, id, etc. Also adds additional filtering options to the Weaver Xtreme Page with Posts page template. This formerly was integrated with Weaver, and was considered an important part of the theme.', 'weaver-xtreme'); ?> </li> <li><a href="//wordpress.org/plugins/show-sliders/" target="_blank"><?php _e('Weaver Show Sliders', 'weaver-xtreme'); ?> </a> <?php _e('- good for any kind of slideshows - images, posts, [gallery] replacement', 'weaver-xtreme'); ?> </li> <li><a href="https://wordpress.org/plugins/wp-edit/" target="_blank">WP Edit</a> - <?php _e('WP Edit adds additional editing functionality to the default WordPress editor. Allows content formatting without the need for extra HTML or CSS. Also includes advanced features to manage your content such as post and page revision control.', 'weaver-xtreme'); ?> </li> </ul> </div><div style="clear:both;"></div> <?php }
function weaverx_clear_messages() { ?> <form style="float:right;margin-right:15px;" name="clearweaverx_form" method="post"> <?php if (!function_exists('wvrx_ts_installed')) { if (!is_multisite() || is_multisite() && current_user_can('manage_network_themes')) { echo '<div style="display:inline-block;background-color:pink;border:1px solid black;padding:3px;margin-right:4px;font-style:italic;font-size:80%;line-height:1.2;">' . __('Please install and activate the<br />Weaver Xtreme Theme Support Plugin.', 'weaver-xtreme') . '</div>'; } } if (!function_exists('weaverxplus_plugin_installed')) { echo '<strong style="border:1px solid blue;background:yellow;padding:4px;margin:5px;">'; weaverx_site('', '//plus.weavertheme.com/', __('Weaver Xtreme Plus', 'weaver-xtreme')); echo __('Get Weaver Xtreme Plus!', 'weaver-xtreme') . '</a> </strong>'; } do_action('weaverx_check_licenses'); ?> <span class="submit"><input type="submit" name="weaverx_clear_messages" value="<?php _e('Clear Messages', 'weaver-xtreme'); ?> "/></span> <?php weaverx_nonce_field('weaverx_clear_messages'); ?> </form> <!-- resetweaverx_form --> <?php }
/** * Define the sections and settings for the Speed Test panel * causes execution time out at: wp-includes/class-wp-customize-setting.php near line 522 * */ function weaverx_customizer_define_starting_sections($sections) { $panel = 'weaverx_starting'; $starting_sections = array(); /** * Intro */ $starting_sections['starting-intro'] = array('panel' => $panel, 'title' => __('Introduction to Weaver Xtreme', 'weaver-xtreme'), 'description' => __('A concise introduction to Weaver Xtreme.', 'weaver-xtreme') . ' <br />(' . WEAVERX_THEMEVERSION . ')', 'options' => array('starting-intro-header' => array('control' => array('control_type' => 'WeaverX_Misc_Control', 'label' => __('Introduction', 'weaver-xtreme'), 'description' => __('<p><em>Weaver Xtreme</em> allows you to customize virtually every aspect of your site. The Customizer Options are organized as top level panels based on WHAT you want to customize, and a second level of sections based on WHERE you want to make the customizations. Remember: <strong style="color:red;">WHAT</strong> and <strong style="color:red;">WHERE</strong>.</p> <h4>First Level Options: WHAT to Set - Option Categories</h4> <p>The first level of Weaver Xtreme Customizer menus is organized around different categories of options that reflect different collections of related options. For example, all the Color settings are found on a single, top-level option panel called "Colors". The other top level option panels represent similar groups of options:</p> <ul> <li><strong>▸ Colors</strong> - Specify all colors used on site - both text and backgroud colors. </li> <li><strong>▸ Spacing, Widths, Alignment</strong> - Set margins, padding, spacing, heights, widths, and alignment.</li> <li><strong>▸ Style</strong> - Set borders, shadows, rounded corners, list bullet style, icons.</li> <li><strong>▸ Typography</strong> - Set font family, font size, bold, italic, default base font information.</li> <li><strong>▸ Visibility</strong> - Show or hide various elements - usually by device (phone, tablet, desktop).</li> <li><strong>▸ Layout</strong> - Specify element layout - sidebars, etc.</li> <li><strong>▸ Images</strong> - Set borders, placement, Featured Images, Header Images, Background Images.</li> <li><strong>▸ Added Content</strong> - Define added content for extra HTML insertion areas.</li> <li><strong>▸ Custom CSS</strong> - Advanced users can specify custom CSS for the whole site or specific areas.</li> <li><strong>▸ Sidebars & Widgets Content</strong> - the standard WordPress interface for widget areas and widgets.</li> <li><strong>▸ Custom Menu Content </strong>- the standard WordPress interface for defining custom menus.</li> </ul> <p>The top level Customizer menu also has two additional menus:</p> <ul> <li><strong>▸ Weaver Xtreme: Start Here</strong> - access to getting started help and other documentation.</li> <li><strong>▸ General Options & Admin</strong> - WordPress Site Identity and Static Front page options, and other theme admin options.</li> </ul> <p>The basic logic behind this organization is that it is easy to remember the different kinds of things you want to customize, like color or spacing. The next level of menus specifies <em>where</em> you want to make those changes.</p> <h4>Second Level Options: WHERE to Set - Areas</h4> <p>Deciding <em>what</em> you want to customize is usually an obvious decision. Finding <em>where</em> to apply those settings take a bit more understanding just how a Weaver Xtreme WordPress site is organized. </p> <p>We\'ve tried to make this second level step as easy and consistent as possible. Almost every one of the option categories can be applied to the same set of areas. The "standard" set of areas include:</p> <ul> <li><strong>▸ Wrapping Areas</strong> - the major outer areas that wrap the site\'s content. The main Wrapper Area wraps the entire site, while the Container Area wraps the page or post content and the main sidebars.</li> <li><strong>▸ Links</strong> - Not all categories apply to links, but links are treated as a single element to style.</li> <li><strong>▸ Header Area</strong> - the header area is displayed at the top of the site, and includes the site title and tagline, the primary and secondary menus, the site header image, a header widget area, and an extra area for arbitrary HTML.</li> <li><strong>▸ Menus</strong> - there are a Primary and Secondary menu available in the Header Area. Weaver Xtreme Plus also supports Extra menus that can be displayed in different locations.</li> <li><strong>▸ Info Bar</strong> - the Info Bar is displayed immediately below the Header Area, and shows navigation information, as well as other custom content.</li> <li><strong>▸ Content</strong> - the content area displays page and post content.</li> <li><strong>▸ Post Specific</strong> - the Content styling will be applied to both page and post content, but this section allows you to have specific styling for posts and blog views.</li> <li><strong>▸ Sidebars & Widget Areas</strong> - styling for the various Sidebars and Widget Areas.</li> <li><strong>▸ Individual Widgets</strong> - styling for individual widgets displayed in the Widget Areas.</li> <li><strong>▸ Footer Area</strong> - the footer area at the bottom of the site. This includes a widget area and an extra custom HTML insertion area.</li> <li><strong>▸ Global Options</strong> - some of the Option Categories can include other sections that can apply to global settings. Typography, for example, allows you to specify various global options such as base font size.</li> </ul>', 'weaver-xtreme'), 'type' => 'html')))); /** * Subtheme */ $starting_sections['starting-subtheme'] = array('panel' => $panel, 'title' => __('Try a Pre-defined Subtheme', 'weaver-xtreme'), 'options' => array('load_subtheme' => array('setting' => array('transport' => 'postMessage'), 'control' => array('control_type' => 'WeaverX_Load_WX_Subtheme', 'label' => __('Predefined Weaver Xtreme Subthemes', 'weaver-xtreme'), 'description' => __('Get a quick start on your site by selecting on of these predefined subthemes. Once you\'ve picked a subtheme, you can tweak it to look just like you want. The Legacy Weaver Xtreme Admin Subthemes tab offers many additional subthemes to choose from.', 'weaver-xtreme'))))); /** * Help links */ $starting_sections['starting-help'] = array('panel' => $panel, 'title' => __('Get Help using Weaver Xtreme', 'weaver-xtreme'), 'description' => __('Read the Weaver Xtreme Documentation', 'weaver-xtreme'), 'options' => array('starting-help-header' => array('control' => array('control_type' => 'WeaverX_Misc_Control', 'label' => __('Get Help', 'weaver-xtreme'), 'description' => sprintf(__('<h3>Support Forum</h3><p>Please see our active %s <strong>Support Forum</strong></a> for online help.</p> <h3>Theme Documentation</h3><p><strong>%s</strong><br />Complete documentation for using the Weaver Xtreme Theme.</p> <h3>Theme Demo</h3><p>%s<strong>Weaver Xtreme Demo Site</a></strong><br />Live demo of Weaver Xtreme and Weaver Xtreme Plus features.</p> <h3>CSS Tutorial</h3><p>Click for a short %s.</p> <h3>Supported Fonts</h3><p>Click for demo of %s.</p> ', 'weaver-xtreme'), weaverx_site('', '//forum.weavertheme.com/', __('Weaver Support Forum', 'weaver-xtreme'), false), weaverx_help_link('help.html', __('Weaver Xtreme Help', 'weaver-xtreme'), __('Weaver Xtreme Theme Documentation', 'weaver-xtreme'), false), weaverx_site('', '//demo.weavertheme.com/', __('Weaver Xtreme Demo Site', 'weaver-xtreme'), false), weaverx_help_link('css-help.html', __('Weaver CSS Help', 'weaver-xtreme'), __('CSS Tutorial', 'weaver-xtreme'), false), weaverx_help_link('font-demo.html', __('Examples of supported fonts', 'weaver-xtreme'), __('Font Examples', 'weaver-xtreme'), false)), 'type' => 'HTML')))); /* <?php weaverx_help_link('font-demo.html', __('Examples of supported fonts', 'weaver-xtreme'), __('Font Examples', 'weaver-xtreme')) ?> </h2> <p> <?php _e('Example of Font Families supported by Weaver Xtreme and Weaver Xtreme Plus.', 'weaver-xtreme'); ?> </p> */ /** * Filter the definitions for the controls in the panel of the Customizer */ //$starting_sections = apply_filters( 'weaverx_customizer_starting_sections', $starting_sections ); // Merge with master array return array_merge($sections, $starting_sections); }
<?php if (!weaverx_getopt('_hide_poweredby')) { ?> <span id="site-generator"> <a href="<?php echo esc_url(__('//wordpress.org/', 'weaver-xtreme')); ?> " title="wordpress.org" target="_blank" rel="nofollow"><?php printf(__('Proudly powered by %s', 'weaver-xtreme'), 'WordPress'); ?> </a> - <?php echo WEAVERX_THEMENAME; ?> by <?php weaverx_site(''); ?> WeaverTheme</a> </span> <!-- #site-generator --> <?php } weaverx_clear_both('site-generator'); ?> </div><!-- #site-ig-wrap --> <?php weaverx_clear_both('site-ig-wrap'); ?> </footer><!-- #colophon --> <?php weaverx_clear_both('colophon'); }
function weaverx_admin_pro() { weaverx_tab_title(__('Theme Add-ons', 'weaver-xtreme'), 'help.html#WeaverXPlus', __('Help for theme Add-ons', 'weaver-xtreme')); do_action('weaverx_show_licenses'); if (!function_exists('weaverxplus_plugin_installed')) { ?> <h2 style="font-weight:bold;"> <em><?php weaverx_site('', '//plus.weavertheme.com/', __('Weaver Xtreme Plus', 'weaver-xtreme')); _e('Weaver Xtreme Plus', 'weaver-xtreme'); ?> </a></em> <?php _e('gives you more premium Weaver Xtreme features', 'weaver-xtreme'); ?> </h2> <div class="a-plus"> <p> <?php _e('You can extend Weaver Xtreme\'s features by getting the premium <em>Weaver Xtreme Plus Plugin</em>. Weaver Xtreme Plus adds useful new options to the Weaver Xtreme admin tabs - many you\'ve probably already noticed mentioned on the existing option tabs.', 'weaver-xtreme'); ?> <p> <strong><em><?php _e('Premium features included with Weaver Xtreme Plus:', 'weaver-xtreme'); ?> </em></strong> <ul> <li><?php _e('<strong>More Wrapping Areas Options</strong> - Specify background images for specific areas', 'weaver-xtreme'); ?> </li> <li><?php _e('<strong>More Widget Options</strong> - Define custom multi-column widgets. Equalize multi-column widget height', 'weaver-xtreme'); ?> </li> <li><?php _e('<strong>More Font Options</strong> - Easily add font families from hundreds of Google Fonts', 'weaver-xtreme'); ?> </li> <li><?php _e('<strong>Add Extra Menus</strong> - Add extra menus to your site using the Weaver Xtreme Plus Extra Menu Widget, or the [extra_menu] shortcode', 'weaver-xtreme'); ?> </li> <li><?php _e('<strong>Additional Post Specifics Options</strong> - Define totally custom post top and bottom info lines', 'weaver-xtreme'); ?> </li> <li><strong><?php _e('More <HEAD> Section Options</strong> - define custom PHP actions and filters for WordPress', 'weaver-xtreme'); ?> </li> <li><strong><?php _e('Additional HTML Insertion Areas</strong> - Many HTML insertion area', 'weaver-xtreme'); ?> </li> <li><strong><?php _e('More Per Page HTML Insertion Options</strong> - Define HTML insertions on per page basis', 'weaver-xtreme'); ?> </li> </ul> </p> <p style="font-size:large;line-height:1.4em;"> <strong><span style="color:blue; font-weight:bold;"><?php _e('Get Weaver Xtreme Plus Now!', 'weaver-xtreme'); ?> </span></strong> <br /> <span style="margin-left:20px;"></span><?php _e('Visit', 'weaver-xtreme'); ?> <?php weaverx_site('', '//plus.weavertheme.com/', 'Weaver Xtreme Plus'); _e('Plus.WeaverTheme.com<', 'weaver-xtreme'); ?> /a> <?php _e('now to get your copy of <em>Weaver Xtreme Plus</em>.', 'weaver-xtreme'); ?> </p> </div> <?php } else { // to here, have Plus features echo '<h2 style="font-weight:bold;">' . __('Weaver Xtreme Plus Features - <span style="font-size:small;">You are using Weaver Xtreme Plus. Thank you.</span>', 'weaver-xtreme') . '</h2>' . "\n"; do_action('weaverxplus_admin', 'weaverxplus_admin'); } ?> <hr /> <?php if (!function_exists('wvrx_ts_installed')) { ?> <h2 style="font-weight:bold;"><?php _e('Get the <em>free</em> Weaver Xtreme Theme Support Plugin!', 'weaver-xtreme'); ?> </h2> <div class="a-plus"> <p> <?php _e('The <em>Weaver Xtreme Theme Support</em> plugin provides a collection of useful shortcodes and widgets to make it even easier to customize your site.', 'weaver-xtreme'); ?> </p> <p><strong><?php _e('See ', 'weaver-xtreme'); ?> <em> <?php weaverx_site('/plugins/weaverx-theme-plugins', '', 'Weaver Xtreme Plugins'); _e('Weaver Xtreme Plugins', 'weaver-xtreme'); ?> </a></em> <?php _e('for complete details.', 'weaver-xtreme'); ?> </strong></p> <p> <?php _e('Shortcodes and Widgets included:', 'weaver-xtreme'); ?> <ul> <li><strong><?php _e('[show|hide_if]</strong> - Show or hide content based on device, page/post ID, user role, or logged in status', 'weaver-xtreme'); ?> </li> <li><strong><?php _e('[tab_group]</strong> - Add content to a tabbed box', 'weaver-xtreme'); ?> </li> <li><?php _e('<strong>[youtube]</strong> - Show your YouTube videos responsively, and with the capability to use any of the YouTube custom display options', 'weaver-xtreme'); ?> </li> <li><strong><?php _e('[vimeo]</strong> - Show your Vimeo videos responsively, and with the capability to use any of the Vimeo custom display options', 'weaver-xtreme'); ?> </li> <li><?php _e('<strong>[iframe]</strong> - Quick and easy display of content in an iframe', 'weaver-xtreme'); ?> </li> <li><?php _e('Plus more shortcodes', 'weaver-xtreme'); ?> </li> <li><?php _e('Adds shortcode support to the standard Text Widget', 'weaver-xtreme'); ?> </li> <li><?php _e('<strong>Weaver Xtreme 2 Column Text Widget</strong> - Add text into two columns in a widget', 'weaver-xtreme'); ?> </li> <li><strong><?php _e('Weaver Xtreme Per Page Text Widget</strong> - Add a text widget on a per page basis', 'weaver-xtreme'); ?> </li> </ul> </p> </div> <?php } else { do_action('weaverx_theme_support_addon'); } }