Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Show all Portfolios on One Page ?

    • 10 years, 1 month ago Bikul
      Participant

      Expired

      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

    • 10 years, 1 month ago Ruco
      Keymaster

      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!

    • 10 years, 1 month ago Bikul
      Participant

      Expired

      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

    • 10 years, 1 month ago Ruco
      Keymaster

      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!

    • 10 years, 1 month ago Bikul
      Participant

      Expired

      Hello Ruco,

      ok.

      Thank you
      Bernd

Viewing 4 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password