Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Exit if accessed directly
- if ( !defined( 'ABSPATH' ) ) exit;
- // BEGIN ENQUEUE PARENT ACTION
- // AUTO GENERATED - Do not modify or remove comment markers above or below:
- if ( !function_exists( 'chld_thm_cfg_parent_css' ) ):
- function chld_thm_cfg_parent_css() {
- wp_enqueue_style( 'chld_thm_cfg_parent', trailingslashit( get_template_directory_uri() ) . 'style.css', array( 'animate','accesspress-mag-fontawesome-font','accesspress-mag-tooltipstyle','accesspress-mag-scroolstyle','accesspress-mag-owlCarouselStyle' ) );
- }
- endif;
- add_action( 'wp_enqueue_scripts', 'chld_thm_cfg_parent_css', 10 );
- if ( !function_exists( 'child_theme_configurator_css' ) ):
- function child_theme_configurator_css() {
- wp_enqueue_style( 'chld_thm_cfg_separate', trailingslashit( get_stylesheet_directory_uri() ) . 'ctc-style.css', array( 'chld_thm_cfg_parent','accesspress-mag-style','responsive','accesspress-mag-nivolightbox-style' ) );
- }
- endif;
- add_action( 'wp_enqueue_scripts', 'child_theme_configurator_css' );
- if ( !function_exists( 'hrg_access_custom_scripts' ) ):
- function hrg_access_custom_scripts() {
- // Register and Enqueue a Script
- // get_stylesheet_directory_uri will look up child theme location
- // wp_register_style( 'lightview', get_stylesheet_directory_uri() . 'https://www.myhrsupportcenter.com/lightview/css/lightview.css');
- // wp_enqueue_style( 'lightview' );
- // Register and Enqueue a Script
- // get_stylesheet_directory_uri will look up child theme location
- wp_register_script( 'prototype', get_stylesheet_directory_uri() . 'http://ajax.googleapis.com/ajax/libs/prototype/1.6.1/prototype.js');
- wp_enqueue_script( 'prototype' );
- // Register and Enqueue a Script
- // get_stylesheet_directory_uri will look up child theme location
- wp_register_script( 'scriptaculous', get_stylesheet_directory_uri() . 'http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.2/scriptaculous.js');
- wp_enqueue_script( 'scriptaculous' );
- // Register and Enqueue a Script
- // get_stylesheet_directory_uri will look up child theme location
- // wp_register_script( 'lightview', get_stylesheet_directory_uri() . 'http://www.myhrsupportcenter.com/lightview/js/lightview.js');
- // wp_enqueue_script( 'lightview' );
- }
- //
- endif;
- add_action('wp_enqueue_scripts', 'hrg_access_custom_scripts');
- /**
- * Custom widget area
- */
- register_sidebar( array(
- 'name' => __( 'Custom Widget Area'),
- 'id' => 'custom-widget-area',
- 'description' => __( 'An optional custom widget area for your site', 'accesspress-mag' ),
- 'before_widget' => '<aside id="%1$s" class="widget %2$s">',
- 'after_widget' => '</aside>',
- 'before_title' => '<h1 class="widget-title"><span>',
- 'after_title' => '</span></h1>',
- ) );
- // END ENQUEUE PARENT ACTION
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement