• Resolved Kleyton Renato

    (@kleyton-renato)


    For single projects:

    I usde “single.php”

    	       <?php 
    
    	        if ( is_singular('post') ) {
    
    	           get_template_part( 'loop-single', 'single' ); 
    
    	        } elseif ( 'dslc_projects' == get_post_type() ) {
    
    	        	get_template_part( 'loop-project', 'single' );
    
    	        }
                
    	        ?> 

    I would like use this idea for “category.php” to show “projects categories (dslc_projects_cats)”.

    I need help.

    Obs: Sorry for my english. It’s not so good…!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Projects Categories’ is closed to new replies.