Viewing 4 reply threads
You must be logged in to reply to this topic.
Hello,
In Mikro-Demo I created a page where I want to show all portfolios with sort function. I used the Portfolio Options to do that, not the visual composer.
There is an option to to select the pagination mode. When I use “without pagination” it shows just nine of the Portfolios, but not all.
How to change that?
Thanks for Help
Bernd
Hello,
Please edit the file ‘specular/includes/core/codeless_routing.php’.
Find the lines:
switch($cl_redata['portfolio_columns']){ case '1': $p_per_page = 3; break; case '2': $p_per_page = 6; break; case '3': $p_per_page = 9; break; case '4': $p_per_page = 12; break; case '5': $p_per_page = 10; break; }
and replace with:
switch($cl_redata['portfolio_columns']){ case '1': $p_per_page = 999; break; case '2': $p_per_page = 999; break; case '3': $p_per_page = 999; break; case '4': $p_per_page = 999; break; case '5': $p_per_page = 999; break; }
Best regards!
Thanks Ruco!
That worked, but can I put the file specular/includes/core/codeless_routing.php somehow in the child theme, so that I dont have to make this changes again If the theme is updated?
I tried to put it in the same folder-structure and activated the child theme without success.
Thanks for feedback
Bernd
Hello,
Sorry, it’s not possible. You must edit the themes files, can’t be added at child theme.
When updating the theme you must replace only the changed files, so you won’t loose the modification.
Best regards!
You must be logged in to reply to this topic.