Support » Theme: Pitch » [Theme: Pitch] Project archive page

Viewing 15 replies - 1 through 15 (of 15 total)
  • hey did you end up finding the solution. All the page templates work except the ‘project archive’ one. Is there a shortcode i have to add or something?

    Were you able to resolve your issue? I am attempting to do the same but I am not able to update through this template. The only thing i see is some slug text underneath the project title. It doesn’t show a thumbnail or my list of projects.

    In loop-projects.php just before this:

    <?php if(have_posts()) : ?>

    add this:

    <?php
    if($GLOBALS['pitch_theme_settings']['type_client']){
    	$GLOBALS['home_loop_title'] = $GLOBALS['pitch_theme_settings']['home_title_clients'];
    	$GLOBALS['home_loop_all'] = false;
    	query_posts(array(
    		'post_type' => 'project',
    	));
    ?>

    …..then paste this at the very end:

    <?php
    wp_reset_query();
    }
    ?>

    Hope this helps

    Danielp

    It works. Thanks for your help.

    This worked for me as well. Thanks a lot man!

    No problem, glad to help. It’s an excellent theme!

    Hi Danielpdesign! great fix!

    This fix only shows 10 of the projects I uploaded; is there anyway to show all 20?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Marc972, please create your own thread for support with your own issues.

    Add a new line after 'post_type' => 'project',
    And put this (where 20 is the mumber of projects you want to sure):
    'posts_per_page' => 20,
    Give that a whirl.
    Dan

    #Apologies for the topos, using my phone to reply.

    Sorry for the delayed response; we were having issues with out hosting but it is all resolved now.

    your posts_per_page worked! thanks so much, danielpdesign!

    Hello,

    I’ve tried following your solution danielpdesign. My loop-projects.php looks like that now:

    <?php
    if($GLOBALS['pitch_theme_settings']['type_client']){
    	$GLOBALS['home_loop_title'] = $GLOBALS['pitch_theme_settings']['home_title_clients'];
    	$GLOBALS['home_loop_all'] = false;
    	query_posts(array(
    		'post_type' => 'project',
    		'posts_per_page' => 20
    	));
    ?>
    
    <?php if(have_posts()) :  ?>
    	<div id="projects" class="loop-projects">
    		<?php while(have_posts()) : the_post(); ?>
    			<div <?php post_class() ?>>
    				<div class="wrapper">
    					<a href="<?php the_permalink() ?>" class="image">
    						<?php echo get_the_post_thumbnail(null, 'portfolio', array('class' => 'preload')); ?>
    					</a>
    					<div class="overlay">
    
    					</div>
    					<a href="<?php the_permalink() ?>" class="info">
    						<h3><?php the_title() ?></h3>
    						<p><?php echo siteorigin_setting('project_view_text', __('View Project', 'pitch')) ?></p>
    					</a>
    				</div>
    			</div>
    		<?php endwhile ?>
    		<div class="clear"></div>
    	</div>
    <?php elseif (siteorigin_setting('general_demo_mode')) : get_template_part('demo/loop', 'projects') ?>
    <?php endif; ?>
    <?php
    wp_reset_query();
    }
    ?>

    but it still doesn’t seem to work:

    link

    projects don’t show up. Any ideas?

    Hi danielpdesig,

    I updated to the latest version of Pitch however the fix you gave me to show more projects on the Archive page above no longer works.

    My company is in the middle of an advertising campaign and urgently need a fix.

    Thank you very much,
    Marc

    Hello

    I am working with Pitch and i wanted to know that is their any way by which we can redirect user to certain page rather than show user the project description.

    Thanks!

    @dawrani: As per the Forum Welcome, please post your own topic instead of posting in a 10 month old topic about a different issue that references an older version of WordPress.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Theme: Pitch] Project archive page’ is closed to new replies.