$this->PT, 'posts_per_page'=>$limit, 'paged'=>$paged, 'post_status'=>array('pending', 'draft', 'future', 'publish') ); // Apply Author Query if(!current_user_can('edit_others_posts')) $args['author'] = get_current_user_id(); // The Query $query = new WP_Query($args); // Date Format $date_format = get_option('date_format'); // Display Date $display_date = (isset($this->settings['fes_display_date_in_list']) && $this->settings['fes_display_date_in_list']); // Generating javascript code of countdown module $javascript = ''; // Include javascript code into the footer $this->factory->params('footer', $javascript); ?>
have_posts()): ?>