$depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
© Company Name
ID, 'featuredarea_backgroundimage', true ) ) ? get_post_meta( $post->ID, 'featuredarea_backgroundimage', true ) : ''; ?> selective_refresh->add_partial( 'blogname', array( 'selector' => '.site-title', ) ); $wp_customize->selective_refresh->add_partial( 'blogdescription', array( 'selector' => '.site-description', ) ); $wp_customize->selective_refresh->add_partial( 'cyberchimps_options[bl_featuredarea_title]', array( 'selector' => '.featured-title' ) ); $wp_customize->selective_refresh->add_partial( 'cyberchimps_options[bl_featuredarea_text]', array( 'selector' => '.featured-text' ) ); $wp_customize->selective_refresh->add_partial( 'cyberchimps_options[bl_featuredarea_button1_text]', array( 'selector' => '.featured-button1' ) ); $wp_customize->selective_refresh->add_partial( 'cyberchimps_options[bl_featuredarea_button2_text]', array( 'selector' => '.featured-button2' ) ); $wp_customize->selective_refresh->add_partial( 'cyberchimps_options[bl_featuredarea_backgroundimage]', array( 'selector' => '#featuredarea_container' ) ); $wp_customize->selective_refresh->add_partial( 'cyberchimps_options[searchbar]', array( 'selector' => '#navigation #searchform' ) ); $wp_customize->selective_refresh->add_partial( 'cyberchimps_options[custom_logo]', array( 'selector' => '#logo' ) ); $wp_customize->selective_refresh->add_partial( 'nav_menu_locations[primary]', array( 'selector' => '#navigation' ) ); $wp_customize->selective_refresh->add_partial( 'cyberchimps_options[theme_backgrounds]', array( 'selector' => '#social' ) ); $wp_customize->selective_refresh->add_partial( 'cyberchimps_options[footer_show_toggle]', array( 'selector' => '#footer-widget-container' ) ); } add_action( 'customize_register', 'editparallax_customize_register' ); add_theme_support( 'customize-selective-refresh-widgets' ); if ( !function_exists( 'cyberchimps_comment' ) ) : // Template for comments and pingbacks. // Used as a callback by wp_list_comments() for displaying the comments. function cyberchimps_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; switch ( $comment->comment_type ) : case 'pingback' : case 'trackback' : ?>
PARALLAX30', 'cyberchimps_core' ), '' . $pro_title . ' ' ); ?>
' . $utm_text . ' '); ?>
__( 'Gray', 'parallax' ), 'slug' => 'gray', 'color' => '#777', ), array( 'name' => __( 'Light Gray', 'parallax' ), 'slug' => 'light-gray', 'color' => '#f5f5f5', ), array( 'name' => __( 'Black', 'parallax' ), 'slug' => 'black', 'color' => '#000000', ), array( 'name' => __( 'Blue', 'parallax' ), 'slug' => 'blue', 'color' => '#0286cf', ), array( 'name' => __( 'Legacy', 'parallax' ), 'slug' => 'legacy', 'color' => '#b6b6b6', ), array( 'name' => __( 'Red', 'parallax' ), 'slug' => 'red', 'color' => '#c80a00', ), ) ); } add_action( 'after_setup_theme', 'parallax_title_setup' ); //add new add on - WPForms function parallax_new_addon_sections( $sections_list ) { $sections_list[] = array( 'id' => 'cyberchimps_wpforms_lite_options', 'label' => __( 'WPForms Lite', 'parallax' ), 'heading' => 'cyberchimps_addons_heading' ); $sections_list[] = array( 'id' => 'cyberchimps_featured_lite_options', 'label' => __( 'Featured lite', 'parallax' ), 'heading' => 'cyberchimps_blog_heading' ); return $sections_list; } add_filter( 'cyberchimps_section_list', 'parallax_new_addon_sections', 20, 1 ); // Addon Fields function parallax_new_addon_fields( $fields_list ) { $fields_list[] = array( 'name' => __( 'WPForms Lite', 'cyberchimps_core' ), 'id' => 'wpforms_lite', 'type' => 'info', 'callback' => 'cyberchimps_custom_wpforms_lite_callback', 'section' => 'cyberchimps_wpforms_lite_options', 'heading' => 'cyberchimps_addons_heading' ); $fields_list[] = array( 'name' => __( 'Featured Area Title', 'parallax' ), 'id' => 'bl_featuredarea_title', 'std' => __( 'The Future Has Arrived', 'parallax' ), 'type' => 'text', 'section' => 'cyberchimps_featured_lite_options', 'heading' => 'cyberchimps_blog_heading' ); $fields_list[] = array( 'name' => __( 'Featured Area Text', 'parallax' ), 'id' => 'bl_featuredarea_text', 'std' => __( 'Mobile first responsive websites that look incredible on all devices.', 'parallax' ), 'type' => 'editor', 'section' => 'cyberchimps_featured_lite_options', 'heading' => 'cyberchimps_blog_heading' ); $fields_list[] = array( 'name' => __( 'Featured Area Button1 Text', 'parallax' ), 'id' => 'bl_featuredarea_button1_text', 'class' => 'featuredarea_button1_toggle', 'std' => __( 'Free Responsive Themes', 'parallax' ), 'type' => 'text', 'section' => 'cyberchimps_featured_lite_options', 'heading' => 'cyberchimps_blog_heading' ); $fields_list[] = array( 'name' => __( 'Featured Area Button1 URL', 'parallax' ), 'id' => 'bl_featuredarea_button1_url', 'class' => 'featuredarea_button1_toggle', 'std' => '', 'type' => 'text', 'section' => 'cyberchimps_featured_lite_options', 'heading' => 'cyberchimps_blog_heading' ); $fields_list[] = array( 'name' => __( 'Featured Area Button2 Text', 'parallax' ), 'id' => 'bl_featuredarea_button2_text', 'class' => 'featuredarea_button2_toggle', 'std' => __( 'Explore Pro Themes', 'parallax' ), 'type' => 'text', 'section' => 'cyberchimps_featured_lite_options', 'heading' => 'cyberchimps_blog_heading' ); $fields_list[] = array( 'name' => __( 'Featured Area Button2 URL', 'parallax' ), 'id' => 'bl_featuredarea_button2_url', 'class' => 'featuredarea_button2_toggle', 'std' => '', 'type' => 'text', 'section' => 'cyberchimps_featured_lite_options', 'heading' => 'cyberchimps_blog_heading' ); $fields_list[] = array( 'name' => __( 'Featured Area Background Image', 'parallax' ), 'id' => 'bl_featuredarea_backgroundimage', 'class' => 'custom_featuredbg_options_toggle', 'std' => '', 'type' => 'upload', 'section' => 'cyberchimps_featured_lite_options', 'heading' => 'cyberchimps_blog_heading' ); return $fields_list; } add_action( 'admin_notices', 'parallax_admin_notices' ); function parallax_admin_notices() { $admin_check_screen = get_admin_page_title(); if( !class_exists('SlideDeckPlugin') ) { $plugin='slidedeck/slidedeck.php'; $slug = 'slidedeck'; $installed_plugins = get_plugins(); if ( $admin_check_screen == 'Manage Themes' || $admin_check_screen == 'Theme Options Page' ) { ?>Liked this theme? Leave us a ***** rating. Thank you!