I did a little customization of the portfolio page – mainly just editing the sizes of the images, etc… and now the categories do not work.
You can see what I am working with here:
When I click on the categories, I’d like the images to sort (like the original template).
Can you help me locate the problem and fix it? Here is a snippet of code that I was messing with:
echo “<div class=’one_half all_sort $class_add $last’>”;
echo “<h3 class=’name_sort’>”.get_the_title().”</h3>”;
echo “<span class=’date_sort hidden’>”;
the_time(‘Y m d H i s’);
echo ““.__(‘Read more’,’cleancut’).”“;
Please keep in mind I’m kinda noob.
This could be caused by a plugin (JS conflict) or by something you have changed.
My advise is to firstly deactivate all plugins to see if this fixes the problem (if it does reactivate them one by one until you find the culprit); failing that I suggest starting with a fresh copy of the theme and redo your modifications one at a time making sure the portfoio categories are still working after each modification.
The topic ‘Portfolio categories not working’ is closed to new replies.