Tagged: Enfold portfolio
-
AuthorPosts
-
December 15, 2015 at 9:35 pm #553277
The portfolio has 8 categories, but not all categories show at the top on each portfolio page. It’s random how it loads the categories. Additionally, not every photo in the category shows every time.
December 15, 2015 at 10:06 pm #553289Hi phausner!
Do all the portfolio categories have content inside?
I loaded the portfolio 4-5 times and same categories loaded every time, with the same order.Regards,
BasilisDecember 15, 2015 at 10:20 pm #553301Thank you for your prompt attention. You guys are the best!!
Yes, all categories have items. Here is a screenshot of a refreshed screen:
http://screencast.com/t/SspTS0wY7Ehttp://screencast.com/t/N6CKSNSvzznt
http://screencast.com/t/VrCu6MTUh
The problem appears to show when you use the portfolio page numbers at the
bottom of the portfolio.Thank you.
December 17, 2015 at 7:56 pm #554629I’ve figured out the problem, but not how to solve it. When on the portfolio page(s), it only shows the categories for the portfolio items on that page. In other words, if you go to the main Portfolio page: http://completehardscapes.com/portfolio/, there are no Fire Pits – Fireplaces listed in the portfolio categories at the top because none of those items appear on Page 1 of the portfolio. However, if you click on Page 2 of the portfolio, then Fire Pits – Fireplaces appears in the portfolio categories at the top. Page 3 of the Portfolio is the only page of the portfolio that shows all the categories.
We need all the categories to appear at the top of each page of the Portfolio. How do I fix this?
December 23, 2015 at 3:53 pm #557003Hey!
try to deactivate all plugins, to check if one is causing this issue and let us know about your results. If that does not help there might be some corrupted files, so please delete all theme files completely via FTP, before installing a fresh copy from your themeforest account: http://kriesi.at/documentation/enfold/install-enfold-over-ftp/
Regards,
AndyJanuary 13, 2016 at 12:42 am #564232Well…that was a fiasco. I checked all the plugins, one by one, nothing made a difference. So I exported the theme settings, deleted the Enfold folder through FTP, uploaded a new copy from a fresh download, and imported the theme settings.
Not only did it not solve the problem, now the site is messed up. I’m not sure why it’s not presenting correctly. I’ll have my developer reinstall a backup copy to get the site looking right but that means we still haven’t solve the portfolio problem.
Now what?
January 14, 2016 at 8:48 am #565246Hey!
That is actually the default behaviour of the portfolio grid element. It doesn’t display the category button if the current page doesn’t contain items within that category. Clicking on an empty category button will render the grid blank. You can test that by editing config-templatebuilder > aviashortcodes > portfolio.php, look for this code around line 604:
foreach($categories as $category) { if(in_array($category->term_id, $current_page_cats)) { //fix for cyrillic, etc. characters - isotope does not support the % char $category->category_nicename = str_replace('%', '', $category->category_nicename); $output .= "<span class='text-sep ".$category->category_nicename."_sort_sep'>/</span>"; $output .= '<a href="#" data-filter="'.$category->category_nicename.'_sort" class="'.$category->category_nicename.'_sort_button" ><span class="inner_sort_button">'; $output .= "<span>".esc_html(trim($category->cat_name))."</span>"; $output .= "<small class='av-cat-count'> ".$cat_count[$category->term_id]." </small></span>"; $output .= "</a>"; } }
.. replace it with:
foreach($categories as $category) { //fix for cyrillic, etc. characters - isotope does not support the % char $category->category_nicename = str_replace('%', '', $category->category_nicename); $output .= "<span class='text-sep ".$category->category_nicename."_sort_sep'>/</span>"; $output .= '<a href="#" data-filter="'.$category->category_nicename.'_sort" class="'.$category->category_nicename.'_sort_button" ><span class="inner_sort_button">'; $output .= "<span>".esc_html(trim($category->cat_name))."</span>"; $output .= "<small class='av-cat-count'> ".$cat_count[$category->term_id]." </small></span>"; $output .= "</a>"; }
This will display all the available categories. Test the category buttons afterwards. Let us know which behaviour do you prefer.
Regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.