Private: Home › Forums › WordPress Themes › Elvyre – Retina Ready WordPress Theme › Filter (numbers) › Reply To: Filter (numbers)
Hello,
Yes, there is. You have to modify the cpt-portfolio.php file which is located in wp-content/themes/elvyre/. Open it up in any editor and find the following code at about line 110:
$category_html .= '<li><a data-filter=".' . $cat->slug . '" href="#">' . $cat->name . '<span class="item-number">' . $cat->count . '</span></a></li>';
modify it to look like this:
$category_html .= '<li><a data-filter=".' . $cat->slug . '" href="#">' . $cat->name . '</a></li>';
After that, find the following code at about the line 117:
<li class="active"><a href="#" data-filter="*"><?php _e('All', 'pi_framework') ?> <span class="item-number"><?php echo $categories_count ?></span></a></li>
modify it to look like:
<li class="active"><a href="#" data-filter="*"><?php _e('All', 'pi_framework') ?></a></li>
Portfolio numbers won’t be shown anymore.
Robert