Viewing 4 reply threads
You must be logged in to reply to this topic.
Please can you tell me how to remove the portfolio pagination? It actually seems broken, page 2 does not load but I have tried updating permalinks. I feel the portfolio would work better if the pagination could be removed or increased to a larger number. Please can you let me know which file to edit to achieve this. Many thanks.
Hello,
You can do this with some customization.
Please edit the file \specular\includes\core\codeless_routing.php and 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 = 8; break; case '3': $p_per_page = 9; break; case '4': $p_per_page = 12; break; case '5': $p_per_page = 10; break; }
Replace it 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!
Portfolio pagination does not work. I get a 404 error instead of page 2. I’ve tried all solutions on this forum and the knowledge base – none work. Please help with an easy straight-forward solution.
You must be logged in to reply to this topic.