Title: Future Portfolio Posts
Last modified: August 20, 2016

---

# Future Portfolio Posts

 *  [Thomas](https://wordpress.org/support/users/thomaspapachuloch/)
 * (@thomaspapachuloch)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/future-portfolio-posts/)
 * Hey @ all
 * I created some portfolio items in wordpress.
    For some portfolio I have a future
   date, but I want that they are already displayed on my site.
 * I think I can just modify the query, where the portfolio items are displayed.
   But I dont know where to do this.
 * The site where the items should be displayed is:
    [http://www.papachulo.ch/wordpress/?page_id=577](http://www.papachulo.ch/wordpress/?page_id=577)
 * Thx in advance guys!
    Thomas

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [StofferT](https://wordpress.org/support/users/stoffert/)
 * (@stoffert)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/future-portfolio-posts/#post-2576521)
 * I have the same issue. Did you find an answer?
 *  [StofferT](https://wordpress.org/support/users/stoffert/)
 * (@stoffert)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/future-portfolio-posts/#post-2576524)
 * Hey
    I have a page that shows a portfolio category and need that page to also
   show future portfolio posts. [http://postyr.nu/build2/wordpress/?page_id=222](http://postyr.nu/build2/wordpress/?page_id=222)
 * This is the portfolio template:
 *     ```
       <?php 
   
       global $avia_config;
   
       	//set a deafult query with all portfolio items in case the user just selected to display the page tempalte instead of setting up a portfolio properly
       	if(!isset($avia_config['new_query']['tax_query'][0]['terms'][0]) || $avia_config['new_query']['tax_query'][0]['terms'][0] == "null")
       	{
       		if(!isset($avia_config['portfolio_item_count'])) $avia_config['portfolio_item_count'] = '-1';
   
       		$avia_config['new_query'] = array("paged" => get_query_var( 'paged' ),  "posts_per_page" => $avia_config['portfolio_item_count'],  "post_type"=>"portfolio");
       	}
   
       	/*
       	 * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
       	 */
       	 get_header();
        	 if(empty($avia_config['portfolio_columns'])) $avia_config['portfolio_columns'] = 3;
       	?>
   
       		<!-- ####### MAIN CONTAINER ####### -->
       		<div class='container_wrap' id='main'>
   
       			<div class='container portfolio-size-<?php echo $avia_config['portfolio_columns']; ?>'>
   
       				<div class='template-portfolio-overview content portfolio-size-<?php echo $avia_config['portfolio_columns']; ?>'>
   
       				<div class='box'>
   
       					<div class='inner_box'>
   
       						<?php
       						//display the default content of the portfolio
       						if(isset($post->ID))
       						{
       							the_post();
       							$titleClass = $avia_config['layout'];
       							echo "<h1 class='post-title $titleClass'>".get_the_title()."</h1>";
       							if(get_the_content() != "")
       							{
       								echo "<div class='post-entry'>";
       								echo "<div class='entry-content'>";
       								the_content();
       								echo "</div>";
       								echo "</div>";
       								echo "<div class='hr portfolio-hr'>";
       								//edit_post_link('Edit');
       								echo "</div>";
       							}
   
       						}
   
       						/* Run the loop to output the posts.
       						* If you want to overload this in a child theme then include a file
       						* called loop-portfolio.php and that will be used instead.
       						*/
   
       						get_template_part( 'includes/loop', 'portfolio' );
   
       						?>
       						</div><!--end inner_box-->
   
       					</div><!--end box-->
   
       				<!--end content-->
       				</div>
   
       				<?php
       				//get the sidebar
       				 $avia_config['currently_viewing'] = 'page';
       				 wp_reset_query();
       				get_sidebar();
       				?>
   
       			</div><!--end container-->
   
       	</div>
       	<!-- ####### END MAIN CONTAINER ####### -->
   
       <?php get_footer(); ?>
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Future Portfolio Posts’ is closed to new replies.

## Tags

 * [date](https://wordpress.org/support/topic-tag/date/)
 * [items](https://wordpress.org/support/topic-tag/items/)
 * [query](https://wordpress.org/support/topic-tag/query/)
 * [show](https://wordpress.org/support/topic-tag/show/)

 * 2 replies
 * 2 participants
 * Last reply from: [StofferT](https://wordpress.org/support/users/stoffert/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/future-portfolio-posts/#post-2576524)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
