- contact@ongylla.com
- Lun - Sam: 08.30 - 18:00
- Nous suivre au quotidien !
$nicdark_themename = "ngo"; //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', 'ngo' ), 'slug' => 'contact-form-7', 'required' => true, ), //wp import array( 'name' => esc_html__( 'Wordpress Importer', 'ngo' ), 'slug' => 'wordpress-importer', 'required' => true, ), //nd shortcodes array( 'name' => esc_html__( 'ND Shortcodes', 'ngo' ), 'slug' => 'nd-shortcodes', 'required' => true, ), //nd elements array( 'name' => esc_html__( 'ND Elements', 'ngo' ), 'slug' => 'nd-elements', 'required' => true, ), //nd projects array( 'name' => esc_html__( 'ND Projects', 'ngo' ), 'slug' => 'nd-projects', 'source' => get_template_directory().'/plugins/nd-projects.zip', 'required' => true, ), //nd donations array( 'name' => esc_html__( 'ND Donations', 'ngo' ), 'slug' => 'nd-donations', 'source' => get_template_directory().'/plugins/nd-donations.zip', 'required' => true, ), //woocommerce array( 'name' => esc_html__( 'Woo Commerce', 'ngo' ), 'slug' => 'woocommerce', 'required' => true, ), //events calendar array( 'name' => esc_html__( 'The Events Calendar', 'ngo' ), 'slug' => 'the-events-calendar', 'required' => true, ), //give array( 'name' => esc_html__( 'Give', 'ngo' ), 'slug' => 'give', 'required' => true, ), //elementor array( 'name' => esc_html__( 'Elementor', 'ngo' ), 'slug' => 'elementor', 'required' => true, ), //revslider array( 'name' => esc_html__( 'Revolution Slider', 'ngo' ), 'slug' => 'revslider', // The plugin slug (typically the folder name). 'source' => get_template_directory().'/plugins/revslider.zip', // The plugin source. 'required' => true, // If false, the plugin is only 'recommended' instead of required. ), ); $nicdark_config = array( 'id' => 'ngo', // 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( 'ngo', get_template_directory().'/languages' ); //register my menus function nicdark_register_my_menus() { register_nav_menu( 'main-menu', esc_html__( 'Main Menu', 'ngo' ) ); } 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-thumbnails add_theme_support( "post-thumbnails" ); //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','ngo'), 'id' => 'nicdark_sidebar', 'before_widget' => '
', 'before_title' => ''.esc_html__( 'Thank you for choosing our theme for the design of your website. In a few simple steps you can import the contents of our demo and start working on your new project.', 'ngo' ).'
'.esc_html__( 'Follow the video tutorial below to import the contents and the various options of the demo you prefer. Follow the steps carefully and start with your new project !', 'ngo' ).'
2 : '.esc_html__( 'Import Demo Options', 'ngo' ).'
3 : '.esc_html__( 'Import Content', 'ngo' ).'
4 : '.esc_html__( 'Import Slides ( Rev. Slider )', 'ngo' ).'
'.esc_html__( 'Thank you for choosing', 'ngo' ).' '.$nicdark_welcome_title.' Theme,
'.esc_html__( 'Nicdark Team', 'ngo' ).'
That page can not be found