• Hi i am using this plugin and so far its great, theres only one problem though. I have portfolio.php set up like this:

    <?php
    /*
    Template Name: Portfolio
    */
    ?>
    <?php get_header(); ?>
    <div id="page" class="grid_8 alpha">
    <h1>portfolio</h1>
    <?php if (have_posts()) : ?>	
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
        <div class="portfolio-post">
    
                    	<h3>
                        	<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
                    	</h3>
                        <p class="postDetails">
    						<?php foreach (simple_portfolio_info() as $key=>$info_item): $key = explode('_', $key); array_shift($key); $key = ucfirst(implode(' ', $key)); ?>
    								<span><?php echo $key; ?></span>
    								<?php echo trim($info_item) == '' ? '...' : $info_item; ?>
    					<?php endforeach; ?>
                		</p><!-- .postDetails -->
    
        </div><!-- .portfolio-post -->		
    
    	<?php endwhile; ?>
    <?php endif; ?>
    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    All i want to do is use query_posts( ‘nopaging=true’ ); so that all of my portfolio items show up on the one page. However when i use this inside/outside/above/below the loop it returns items from my blog over and over and over. I just want to do this one thing but can’t seem to figure it out please help.

    https://www.ads-software.com/extend/plugins/simple-portfolio/

  • The topic ‘[Plugin: Simple Portfolio] How to query posts’ is closed to new replies.