PluginProbe
Virtue/Ascend/Pinnacle Toolkit / 4.9.2
Virtue/Ascend/Pinnacle Toolkit v4.9.2
trunk 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3.0 3.1 3.2 3.3 3.4 3.7 3.8 All 47 releases
virtue-toolkit / widgets.php

widgets.php in Virtue/Ascend/Pinnacle Toolkit 4.9.2, at widgets.php

18 lines 733 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Widget being added soon
4 */
5
6 //add_action( 'init', 'kadence_toolkit_initialize_theme_widgets', 5 );
7 function kadence_toolkit_initialize_theme_widgets() {
8 $the_theme = wp_get_theme();
9 if ( 'Pinnacle' == $the_theme->get( 'Name' ) || 'pinnacle' == $the_theme->get( 'Template') ) {
10 require_once( VIRTUE_TOOLKIT_PATH .'widgets/class-kad-image-widget.php');
11 } else if( 'Virtue' == $the_theme->get( 'Name' ) || 'virtue' == $the_theme->get( 'Template') ) {
12 require_once( VIRTUE_TOOLKIT_PATH .'widgets/class-simple-about-with-image.php');
13 } else if( 'Ascend' == $the_theme->get( 'Name' ) || 'ascend' == $the_theme->get( 'Template') ) {
14 require_once( VIRTUE_TOOLKIT_PATH .'widgets/class-ascend-image-widget.php');
15 }
16
17 }
18