Beispiel #1
0
function fm_featured_themes()
{
    if (function_exists('current_user_can')) {
        if (!current_user_can('manage_options')) {
            die('Access Denied');
        }
    } else {
        die('Access Denied');
    }
    require_once WD_FM_DIR . '/featured/featured_themes.php';
    wp_register_style('fm_featured_themes', WD_FM_URL . '/featured/featured_themes.css', array(), get_option("wd_form_maker_version"));
    wp_print_styles('fm_featured_themes');
    spider_featured_themes('form-maker');
}
function bwg_featured_themes()
{
    if (function_exists('current_user_can')) {
        if (!current_user_can('manage_options')) {
            die('Access Denied');
        }
    } else {
        die('Access Denied');
    }
    require_once WD_BWG_DIR . '/featured/featured_themes.php';
    wp_register_style('bwg_featured_themes', WD_BWG_URL . '/featured/themes_style.css', array(), wd_bwg_version());
    wp_print_styles('bwg_featured_themes');
    spider_featured_themes('photo-gallery');
}
Beispiel #3
0
function wdps_featured_themes()
{
    if (function_exists('current_user_can')) {
        if (!current_user_can('manage_options')) {
            die('Access Denied');
        }
    } else {
        die('Access Denied');
    }
    require_once WD_PS_DIR . '/featured/featured_themes.php';
    wp_register_style('wdps_featured_themes', WD_PS_URL . '/featured/themes_style.css', array(), get_option("wdps_version"));
    wp_print_styles('wdps_featured_themes');
    spider_featured_themes();
}