', 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(' ', 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', 'portfolio-gallery' ), get_the_author() ) ), get_the_author() ); } public static function home_featured_post(){ global $wdwt_front; $home_middle_description_post = $wdwt_front->get_param('home_middle_description_post'); $home_middle_description_post_enable = $wdwt_front->get_param('home_middle_description_post_enable'); $blog_style = $wdwt_front->blog_style(); $featured_post=isset($home_middle_description_post[0]) ? get_post($home_middle_description_post[0]) : null; if($featured_post==NULL){ $featured_post=get_posts(); $featured_post=$featured_post[0]; } if ($home_middle_description_post_enable && $featured_post){ ?>
ID,array(260,220)); ?>

post_title); ?>

post_content); ?>
get_param('content_posts_enable'); $content_post_categories = implode(",", $wdwt_front->get_param('content_post_categories', array(), array(''))) ; $lbox_width = $wdwt_front->get_param('lbox_image_width'); $lbox_height = $wdwt_front->get_param('lbox_image_height'); $cat_checked=0; $post_count=0; $printed_featured=false; $n_of_home_post=get_option( 'posts_per_page', 2); if($n_of_home_post!=0): ?>
$n_of_home_post, 'cat' => self::remove_last_comma($content_post_categories), 'paged'=> $paged, 'order'=>'DESC', //'post__in' => get_option( 'sticky_posts' ), //'ignore_sticky_posts' => 1 ); } else{ $args = array( 'posts_per_page' => $n_of_home_post, 'paged'=> $paged, 'order'=>'DESC', ); } $wp_query = new WP_Query($args); if(have_posts()): while ($wp_query->have_posts()): $wp_query->the_post(); $post_count++; $tumb_id = get_post_thumbnail_id( get_the_ID() ); $thumb_url=wp_get_attachment_image_src($tumb_id,'full'); if( $thumb_url ){ $thumb_url = $thumb_url[0]; } else{ $thumb_url = self::catch_that_image(); } if(isset( $thumb_url['image_catched'])){ if(!$thumb_url['image_catched']){ $thumb_url=''; } else{ $thumb_url=$thumb_url['src']; } } if($post_count==5){ ?>
get_param('date_enable'); $grab_image = $wdwt_front->get_param('grab_image'); $blog_style = $wdwt_front->blog_style(); ?>

max_num_pages > 2 ){ ?>
bottom_advertisment(); wp_reset_query(); ?>
'; if ( $categories_list ) { echo ' ' . $categories_list . ''; } $tag_list = get_the_tag_list( '', ' , ' ); if ( $tag_list ) { echo '' . $tag_list . ''; } echo ''; } }