WordPress.org

Plugin Directory

Changeset 782406


Ignore:
Timestamp:
10/04/13 05:16:01 (4 years ago)
Author:
dlocc
Message:
  • New: Gap Visual Composer widget - now you can add a custom amount of spacing to any row!
  • New: Added admin icons for custom wordimpress VC widgets
  • Updated: Code cleanup and organization
Location:
wordimpress-delicias-theme/trunk
Files:
28 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • wordimpress-delicias-theme/trunk/delicias.php

    r777474 r782406  
    1010define('DELICIAS_THEME_URI', $templateURL); 
    1111define('DELICIAS_THEME_DIR', $templateDir); 
     12define('DELICIAS_PLUGIN_NAME', 'wordimpress-delicias-theme'); 
     13 
    1214/** 
    1315 * Advanced Custom Fields 
     
    1921include_once(get_template_directory() . '/lib/plugins/add-ons/acf-location-field/acf-location.php'); 
    2022$devEnviron = 'http://delicias.dev'; 
    21 if($devEnviron !== home_url()) { 
     23if ($devEnviron !== home_url()) { 
    2224    require_once (dirname(__FILE__) . '/options.php'); // Custom functions 
    2325} 
     
    4951    $wpVC_setup->init($composer_settings); 
    5052} 
     53 
     54 
     55/** 
     56 * Custom Visual Composer Widgets 
     57 */ 
     58 
     59if (class_exists('WPBakeryVisualComposerAbstract')) { 
     60 
     61    require_once(dirname(__FILE__) . '/inc/widgets/vc-custom/top-image-cta.php'); // Top Image Call to Action Widget 
     62    require_once(dirname(__FILE__) . '/inc/widgets/vc-custom/fixed-background-text-overlay.php'); //Fixed background text overlay widget 
     63    require_once(dirname(__FILE__) . '/inc/widgets/vc-custom/menu-carousel.php'); //Menu Items Carousel 
     64    require_once(dirname(__FILE__) . '/inc/widgets/vc-custom/custom-shortcode.php'); //Menu Items Carousel 
     65    require_once(dirname(__FILE__) . '/inc/widgets/vc-custom/space.php'); //Custom Gap Widget 
     66 
     67    if (!function_exists('js_composer_admin_css')) { 
     68        function js_composer_admin_css($hook) { 
     69            //custom CSS for JS composer admin end 
     70            wp_enqueue_style('', plugins_url(DELICIAS_PLUGIN_NAME.'/inc/css/js-composer-custom.css', dirname(__FILE__))); 
     71        } 
     72    } 
     73 
     74    add_action('admin_enqueue_scripts', 'js_composer_admin_css', 15); 
     75} 
     76 
    5177 
    5278/** 
     
    471497 
    472498/** 
    473  * Custom Visual Composer Widgets 
    474  */ 
    475 if (function_exists('wpb_map')) { 
    476     require_once(dirname(__FILE__) . '/widgets/vc-custom/top-image-cta.php'); // Top Image Call to Action Widget 
    477     require_once(dirname(__FILE__) . '/widgets/vc-custom/fixed-background-text-overlay.php'); //Fixed background text overlay widget 
    478     require_once(dirname(__FILE__) . '/widgets/vc-custom/menu-carousel.php'); //Menu Items Carousel 
    479     require_once(dirname(__FILE__) . '/widgets/vc-custom/custom-shortcode.php'); //Menu Items Carousel 
    480  
    481 } 
    482  
    483  
    484 /** 
    485499 * Deregister post type support 
    486500 */ 
     
    529543 */ 
    530544if (!class_exists('Simple_Info_Widget')) { 
    531     require_once(dirname(__FILE__) . '/widgets/simple-info-widget/simple-info-widget.php'); 
     545    require_once(dirname(__FILE__) . '/inc/widgets/simple-info-widget/simple-info-widget.php'); 
    532546} 
    533547 
  • wordimpress-delicias-theme/trunk/readme.txt

    r777475 r782406  
    3838== Changelog == 
    3939 
     40= 1.2.5 = 
     41* New: Gap Visual Composer widget - now you can add a custom amount of spacing to any row! 
     42* New: Added admin icons for custom wordimpress VC widgets 
     43* Updated: Code cleanup and organization 
     44 
    4045= 1.2 = 
    4146* Updated: Added carousel div wrap 
Note: See TracChangeset for help on using the changeset viewer.