Astra_Customizer::style_guide_template()
Easy navigation template.
Description
Return
(void)
Source
File: inc/customizer/class-astra-customizer.php
public function style_guide_template() { if ( ! is_customize_preview() ) { return; } $js_prefix = '.min.js'; $dir = 'minified'; if ( SCRIPT_DEBUG ) { $js_prefix = '.js'; $dir = 'unminified'; } wp_enqueue_script( 'astra-style-guide-previewer-js', ASTRA_THEME_URI . 'assets/js/' . $dir . '/style-guide-previewer' . $js_prefix, array( 'jquery' ), ASTRA_THEME_VERSION, true ); ?> <div class="ast-style-guide-wrapper"> <?php echo do_shortcode( $this->render_style_guide_markup() ); ?> </div> <?php }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
4.8.0 | Introduced. |