%4$s'; if (get_the_time('U') !== get_the_modified_time('U')) { $time_string = ''; } 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 = ''; if (get_the_time('U') !== get_the_modified_time('U')) { $time_string = ''; } printf('' . __('Posted on', "business-world") . '' . $time_string . '', 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()): ?>
post_content); ?>
post_content); ?>