%4$s', "business-world" ), esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ) ); } public static function posted_on_single() { printf( __( '%4$s %7$s', "business-world" ), esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( __( 'View all posts by %s', "business-world" ), get_the_author() ) ), get_the_author() ); } public static function home_about_us() { global $wdwt_front; $hide_about_us = $wdwt_front->get_param('home_middle_description_post_enable'); $home_abaut_us_post = $wdwt_front->get_param('home_middle_description_post'); $home_abaut_us_post = isset($home_abaut_us_post[0]) ? $home_abaut_us_post[0] : ''; $featured_id = apply_filters( 'wpml_object_id', $home_abaut_us_post, 'post' ); $abaut_us_post=get_post($featured_id); if($hide_about_us==true && !is_null($abaut_us_post)) { ?>
"abaut_us_post", ); if(has_post_thumbnail() || (self::post_image_url() && $wdwt_front->blog_style() && $wdwt_front->grab_image())) { ?>
grab_image(),$abaut_us_post->ID); ?>

post_title ?>

post_content); ?>

get_param('hide_top_posts'); $top_post_categories = $wdwt_front->get_param('top_post_categories', array(), array('')); $top_post_categories = isset($top_post_categories[0]) && empty($top_post_categories[0]) ? array() : $top_post_categories; $top_post_cat_name = $wdwt_front->get_param('top_post_cat_name'); $top_post_desc = $wdwt_front->get_param('top_post_desc'); if(!empty($location_posts)) { $hide_top_posts = $location_posts["hide"]; $top_post_categories = $location_posts["categories"]; $top_post_cat_name = $location_posts["name"]; $top_post_desc = $location_posts["desc"]; } $categories = $top_post_categories; if ($hide_top_posts == true) { ?>
'4', 'orderby' => 'date', 'order' => 'DESC', 'tax_query' => array( 'relation' => 'OR', array( 'taxonomy' => 'product_cat', 'field' => 'term_id', 'terms' => $categories, 'operator' => empty($categories) ? 'EXISTS': 'IN', ), array( 'taxonomy' => 'category', 'field' => 'term_id', 'terms' => $categories, 'operator' => empty($categories) ? 'EXISTS': 'IN', ), ), ); $wp_query = new WP_Query($args); $curent_query_posts=$wp_query->get_posts(); if(!isset($curent_query_posts[0])) $curent_query_posts[0]=''; unset($curent_query_posts); ?>

    have_posts()) { $i = 0; while ($wp_query->have_posts()) { $i++; $wp_query->the_post(); if(has_post_thumbnail() || self::post_image_url() ){ $url = self::get_post_thumb(); ?>
get_param('hide_horizontal_tab_posts'); $horizontal_tab_categories = $wdwt_front->get_param('horizontal_tab_categories', array(), array('')); $horizontal_tab_categories = isset($horizontal_tab_categories[0]) && empty($horizontal_tab_categories[0]) ? array() : $horizontal_tab_categories; $grab_image = $wdwt_front->grab_image(); if ($enable_hotizontal_tabs){ $args = array( 'posts_per_page'=> '100', 'tax_query' => array( 'relation' => 'OR', array( 'taxonomy' => 'product_cat', 'field' => 'term_id', 'terms' => $horizontal_tab_categories, 'operator' => empty($horizontal_tab_categories) ? 'EXISTS': 'IN', ), array( 'taxonomy' => 'category', 'field' => 'term_id', 'terms' => $horizontal_tab_categories, 'operator' => empty($horizontal_tab_categories) ? 'EXISTS': 'IN', ), ), ); $h_tab_wp_query = new WP_Query($args); ?>
    have_posts()) : $h_tab_wp_query->the_post(); $i++; ?>
  • id="horizontal-tabs-content-ID; ?>">
<
    have_posts()) : $h_tab_wp_query->the_post(); ?>
>
grab_image(); if(is_home()){ ?>
ID,WDWT_META,TRUE); ?>

max_num_pages > 1 ){ ?>

get_param('pinned_post'); $pinned_post = isset($pinned_post[0]) ? $pinned_post[0] : ''; $pinned_post_enable = $wdwt_front->get_param('pinned_post_enable'); $pinned_bg_img = $wdwt_front->get_param('pinned_bg_img'); $blog_style = $wdwt_front->blog_style(); $featured_id = apply_filters( 'wpml_object_id', $pinned_post, 'post' ); $featured_post=get_post($featured_id); if(is_null($featured_post)){ $featured_post=get_posts(); $featured_post=$featured_post[0]; } if ($pinned_post_enable){ ?>
ID,array(260,220)); ?>

post_title; ?>

post_content; ?>
get_param('content_posts_enable', array(), true); $cat_checked = $wdwt_front->get_param('content_post_categories', array(), array('')); $cat_checked = isset($cat_checked[0]) && empty($cat_checked[0]) ? array() : $cat_checked; $grab_image = $wdwt_front->grab_image(); $content_post_cat_name = $wdwt_front->get_param('content_post_cat_name'); $content_post_desc = $wdwt_front->get_param('content_post_desc'); $n_of_home_post=get_option( 'posts_per_page', 3 ); $args = array( 'posts_per_page'=>$n_of_home_post, 'paged' => $paged, 'order' => 'DESC', 'tax_query' => array( 'relation' => 'OR', array( 'taxonomy' => 'product_cat', 'field' => 'term_id', 'terms' => $cat_checked, 'operator' => empty($cat_checked) ? 'EXISTS': 'IN', ), array( 'taxonomy' => 'category', 'field' => 'term_id', 'terms' => $cat_checked, 'operator' => empty($cat_checked) ? 'EXISTS': 'IN', ), ), ); $wp_query = new WP_Query($args); if($content_posts_enable && $wp_query->have_posts()) { ?>

have_posts()) { while ($wp_query->have_posts()) { $wp_query->the_post(); $business_world_meta_date = get_post_meta($post->ID,WDWT_META,TRUE); ?>

max_num_pages > 1 ){ ?>
max_num_pages ); ?>
max_num_pages ); ?>
get_param('enable_dotted_navigation',array(),false); if($enable_dotted_navigation) { ?>
'; if ( $categories_list ) { echo ' ' . $categories_list . ''; } $tag_list = get_the_tag_list( '', ' , ' ); if ( $tag_list ) { echo '' . $tag_list . ''; } echo ''; } }