I need help searching in a .php-file that belongs to the core-theme. I need to find, and turn off a function that hides a page-title (entry-title) when a header image is chosen for the page. The function should be somewhere in the file the-core-parent/theme-includes/helpers.php, but my .php-skills are limited.
I know it is a big file but would be very grateful if someone could find the code and suggest a change.
Display go to top button
*/
function the_core_go_to_top_button(){
if ( function_exists( 'fw_get_db_settings_option' ) ) {
$the_core_settings_option = fw_get_db_settings_option();
I need help searching in a .php-file that belongs to the core-theme. I need to find, and turn off a function that hides a page-title (entry-title) when a header image is chosen for the page. The function should be somewhere in the file the-core-parent/theme-includes/helpers.php, but my .php-skills are limited.
I know it is a big file but would be very grateful if someone could find the code and suggest a change.
<?php if ( ! defined( 'ABSPATH' ) ) { die( 'Direct access forbidden.' ); }
/**
// TODO: separate functions in specific files
if( ! function_exists( 'the_core_get_the_archive_title' ) ) : /**
Get the archive title / function the_core_get_the_archive_title() { if ( is_category() ) { $title = single_cat_title( '', false ); } elseif ( is_tag() ) { $title = single_tag_title( '', false ); } elseif ( is_author() ) { $title = get_the_author(); } elseif ( is_year() ) { $title = get_the_date( _x( 'Y', 'yearly archives date format', 'the-core' ) ); } elseif ( is_month() ) { $title = get_the_date( _x( 'F Y', 'monthly archives date format', 'the-core' ) ); } elseif ( is_day() ) { $title = get_the_date( _x( 'F j, Y', 'daily archives date format', 'the-core' ) ); } elseif ( is_tax( 'post_format' ) ) { if ( is_tax( 'post_format', 'post-format-aside' ) ) { $title = _x( 'Asides', 'post format archive title', 'the-core' ); } elseif ( is_tax( 'post_format', 'post-format-gallery' ) ) { $title = _x( 'Galleries', 'post format archive title', 'the-core' ); } elseif ( is_tax( 'post_format', 'post-format-image' ) ) { $title = _x( 'Images', 'post format archive title', 'the-core' ); } elseif ( is_tax( 'post_format', 'post-format-video' ) ) { $title = _x( 'Videos', 'post format archive title', 'the-core' ); } elseif ( is_tax( 'post_format', 'post-format-quote' ) ) { $title = _x( 'Quotes', 'post format archive title', 'the-core' ); } elseif ( is_tax( 'post_format', 'post-format-link' ) ) { $title = _x( 'Links', 'post format archive title', 'the-core' ); } elseif ( is_tax( 'post_format', 'post-format-status' ) ) { $title = _x( 'Statuses', 'post format archive title', 'the-core' ); } elseif ( is_tax( 'post_format', 'post-format-audio' ) ) { $title = _x( 'Audio', 'post format archive title', 'the-core' ); } elseif ( is_tax( 'post_format', 'post-format-chat' ) ) { $title = _x( 'Chats', 'post format archive title', 'the-core' ); } } elseif ( is_post_type_archive() ) { $title = post_type_archive_title( '', false ); } elseif ( is_tax() ) { $tax = get_taxonomy( get_queried_object()->taxonomy ); / translators: 1: Taxonomy singular name, 2: Current taxonomy term */ $title = sprintf( esc_html( '%1$s: %2$s', 'the-core' ), $tax->labels->singular_name, single_term_title( '', false ) ); } else { $title = esc_html( 'Archives', 'the-core' ); }
} endif;
if ( ! function_exists( 'the_core_render_view' ) ) : /**
@return string HTML */ function the_core_render_view( $file_path, $view_variables = array(), $return = true ) { extract( $view_variables, EXTR_REFS );
} endif;
if ( ! function_exists( 'the_core_get_featured_posts' ) ) : /**
if ( ! function_exists( 'the_core_match_aspect_ratio_class' ) ) { /**
the_core_match_aspect_ratio_class(295, 166) => fw-ratio-16-9 */ function the_core_match_aspect_ratio_class( $ratio, $h = 0 ) { $precision = 0.02; if ( $h ) { $ratio = round( $ratio / $h, 3 ); } $ratios = array( '1' => 'fw-ratio-1', //1:1 '2' => 'fw-ratio-2-1', //2:1 '0.5' => 'fw-ratio-1-2', //1:2 '1.333' => 'fw-ratio-4-3', //4:3 '0.75' => 'fw-ratio-3-4', //3:4 '1.777' => 'fw-ratio-16-9', //16:9 '0.5625' => 'fw-ratio-9-16', //9:16 '1.5' => 'fw-ratio-3-2', //3:2 '0.666' => 'fw-ratio-2-3', //2:3 '1.666' => 'fw-ratio-5-3', //5:3 '0.6' => 'fw-ratio-3-5', //3:5 '1.6' => 'fw-ratio-16-10', //16:10 '0.625' => 'fw-ratio-10-16' //10:16 );
} }
if ( ! function_exists( 'the_core_image' ) ) { /**
@return array|string */ function the_core_image( $attachment = null, $args = null ) { $defaults = array( 'ratio' => 'fw-ratio-16-9', 'size' => 'thumbnail', 'img_attr' => array(), 'isbg' => false, 'return' => false ); extract( wp_parse_args($args, $defaults) );
} }
if ( ! function_exists( 'the_core_get_posts' ) ): /**
@param string $category Set category from where posts would be extracted */ function the_core_get_posts( $args = null ) { $defaults = array( 'sort' => 'recent', 'items' => 5, 'image_post' => true, 'return_image_tag' => true, 'return_for_the_core_image' => false, 'image_width' => 54, 'image_height' => 54, 'image_class' => 'thumbnail', 'date_post' => true, 'date_format' => 'F jS, Y', 'date_query' => array(), 'post_type' => 'post', 'category' => '', 'excerpt_length' => 40 );
} endif;
if ( ! function_exists( 'the_core_paging_navigation' ) ) : /**
@param object $wp_query */ function the_core_paging_navigation( $wp_query = null ) { if ( ! $wp_query ) { $wp_query = $GLOBALS['wp_query']; }
} endif;
if ( ! function_exists( 'the_core_logo' ) ): /**
@param boolean $wrap */ function the_core_logo( $wrap = false ) { $the_core_logo_settings['logo']['selected_value'] = 'text'; $the_core_logo_settings['logo']['text']['title'] = get_bloginfo( 'name' ); $the_core_logo_settings['logo']['text']['subtitle'] = ''; if ( defined( 'FW' ) ) { $the_core_logo_settings = fw_get_db_settings_option( 'logo_settings' ); } ?> <?php $empty_logo = false; if( $the_core_logo_settings['logo']['selected_value'] == 'image' ) { if( empty($the_core_logo_settings['logo']['image']['image_logo']) ) { $empty_logo = true; } } else { if( empty($the_core_logo_settings['logo']['text']['title']) && empty($the_core_logo_settings['logo']['text']['subtitle']) ) { $empty_logo = true; } } ?> <?php if( !$empty_logo ) : ?>
<?php } endif;
if ( ! function_exists( 'the_core_post_meta' ) ) : /**
@param array $atts */ function the_core_post_meta( $post_id, $post_type = 'post', $atts = array( 'extra_options' => array() ) ) { $the_core_permalink = get_permalink($post_id); $posts_general_settings = defined( 'FW' ) ? fw_get_db_settings_option( 'posts_settings', '' ) : array(); if( !empty( $atts['extra_options'] ) ) { // change general settings with extra options (from shortcode, or an other resource - only the values from extra_options) $posts_general_settings = array_merge( $posts_general_settings, $atts['extra_options'] ); } $post_date = isset( $posts_general_settings['post_date'] ) ? $posts_general_settings['post_date'] : ''; $post_author = isset( $posts_general_settings['post_author'] ) ? $posts_general_settings['post_author'] : ''; $post_categories = isset( $posts_general_settings['post_categories'] ) ? $posts_general_settings['post_categories'] : '';
} endif;
if ( ! function_exists( 'the_core_post_meta_blog_2' ) ) : /**
<?php } endif;
if ( ! function_exists( 'the_core_get_socials' ) ) : /**
@param string $class */ function the_core_get_socials( $class ) { $socials = fw_get_db_settings_option( 'socials' );
} endif;
if ( ! function_exists( 'the_core_get_content_class' ) ) : /**
if ( ! function_exists( 'the_core_return_term_id' ) ) : /**
@param string $taxonomy */ function the_core_return_term_id( $taxonomy = '' ) { if ( $taxonomy == 'category' ) { $term = get_category( get_query_var( 'cat' ) ); } else { $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); }
} endif;
if ( ! function_exists( 'the_core_single_post_title' ) ) : /**
@param string $post_type */ function the_core_single_post_title( $post_id, $post_type = 'post' ) { if ( ! defined( 'FW' ) ) { if($post_type == 'fw-event'){ echo '
' . get_the_title() . '
'; } else{ echo '' . get_the_title() . '
'; } return; } elseif( function_exists('fw_ext_page_builder_is_builder_post') && fw_ext_page_builder_is_builder_post($post_id) && $post_type == 'fw-portfolio' ){ return; }} endif;
if( ! function_exists( 'the_core_header_image' ) ) : /**
Display header image for taxonomies and posts */ function the_core_header_image(){ if (!defined('FW')) { return; }
} endif;
if( ! function_exists( 'the_core_single_post_options' ) ) : /**
@param integer $post_id */ function the_core_single_post_options($post_id) { $featured_image = 'yes'; $frame = '';
} endif;
if( ! function_exists( 'the_core_listing_post_options' ) ) : /**
@param integer $post_id */ function the_core_listing_post_options($post_id) { $image_alignment = $rounded = $frame = $image_ratio = '';
} endif;
if( ! function_exists( 'the_core_general_posts_options' ) ) : /**
if ( ! function_exists( 'the_core_get_all_portfolio_taxonomy_list' ) ) : /**
@param string $param */ function the_core_get_all_portfolio_taxonomy_list( $param = 'All Categories' ) { $taxonomy = 'fw-portfolio-category'; $args = array( 'hide_empty' => true, );
} endif;
if ( ! function_exists( 'the_core_button_class' ) ) : /**
if ( ! function_exists( 'the_core_get_datetime_attribute' ) ) : /**
if ( ! function_exists( 'the_core_cat_links' ) ): /**
if ( ! function_exists( 'the_core_get_category_term_list' ) ) : /**
Return array of categories */ function the_core_get_category_term_list() { $taxonomy = 'category'; $args = array( 'hide_empty' => true, );
} endif;
if ( ! function_exists( 'the_core_header_search' ) ) : /**
@param array $atts */ function the_core_header_search( $atts = array('search_type' => 'fw-input-search', 'placeholder_text'=> '') ) { ?>
<?php } endif;
if ( ! function_exists( 'the_core_header_mini_search' ) ) : /**
<?php } endif;
if ( ! function_exists( 'the_core_header' ) ) : /**
Display theme header */ function the_core_header() { $the_core_header_settings = defined( 'FW' ) ? fw_get_db_settings_option( 'header_settings' ) : array(); $the_core_header_type = isset( $the_core_header_settings['header_type_picker']['header_type'] ) ? $the_core_header_settings['header_type_picker']['header_type'] : 'header-1';
} endif;
if ( ! function_exists( 'the_core_footer' ) ) : /**
Display theme footer */ function the_core_footer() { $the_core_footer_settings = defined( 'FW' ) ? fw_get_db_settings_option( 'footer_settings' ) : array(); $themefuse_link = 'http://themefuse.com/'; $show_footer_widgets = isset( $the_core_footer_settings['show_footer_widgets']['selected_value'] ) ? $the_core_footer_settings['show_footer_widgets']['selected_value'] : 'yes'; $show_menu_bar = isset( $the_core_footer_settings['show_menu_bar']['selected_value'] ) ? $the_core_footer_settings['show_menu_bar']['selected_value'] : 'yes'; $copyright_position = isset( $the_core_footer_settings['copyright_position'] ) ? $the_core_footer_settings['copyright_position'] : 'fw-copyright-center'; $footer_socials = isset( $the_core_footer_settings['footer_socials']['selected_value'] ) ? $the_core_footer_settings['footer_socials']['selected_value'] : 'no'; $copyright = isset( $the_core_footer_settings['copyright'] ) ? $the_core_footer_settings['copyright'] : 'Copyright ©2015 ThemeFuse. All Rights Reserved'; ?> <?php if ( $show_footer_widgets == 'yes' ) : get_template_part( 'templates/footers/footer-widgets' ); endif; ?>
<?php } endif;
if ( ! function_exists( 'the_core_get_blog_view' ) ) : /**
@param string $the_core_sidebar_position */ function the_core_get_blog_view( $the_core_blog_view, $selector = 'class', $the_core_sidebar_position = null ) { if ( $the_core_blog_view == 'grid' ) { if ( $selector == 'id' ) { return ( $the_core_sidebar_position == null || $the_core_sidebar_position == 'full' ) ? 'id="postlist-grid3"' : 'id="postlist-grid2"'; } else { return ( $the_core_sidebar_position == null || $the_core_sidebar_position == 'full' ) ? 'clearfix fw-row postlist-grid postlist-grid-cols3' : 'clearfix fw-row postlist-grid postlist-grid-cols2'; } }
} endif;
if ( ! function_exists( 'the_core_get_blog_wrap' ) ) : /**
@param string $the_core_sidebar_position */ function the_core_get_blog_wrap( $the_core_blog_view, $the_core_sidebar_position = null ) { $the_core_wrap_div = array();
} endif;
if ( ! function_exists( 'the_core_get_instagram_photos' ) ): /**
@param integer $items - number of photos */ function the_core_get_instagram_photos( $username, $items = 9 ) { if ( false === ( $instagram = get_transient( 'instagram-photos-' . sanitize_title_with_dashes( $username ) . '-'.$items ) ) ) { $connect = wp_remote_get( 'http://instagram.com/' . trim( $username ) );
} endif;
if ( ! function_exists( 'the_core_translate' ) ) : /**
@param string $content */ function the_core_translate( $content ) { $content = html_entity_decode( $content, ENT_QUOTES, 'UTF-8' );
} endif;
if ( ! function_exists( 'the_core_twitter_formating' ) ) : /**
@param string $user / function the_core_twitter_formating( $text, $user ) { $pattern = array( '/[^(:\/\/)](www.[^ \n\r]+)/', '/(https?:\/\/[^ \n\r]+)/', '/@(\w+)/', '/^' . $user . ':\s/i' ); $replace = array( '$1', '$1', '@$1' . '' );
} endif;
if ( ! function_exists( 'the_core_fade_slider_effects' ) ) : /**
if ( ! function_exists( 'the_core_image_video_slider_effects' ) ) : /**
if ( ! function_exists( 'the_core_related_articles' ) ) : /**
Return post related articles */ function the_core_related_articles() { global $post; $taxonomy = 'post_tag'; $post_terms = array(); $terms = wp_get_post_terms( $post->ID, $taxonomy ); if ( ! empty( $terms ) ) { foreach ( $terms as $term ) { $post_terms[] = $term->term_id; } } else { // if post have 0 tags $taxonomy = 'category'; $terms = wp_get_post_terms( $post->ID, $taxonomy ); if ( ! empty( $terms ) ) { foreach ( $terms as $term ) { $post_terms[] = $term->term_id; } } }
} endif;
if ( ! function_exists( 'the_core_include_file_from_child' ) ) : /**
if ( ! function_exists( 'the_core_get_font_array' ) ) : /**
@param array $the_core_color_settings */ function the_core_get_font_array( $font_array, $the_core_color_settings ) { global $google_fonts_list; $return['font-family'] = "'".$font_array['family']."'"; $return['font-size'] = $font_array['size'].'px'; $return['line-height'] = $font_array['line-height'].'px'; $return['letter-spacing'] = $font_array['letter-spacing'].'px'; $return['color'] = ''; if( isset($font_array['color-palette']['id']) && $font_array['color-palette']['id'] == 'fw-custom'){ if( !empty($font_array['color-palette']['color']) ){ $return['color'] = $font_array['color-palette']['color']; } } elseif( isset($font_array['color-palette']['id']) && isset($the_core_color_settings[$font_array['color-palette']['id']]) ){ $return['color'] = $the_core_color_settings[$font_array['color-palette']['id']]; }
} endif;
if ( ! function_exists( 'the_core_get_remote_fonts' ) ) : /**
@param array $include_from_google */ function the_core_get_remote_fonts( $include_from_google ) { if ( ! sizeof( $include_from_google ) || !defined('FW') ) { return ''; }
} endif;
if ( ! function_exists( 'the_core_user_has_gravatar' ) ) : /**
@param string $email_address */ function the_core_user_has_gravatar( $email_address ) { // Build the Gravatar URL by hasing the email address $url = 'http://www.gravatar.com/avatar/' . md5( strtolower( trim( $email_address ) ) ) . '?d=404'; // Now check the headers $headers = @get_headers( $url );
} endif;
if ( ! function_exists( 'the_core_is_real_post_save' ) ) : /**
if( ! function_exists( 'the_core_array_merge_recursive' ) ) : /**
@param array $b */ function the_core_array_merge_recursive($a, $b) { if (!is_array($a) || !is_array($b)) { return $a; }
} endif;
if ( ! function_exists( 'the_core_get_shortcode_advanced_styles' ) ) : /**
@param array $atts */ function the_core_get_shortcode_advanced_styles( $style, $atts = array('return_color' => false, 'general_options' => false, 'custom_meta' => '' ) ) { $advanced_styles = $title_color = '';
} endif;
if ( ! function_exists( 'the_core_get_color_palette_color_and_class' ) ) : /**
@param array $atts */ function the_core_get_color_palette_color_and_class( $color_array, $atts = array('return_color' => false ) ) { $return['color'] = $return['class'] = ''; if(empty($color_array)){ return $return; } if ( $color_array['id'] == 'fw-custom' ) { if ( ! empty( $color_array['color'] ) ) { $return['color'] = $color_array['color']; } } else { if( $atts['return_color'] ){ // get colors from db global $the_core_color_settings; $return['color'] = $the_core_color_settings[ $color_array['id'] ]; } else { $return['class'] = $color_array['id']; } }
} endif;
if ( ! function_exists( 'the_core_hex2rgba' ) ) : /**
@param boolean $the_core_opacity */ function the_core_hex2rgba($color, $the_core_opacity = false) {
} endif;
if ( ! function_exists( 'the_core_get_blog_button' ) ) : /**
@param array $atts */ function the_core_get_blog_button( $atts = array( 'permalink' => '', 'extra_options' => array() ) ) { $blog_button_options = $button_size = array(); $posts_settings = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('posts_settings') : array();
<?php } endif;
if ( ! function_exists( 'the_core_posts_advanced_styles' ) ): /**
return blog button styles */ function the_core_posts_advanced_styles(){ $final_styles = ''; $the_core_settings_option = array(); if ( function_exists( 'fw_get_db_settings_option' ) ) { $the_core_settings_option = fw_get_db_settings_option(); }
} endif;
if ( ! function_exists( 'the_core_blog_title_styles' ) ): /**
return blog title styles */ function the_core_blog_title_styles(){ $final_styles = ''; $the_core_blog_title = array(); if ( function_exists( 'fw_get_db_settings_option' ) ) { $the_core_blog_title = fw_get_db_settings_option('posts_settings/blog_title'); }
} endif;
if ( ! function_exists( 'the_core_get_blog_comments_number' ) ): /**
@param array $atts */ function the_core_get_blog_comments_number( $atts = array('permalink' => '#', 'extra_options' => array() ) ) { $comments_number['selected'] = 'yes'; $comments_number['yes']['comments_number_type'] = 'fw-comment-link-type-1'; if( function_exists('fw_get_db_settings_option') ) { $comments_number = fw_get_db_settings_option( 'posts_settings/display_comments_number' ); // for extra options (shortcodes or other source) if( isset( $atts['extra_options']['display_comments_number'] ) ) { $comments_number = array_merge( $comments_number, $atts['extra_options']['display_comments_number'] ); } }
} endif;
if ( ! function_exists( 'the_core_top_bar' ) ): /**
Display top bar
@param array $atts */ function the_core_top_bar( $atts = array('top_bar_text' => '', 'enable_header_socials' => '', 'enable_search' => '', 'search_type' => '', 'placeholder_text' => '', 'search_position' => '') ){ ?>
<?php } endif;
if ( ! function_exists( 'the_core_get_footer_class' ) ): /**
if ( ! function_exists( 'the_core_list_pages' ) ): /**
if ( ! function_exists( 'the_core_return_memory_size' ) ) : /**
if( ! function_exists( 'the_core_responsive_styles' ) ) : /**
return theme responsive styles */ function the_core_responsive_styles() { if ( function_exists( 'fw_get_db_settings_option' ) ) { $the_core_settings_option = fw_get_db_settings_option(); if( empty($the_core_settings_option) ) { return; }
} endif;
if( ! function_exists( 'the_core_responsive_heading_styles' ) ) : /**
@param array $atts */ function the_core_responsive_heading_styles( $atts = array( 'styles' => array(), 'selector' => '', 'important' => false ) ) { $return_html = ''; if($atts['styles']['is_saved'] !== true && $atts['styles']['is_saved'] !== 'true') { return $return_html; }
} endif;
if ( ! function_exists( 'the_core_is_page_url_excluded' ) ) : /**
Check if is page is from excluded pages */ function the_core_is_page_url_excluded() { $exception_urls = array( 'wp-login.php', 'async-upload.php', '/plugins/', 'wp-admin/', 'upgrade.php', 'trackback/', 'feed/' ); foreach ( $exception_urls as $url ){ if ( strstr( $_SERVER['PHP_SELF'], $url) ) return true; }
} endif;
if ( ! function_exists( 'the_core_portfolio_styles' ) ) : /**
Portfolio styles for categories */ function the_core_portfolio_styles() { $styling = ''; if ( function_exists( 'fw_get_db_settings_option' ) ) { $the_core_settings_option = fw_get_db_settings_option(); $selected_portfolio = isset($the_core_settings_option['portfolio_style']['selected']) ? $the_core_settings_option['portfolio_style']['selected'] : '';
} endif;
if( !function_exists('the_core_go_to_top_button') ) : /**
Display go to top button */ function the_core_go_to_top_button(){ if ( function_exists( 'fw_get_db_settings_option' ) ) { $the_core_settings_option = fw_get_db_settings_option();
} endif;
if( !function_exists('the_core_blog_grid_separator_number') ) : /**
if( !function_exists('the_core_replace_http') ) : /**
if( !function_exists('the_core_change_original_link_with_cdn') ) : /**
@param string $url */ function the_core_change_original_link_with_cdn($url) { $final_url = $url; if( class_exists('WpFastestCache') ) { // for Wp Fastest Cache $cdn_values = get_option("WpFastestCacheCDN"); if ($cdn_values) { $std = json_decode($cdn_values);
} endif;
if( !function_exists('the_core_post_type_3_date') ) : /**
<?php endif; } endif;
if( !function_exists('the_core_post_type_3_categories') ) : /**
<?php } endif;
if( !function_exists('the_core_return_taxonomies_with_posts') ) : /**
@param array $atts Array of attributes */ function the_core_return_taxonomies_with_posts($posts, $atts = array('taxonomy' => '' ) ) { $final_array = array(); if( !empty($posts) ) { foreach($posts as $post) { $terms = wp_get_post_terms( $post->ID, $atts['taxonomy'] ); foreach ( $terms as $term ) { if( !in_array($term->term_id, $final_array) ){ $final_array[] = $term->term_id; } } } }
} endif;
if( !function_exists('the_core_events_price_and_currency') ) : /**
if( !function_exists('the_core_get_blog_title') ) : /**
if( !function_exists('the_core_post_type_3_author') ) : /**
if( !function_exists('the_core_post_type_3_comments_number') ) : /**
if( !function_exists('the_core_header_mobile_menu') ) : /**
Header mobile menu */ function the_core_header_mobile_menu() { $the_core_header_settings = defined( 'FW' ) ? fw_get_db_settings_option( 'header_settings' ) : array(); if( isset($the_core_header_settings['header_type_picker']['header_type']) && ( $the_core_header_settings['header_type_picker']['header_type'] == 'header-5' || $the_core_header_settings['header_type_picker']['header_type'] == 'header-6' ) ) { $bg_video_data_attr = ''; if( $the_core_header_settings['header_type_picker']['header_type'] == 'header-5' ) { // header 5 if( $the_core_header_settings['header_type_picker']['header-5']['header_5_popup']['background_options']['background'] == 'video' ) { if( $the_core_header_settings['header_type_picker']['header-5']['header_5_popup']['background_options']['video']['video_type']['selected'] == 'uploaded') { $video_url = $the_core_header_settings['header_type_picker']['header-5']['header_5_popup']['background_options']['video']['video_type']['uploaded']['video']['url']; } else { $video_url = $the_core_header_settings['header_type_picker']['header-5']['header_5_popup']['background_options']['video']['video_type']['youtube']['video']; }
} endif;
if( !function_exists('the_core_adjustColorLightenDarken') ) : /**
@return array|string / function the_core_adjustColorLightenDarken($color_code,$percentage_adjuster = 0) { $percentage_adjuster = round($percentage_adjuster/100,2); if(is_array($color_code)) { $r = $color_code["r"] - (round($color_code["r"])$percentage_adjuster); $g = $color_code["g"] - (round($color_code["g"])$percentage_adjuster); $b = $color_code["b"] - (round($color_code["b"])$percentage_adjuster);
} endif;
if( !function_exists('the_core_style_file_name') ) : /**
if( !function_exists('the_core_transition_in') ) : /**
if( !function_exists('the_core_transition_out') ) : /**
if( !function_exists('the_core_page_transition_loader') ) : /**
Display the page transition loader */ function the_core_page_transition_loader() { $the_core_settings_option = defined( 'FW' ) ? fw_get_db_settings_option() : array(); if( empty($the_core_settings_option) ) { return; }
} endif;
if( !function_exists('the_core_page_transition_begin') ) : /**
Display the begin code for page transition */ function the_core_page_transition_begin() { $the_core_settings_option = defined( 'FW' ) ? fw_get_db_settings_option() : array(); if( empty($the_core_settings_option) ) { return; }
} endif;
if( !function_exists('the_core_page_transition_end') ) : /**
Display the end code for page transition */ function the_core_page_transition_end() { $page_transition = defined( 'FW' ) ? fw_get_db_settings_option( 'page_transition', 'no' ) : ''; if( empty($page_transition) ) { return; }
} endif;