Viewing 1 reply thread
You must be logged in to reply to this topic.
How to display all the projects in a page without pagination, so when changing the category, all the projects in the category will display. As I have been advised that this is how portfolio category filter works, and there is a possibility to fix it.
Hello,
Please edit the file ‘specular/includes/core/codeless_routing.php.
Find the lines:
function codeless_set_portfolio_query()
{
global $cl_redata;
$terms = $cl_redata['portfolio_categories'];
$p_per_page = 6;
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:
function codeless_set_portfolio_query()
{
global $cl_redata;
$terms = $cl_redata['portfolio_categories'];
$p_per_page = 6;
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!
You must be logged in to reply to this topic.