/home/desid573/public_html/magicride.ng/wp-content/themes/drizzle-mag
NameSizeModeActions
css/-0755rm
images/-0755rm
includes/-0755rm
js/-0755rm
template-parts/-0755rm
vendors/-0755rm
404.php8560644editdlrm
archive.php11970644editdlrm
comments.php31960644editdlrm
footer.php11570644editdlrm
functions.php75310644editdlrm
header.php17860644editdlrm
home.php10830644editdlrm
index.php14310644editdlrm
package-lock.json1324900644editdlrm
page.php16930644editdlrm
readme.txt34550644editdlrm
screenshot.png2491130644editdlrm
search.php14710644editdlrm
sidebar-secondary.php7670644editdlrm
sidebar.php7570644editdlrm
single.php10930644editdlrm
style.css835350644editdlrm
Edit: /home/desid573/public_html/magicride.ng/wp-content/themes/drizzle-mag/functions.php (7531B)
esc_html__( 'Primary Menu', 'drizzle-mag' ), 'footer' => esc_html__( 'Footer Menu', 'drizzle-mag' ), 'social' => esc_html__( 'Social Menu', 'drizzle-mag' ), ) ); // Add support for HTML5 markup. add_theme_support( 'html5', array( 'comment-form', 'comment-list', 'gallery', 'caption', ) ); // Set up the WordPress core custom background feature. add_theme_support( 'custom-background', apply_filters( 'drizzle_mag_custom_background_args', array( 'default-color' => 'F1F0F0', 'default-image' => '', ) ) ); // Enable support for selective refresh of widgets in Customizer. add_theme_support( 'customize-selective-refresh-widgets' ); // Enable support for custom logo. add_theme_support( 'custom-logo' ); $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; // Enable admin editor style. add_editor_style( array( drizzle_mag_fonts_url(), 'css/editor-style' . $min . '.css' ) ); } endif; add_action( 'after_setup_theme', 'drizzle_mag_setup' ); /** * Set the content width in pixels, based on the theme's design and stylesheet. * * Priority 0 to make it available to lower priority callbacks. * * @global int $content_width */ function drizzle_mag_content_width() { $GLOBALS['content_width'] = apply_filters( 'drizzle_mag_content_width', 640 ); } add_action( 'after_setup_theme', 'drizzle_mag_content_width', 0 ); /** * Register widget area. * * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar */ function drizzle_mag_widgets_init() { register_sidebar( array( 'name' => esc_html__( 'Primary Sidebar', 'drizzle-mag' ), 'id' => 'sidebar-1', 'description' => esc_html__( 'Add widgets here to appear in your Primary Sidebar.', 'drizzle-mag' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => esc_html__( 'Secondary Sidebar', 'drizzle-mag' ), 'id' => 'sidebar-2', 'description' => esc_html__( 'Add widgets here to appear in your Secondary Sidebar.', 'drizzle-mag' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => esc_html__( 'Header Right Widget Area', 'drizzle-mag' ), 'id' => 'sidebar-header-right-widget-area', 'description' => esc_html__( 'Add widgets here to appear in your Header Right Widget Area. Especially used for image or ad widget.', 'drizzle-mag' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => esc_html__( 'Front Page Widget Area', 'drizzle-mag' ), 'id' => 'sidebar-front-page-widget-area', 'description' => esc_html__( 'Add widgets here to appear in your Front Page.', 'drizzle-mag' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => sprintf( esc_html__( 'Footer %d', 'drizzle-mag' ), 1 ), 'id' => 'footer-1', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => sprintf( esc_html__( 'Footer %d', 'drizzle-mag' ), 2 ), 'id' => 'footer-2', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => sprintf( esc_html__( 'Footer %d', 'drizzle-mag' ), 3 ), 'id' => 'footer-3', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => sprintf( esc_html__( 'Footer %d', 'drizzle-mag' ), 4 ), 'id' => 'footer-4', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); } add_action( 'widgets_init', 'drizzle_mag_widgets_init' ); /** * Enqueue scripts and styles. */ function drizzle_mag_scripts() { $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; wp_enqueue_style( 'font-awesome', get_template_directory_uri() . '/vendors/font-awesome/css/font-awesome' . $min . '.css', '', '4.7.0' ); $fonts_url = drizzle_mag_fonts_url(); if ( ! empty( $fonts_url ) ) { wp_enqueue_style( 'drizzle-mag-google-fonts', $fonts_url, array(), null ); } wp_enqueue_style( 'jquery-sidr', get_template_directory_uri() . '/vendors/sidr/css/jquery.sidr.dark' . $min . '.css', '', '2.2.1' ); wp_enqueue_style( 'jquery-slick', get_template_directory_uri() . '/vendors/slick/slick' . $min . '.css', '', '1.5.9' ); wp_enqueue_style( 'drizzle-mag-style', get_stylesheet_uri(), array(), '1.0.1' ); wp_enqueue_script( 'drizzle-mag-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix' . $min . '.js', array(), '20130115', true ); wp_enqueue_script( 'jquery-cycle2', get_template_directory_uri() . '/vendors/cycle2/js/jquery.cycle2' . $min . '.js', array( 'jquery' ), '2.1.6', true ); wp_enqueue_script( 'jquery-sidr', get_template_directory_uri() . '/vendors/sidr/js/jquery.sidr' . $min . '.js', array( 'jquery' ), '2.2.1', true ); wp_enqueue_script( 'jquery-slick', get_template_directory_uri() . '/vendors/slick/slick' . $min . '.js', array( 'jquery' ), '1.5.9', true ); wp_enqueue_script( 'drizzle-mag-custom', get_template_directory_uri() . '/js/custom' . $min . '.js', array( 'jquery' ), '1.0.0', true ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } } add_action( 'wp_enqueue_scripts', 'drizzle_mag_scripts' ); // Load starting file. require_once trailingslashit( get_template_directory() ) . 'includes/start.php';