Maybe that’s why it’s not working Michael. I assumed it was categories I needed but maybe it’s custom taxonomies…my knowledge really doesn’t go far into php scripting sorry.
So the full custom page template code is as follows:
<?php
/*
Template Name: Cr3ativPortfolio-4ColumnFilterable
*/
?>
<?php get_header(); ?>
<div id="content" class="clearfix fullwidth">
<div id="left-area">
<?php get_template_part('includes/top_info'); ?>
<?php if(have_posts()) : while(have_posts()) : the_post(); ?>
<!-- Start of wrapper -->
<div class="cr3ativeportfolio_wrapper">
<?php the_content(' '); ?>
<?php endwhile; ?>
<?php else: ?>
<p>
<?php _e( 'There are no posts to display. Try using the search.', 'cr3atport' ); ?>
</p>
<?php endif; ?>
<ul id="cr3ativeportfolio_portfolio-filter">
<li><a href="#bistro-deals" title="" rel="bistro-deals" id="bistro-deals">Bistro<br />Deals</a></li>
<li><a href="#gig-guide" title="" rel="gig-guide" id="gig-guide">Gig<br />Guide</a></li>
<li><a href="#special-events" title="" rel="special-events" id="special-events">Special<br />Events</a></li>
<li><a href="#weekly-events" title="" rel="weekly-events" id="weekly-events">Weekly<br />Events</a></li>
<li id="showallright"><a href="#all" title="" id="show-all"> Show All</a></li>
</ul>
<?php $loop = new WP_Query(array('post_type' => 'cr3ativportfolio', 'posts_per_page' => -1, 'showposts' => 9999999 ));
$count =0;
?>
<!-- Start of cr3ativeportfolio_portfolio-wrapper -->
<div id="cr3ativeportfolio_portfolio-wrapper">
<!-- Start of cr3ativeportfolio_portfolio-list -->
<ul id="cr3ativeportfolio_portfolio-list">
<?php if ( $loop ) : while ( $loop->have_posts() ) : $loop->the_post(); ?>
<?php
$terms = get_the_terms( $post->ID, 'cr3ativportfolio_type' );
if ( $terms && ! is_wp_error( $terms ) ) :
$links = array();
foreach ( $terms as $term )
{
$links[] = $term->name;
}
$links = str_replace(' ', '-', $links);
$tax = join( " ", $links );
else :
$tax = '';
endif;
?>
<li class="cr3ativeportfolio_portfolio-item <?php echo strtolower($tax); ?> all">
<div class="cr3ativeportfolio_thumb">
<div class="cr3ativeportfolio_mask">
<?php the_post_thumbnail('slide'); ?>
</div>
</div>
<span class="cr3ativeportfolio_title"><?php the_title (); ?></span>
<div class="cr3ativeportfolio_port_date">
<strong><?php echo get_post_meta($post->ID, 'cr3ativportfolio_leftintrotext', $single = true); ?></strong>
</div>
<div class="cr3ativeportfolio_content">
<?php the_content(); ?>
</div>
<div class="cr3ativeportfolio_footer">
<?php
$postcat = the_category();
if(in_category('weekly-events')) { echo esc_html('<i class="icon-weeklyevents"></i>');
} elseif(in_category('special-events')) { echo esc_html('<i class="icon-specialevents"></i>');
} elseif(in_category('gig-guide')) { echo esc_html('<i class="icon-gigguide"></i>');
} elseif(in_category('bistro-deals')) { echo esc_html('<i class="icon-bistrodeals"></i>');
} else { echo esc_html('Post'); }
?>
</div>
</li>
<?php endwhile; else: ?>
<?php endif; ?>
</ul>
<div class="cr3ativeportfolioclear"></div>
</div>
<!-- end #portfolio-wrapper-->
</div> <!-- end #left-area -->
</div> <!-- end #content -->
<!-- Start of clear fix -->
<div class="cr3ativeportfolioclear"></div>
</div>
<!-- End of page wrap -->
<?php get_footer (); ?>
Not sure if that’s useful.
My first assumption was that it might’ve been a basic wordpress coding question but you’re right, I should probably ask this in the plugins support section.
Thanks for having a look.