%4$s'; if (get_the_time('U') !== get_the_modified_time('U')) { $time_string = '%4$s%3$s'; } printf('' . $time_string . '', esc_attr(get_the_date(DATE_W3C)), esc_attr(get_the_modified_date(DATE_W3C)), esc_attr(get_the_modified_date()), esc_html(get_the_date()), esc_url(get_permalink()), esc_attr(get_the_time()) ); } public static function posted_on_single() { $time_string = '%4$s'; if (get_the_time('U') !== get_the_modified_time('U')) { $time_string = '%4$s%9$s'; } printf('' . __('Posted on', "business-world") . '' . $time_string . ' %7$s', esc_url(get_permalink()), esc_attr(get_the_time()), esc_attr(get_the_date(DATE_W3C)), 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(), esc_attr(get_the_modified_date(DATE_W3C)), esc_attr(get_the_modified_date()) ); } 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'); /*try product if not post*/ if (!$featured_id) { $featured_id = apply_filters('wpml_object_id', $home_abaut_us_post, 'product'); } if ($hide_about_us == true) { $args = array( 'posts_per_page' => 1, 'paged' => 1, 'ignore_sticky_posts' => true, 'post_type' => array('post', 'product'), 'post__in' => array($featured_id), ); $abaut_us_post = new WP_Query($args); if ($abaut_us_post->have_posts()): ?>
have_posts()): $abaut_us_post->the_post(); $attr_thumb = array( 'class' => "abaut_us_post", ); if (has_post_thumbnail() || (self::post_image_url() && $wdwt_front->blog_style() && $wdwt_front->grab_image())) { ?>
grab_image()); ?>

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-">
<
    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); ?>

post_content); ?>
get_param('content_posts_enable', array(), true); $cat_checked = $wdwt_front->get_param('content_post_categories'); $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 && have_posts()) { ?>

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) { ?>
' . $categories_list . ''; } $tag_list = get_the_tag_list('', ' , '); if ($tag_list) { echo '' . $tag_list . ''; } } }