Theme Ridge Portfolio
-
Hi everyone
I’m using theme Ridge (https://themetrust.com/themes/ridge/)
I have three pages which i want to show 3 different types of portfolios. However Ridges shows every skill (type) on every page. Is there a way to separate these skills per page?Is there some php-code I can add to the template file?
see below:<?php /** * Template Name: Portfolio * * @package Ridge * @since 1.0 */ get_header(); ?> <div id="primary" class="content-area middle portfolio"> <main id="main" class="site-main" role="main"> <?php // Don't show the description for the front page if( ! is_front_page() ) { while ( have_posts() ) : the_post(); ?> <div id="portfolio-content"> <header class="entry-header"> <h1 class="entry-title"><?php the_title(); ?></h1> </header> <?php the_content(); ?> </div> <?php endwhile; } // if /** * Set up the skills and projects * * @see inc/template-tags.php */ // FilterNav output ridge_filter_nav(); // Get the projects WP_Query object $projects = ridge_posts_setup( 'project' ); ?> <div id="projects"> <div class="thumbs clearfix"> <?php while ( $projects->have_posts()) : $projects->the_post(); global $ttrust_config; // Get the skills for each project for the .js data attribute $skills = ridge_get_tax( $post ); get_template_part( 'content', 'project-small' ); ?> <?php endwhile; ?> </div><!-- .thumbs --> </div><!-- #projects --> </main><!-- .site-main --> </div><!-- .content-area --> <?php get_footer(); ?>
Many thanks in advance!
Annelies
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Theme Ridge Portfolio’ is closed to new replies.