Clairvoyance, Tarotkort, Kanalisering & Afdødekontakt
2.000 kr. / 1 time
$nicdark_themename = "beautypack"; //TGMPA required plugin require_once get_template_directory() . '/class-tgm-plugin-activation.php'; add_action( 'tgmpa_register', 'nicdark_register_required_plugins' ); function nicdark_register_required_plugins() { $nicdark_plugins = array( //cf7 array( 'name' => esc_html__( 'Contact Form 7', 'beautypack' ), 'slug' => 'contact-form-7', 'required' => true, ), //wp import array( 'name' => esc_html__( 'Wordpress Importer', 'beautypack' ), 'slug' => 'wordpress-importer', 'required' => true, ), //nd shortcodes array( 'name' => esc_html__( 'ND Shortcodes', 'beautypack' ), 'slug' => 'nd-shortcodes', 'required' => true, ), //revslider array( 'name' => esc_html__( 'Revolution Slider', 'beautypack' ), 'slug' => 'revslider', // The plugin slug (typically the folder name). 'source' => esc_url('http://www.nicdarkthemes.com/themes/beauty/wp/plugins/revslider.zip'), // The plugin source. 'required' => true, // If false, the plugin is only 'recommended' instead of required. ), //Visual Composer array( 'name' => esc_html__( 'Visual Composer', 'beautypack' ), 'slug' => 'js_composer', // The plugin slug (typically the folder name). 'source' => esc_url('http://www.nicdarkthemes.com/themes/beauty/wp/plugins/js_composer.zip'), // The plugin source. 'required' => true, // If false, the plugin is only 'recommended' instead of required. ), //Time Table array( 'name' => esc_html__( 'Time Table', 'beautypack' ), 'slug' => 'timetable', // The plugin slug (typically the folder name). 'source' => esc_url('http://www.nicdarkthemes.com/themes/beauty/wp/plugins/timetable.zip'), // The plugin source. 'required' => true, // If false, the plugin is only 'recommended' instead of required. ), //WooCommerce array( 'name' => esc_html__( 'Woo Commerce', 'beautypack' ), 'slug' => 'woocommerce', // The plugin slug (typically the folder name). 'source' => esc_url('http://www.nicdarkthemes.com/themes/beauty/wp/plugins/woocommerce.zip'), // The plugin source. 'required' => true, // If false, the plugin is only 'recommended' instead of required. ), ); $nicdark_config = array( 'id' => 'beautypack', // Unique ID for hashing notices for multiple instances of TGMPA. 'default_path' => '', // Default absolute path to bundled plugins. 'menu' => 'tgmpa-install-plugins', // Menu slug. 'has_notices' => true, // Show admin notices or not. 'dismissable' => true, // If false, a user cannot dismiss the nag message. 'dismiss_msg' => '', // If 'dismissable' is false, this message will be output at top of nag. 'is_automatic' => false, // Automatically activate plugins after installation or not. 'message' => '', // Message to output right before the plugins table. ); tgmpa( $nicdark_plugins, $nicdark_config ); } //END tgmpa //translation load_theme_textdomain( 'beautypack', get_template_directory().'/languages' ); //register my menus function nicdark_register_my_menus() { register_nav_menu( 'main-menu', esc_html__( 'Main Menu', 'beautypack' ) ); } add_action( 'init', 'nicdark_register_my_menus' ); //Content_width if (!isset($content_width )) $content_width = 1180; //automatic-feed-links add_theme_support( 'automatic-feed-links' ); //post-formats add_theme_support( 'post-formats', array( 'quote', 'image', 'link', 'video', 'gallery', 'audio' ) ); //title tag add_theme_support( 'title-tag' ); // Sidebar function nicdark_add_sidebars() { // Sidebar Main register_sidebar(array( 'name' => esc_html__('Sidebar','beautypack'), 'id' => 'nicdark_sidebar', 'before_widget' => '
', 'before_title' => '