We have a problem with loading times on a front page. Client wants to display products (carpets) on portfolio section. 50 items make loading times too long, as client refused our server recommendations.
We need to a) show small portfolio on front page and refer to inside page for larger selection (5 or 6 items vs. 50) or
b) load subcategory instead of ALL
I understand that b) is possible with JS file hack but does it actually work?
We woulkd prefer solution a) but both portfolios would need to feature filters.
What I would recommend in this case is a combination of portfolio section and portfolio page.
in the main page add a portfolio section and define a limit for the portfolio items in theme options -> portfolio options
Then add an external page set with Portfolio Template (assuming you are familiar with Wordpress, if not it's the dropdown Template in the Add/Edit page.
The external page should contain all portfolio items.
Regarding b) it's custom work. you should look into /js/scripts.js line 645 and setting class active for the subcategory in portfolio section implementation.
We have a problem with loading times on a front page. Client wants to display products (carpets) on portfolio section. 50 items make loading times too long, as client refused our server recommendations.
We need to a) show small portfolio on front page and refer to inside page for larger selection (5 or 6 items vs. 50) or
b) load subcategory instead of ALL
I understand that b) is possible with JS file hack but does it actually work?
We woulkd prefer solution a) but both portfolios would need to feature filters.
Thanks in advance,
Nikolas
Hi Nikolas,
What I would recommend in this case is a combination of portfolio section and portfolio page.
in the main page add a portfolio section and define a limit for the portfolio items in theme options -> portfolio options
Then add an external page set with Portfolio Template (assuming you are familiar with Wordpress, if not it's the dropdown Template in the Add/Edit page.
The external page should contain all portfolio items.
Regarding b) it's custom work. you should look into /js/scripts.js line 645 and setting class active for the subcategory in portfolio section implementation.
Thanks
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy