I am having an issue with your template, and I was hoping I could get some help.
My website has to show several items. These items, however, can be grouped either by "type" (e.g. "drawings", "photos", "paintings") and by "author". For this reason I have enabled sub-category filtering, created two levels of portfolio categories and, finally, added some items to each category.
Finally, following one of your comments in themeforest, I have created two menu items pointing to my two macro categories (appearance->menus, screen options->mark on portfolio categories, then added the two entries).
However, the resulting links doesn't appear to work! They both lead to two portoflio pages where the proper category SEEMS selected, but actually all the items are shown (even the ones not belonging to that category, see picture "before_clicking.png"). Moreover, sub-categories are not shown unless I click on the macro category, even if it seems to be already selected (afte clicking on the category, the page works as expected. see "after_clicking.png").
Fearing a configuration error, I have created a new fresh instance of the website (XAMPP on windows, Wordpress 4.5.2), enabled all the plugins apart form wooCommerce (which I don't think I need) and loaded the demo content you provided (Main Demo). Then I have edited the portfolio categories to create a tree-like structure, and added the root categories to the main menu. The exact same problem occurs.
Do you think it's an issue that could be solved?
EDIT: I found out I can somewhat fix this either by creating a custom page with the portfolio block or by using custom URLs containing the hashtag as well. However, this is not a greatly useable solution as users can still browse through ALL the categories, and not just through the branch I have chosen. So the issue is still not solved...
Can you please share your FTP credentials here, because I need to login to your site and test this issue. Your information is safe here (private) in this thread. Just select "Private Reply" before you submit your credentials.
thank you very much for taking some time to analyze my issue. My version behaves exactly like yours, but the issue arises when you start meddling with multilevel categories (e.g try moving Print and Photography as subcategories of Digital Art in the portfolio categories section) and by enabling sub-category filtering.
I'll write you a private response in a few minutes: I am moving my installation on a public server to share the credentials with you. Meanwhile, I temporarily patched the issue with a tiny snippet of javascript code (just to be able to present my prototype around). It's a very dirty workaround that basically "breaks" the multilevel category system, but in my case it's just perfect to make things working as I hoped.
I am sharing it here, just in case someone might find it useful (it's really really a dirty hack, though, totally non recommended in production) http://pastebin.com/RxXgXU35
Can you please check if that works for you. Another issue that came through was Portfolio Category Filters not appearing, but that can be fixed, just confirm if this code is working for you?
This seems to work in the sense that only the right posts are shown, but the filter still seems to show the full category tree, starting from the root.
I guess it's what you meant by the filters not appearing.
Hello,
I am having an issue with your template, and I was hoping I could get some help.
My website has to show several items. These items, however, can be grouped either by "type" (e.g. "drawings", "photos", "paintings") and by "author". For this reason I have enabled sub-category filtering, created two levels of portfolio categories and, finally, added some items to each category.
Finally, following one of your comments in themeforest, I have created two menu items pointing to my two macro categories (appearance->menus, screen options->mark on portfolio categories, then added the two entries).
However, the resulting links doesn't appear to work! They both lead to two portoflio pages where the proper category SEEMS selected, but actually all the items are shown (even the ones not belonging to that category, see picture "before_clicking.png"). Moreover, sub-categories are not shown unless I click on the macro category, even if it seems to be already selected (afte clicking on the category, the page works as expected. see "after_clicking.png").
Fearing a configuration error, I have created a new fresh instance of the website (XAMPP on windows, Wordpress 4.5.2), enabled all the plugins apart form wooCommerce (which I don't think I need) and loaded the demo content you provided (Main Demo). Then I have edited the portfolio categories to create a tree-like structure, and added the root categories to the main menu. The exact same problem occurs.
Do you think it's an issue that could be solved?
EDIT: I found out I can somewhat fix this either by creating a custom page with the portfolio block or by using custom URLs containing the hashtag as well. However, this is not a greatly useable solution as users can still browse through ALL the categories, and not just through the branch I have chosen. So the issue is still not solved...
Hi Matteo,
Thanks for explaining your issue in details, I was able to try it on my copy of Kalium and it worked, see this video:
http://drops.laborator.co/12iEE
Can you please share your FTP credentials here, because I need to login to your site and test this issue. Your information is safe here (private) in this thread. Just select "Private Reply" before you submit your credentials.
Hi Arlind,
thank you very much for taking some time to analyze my issue. My version behaves exactly like yours, but the issue arises when you start meddling with multilevel categories (e.g try moving Print and Photography as subcategories of Digital Art in the portfolio categories section) and by enabling sub-category filtering.
I'll write you a private response in a few minutes: I am moving my installation on a public server to share the credentials with you. Meanwhile, I temporarily patched the issue with a tiny snippet of javascript code (just to be able to present my prototype around). It's a very dirty workaround that basically "breaks" the multilevel category system, but in my case it's just perfect to make things working as I hoped.
I am sharing it here, just in case someone might find it useful (it's really really a dirty hack, though, totally non recommended in production) http://pastebin.com/RxXgXU35
Thanks a lot,
Matteo
Hi Matteo,
I have added a code to filter posts only from the parent category and not include child posts in your case, here I added this code in functions.php:
Can you please check if that works for you. Another issue that came through was Portfolio Category Filters not appearing, but that can be fixed, just confirm if this code is working for you?
Thank you!
This seems to work in the sense that only the right posts are shown, but the filter still seems to show the full category tree, starting from the root.
I guess it's what you meant by the filters not appearing.
Hi Matteo,
It will show the parent category by default once the sub category is selected, this is how it works.
Is it filtering the items the way you expected?