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

Error with PORTFOLIO items

#portfolio #portfolioitemsorder #orderitems
    • 9 years, 10 months ago graphike
      Participant

      It´s an error with positions of items:

      https://srcsl.com/berria/?page_id=898

      why?

       

    • 9 years, 10 months ago graphike
      Participant

      another error: When i select “No pagination” the articules of second page 2 not appears :(

       

      Thanks you very much

    • 9 years, 10 months ago graphike
      Participant

      I have fix the portfolio items:
      <pre style=”box-sizing: border-box; overflow: auto; font-family: Inconsolata, Consolas, Monaco, ‘Lucida Console’, monospace; font-size: 15px; color: #444444; padding: 5px 10px; border: 1px solid #dddddd; max-width: 95%; vertical-align: middle; margin-top: 0px; margin-bottom: 24px; background: #f9f9f9;”><code style=”box-sizing: border-box; font-family: Inconsolata, Consolas, Monaco, ‘Lucida Console’, monospace; display: block; padding: 0px; line-height: 24px; border: none; max-width: 100%; vertical-align: middle; margin: 0px; overflow-wrap: normal; overflow: auto; background: transparent;”>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;
      <p style=”box-sizing: border-box; color: #393d40; font-family: ‘Open Sans’, ‘Helvetica Neue’, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22px;”>Based on the number of rows you have, edit the number of items to display. Set the value to ‘-1′, to display them all. In your case you need to edit <strong style=”box-sizing: border-box;”>case ‘3’, to this:</p>

      <pre style=”box-sizing: border-box; overflow: auto; font-family: Inconsolata, Consolas, Monaco, ‘Lucida Console’, monospace; font-size: 15px; color: #444444; padding: 5px 10px; border: 1px solid #dddddd; max-width: 95%; vertical-align: middle; margin-top: 0px; margin-bottom: 24px; background: #f9f9f9;”><code style=”box-sizing: border-box; font-family: Inconsolata, Consolas, Monaco, ‘Lucida Console’, monospace; display: block; padding: 0px; line-height: 24px; border: none; max-width: 100%; vertical-align: middle; margin: 0px; overflow-wrap: normal; overflow: auto; background: transparent;”>case ‘3’:
      $p_per_page = -1;
      break;
       
      <p style=”box-sizing: border-box; color: #393d40; font-family: ‘Open Sans’, ‘Helvetica Neue’, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22px;”>It will display all items in portfolio page.</p>

    • 9 years, 10 months ago graphike
      Participant

      I have fix the portfolio items:

      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;

      Based on the number of rows you have, edit the number of items to display. Set the value to ‘-1′, to display them all. In your case you need to edit case ‘3’, to this:

      case ‘3’:
      $p_per_page = -1;
      break;

      It will display all items in portfolio page.

    • 9 years, 10 months ago Mirela
      Participant

      Hello,

      Glad to know you are ok. Let us know if you need our support.

      Best regards!

    • 9 years, 10 months ago graphike
      Participant

      Hello,

      But  the position of the portfolio items don´t work:

      porfolio

       

      I have got too another problem: The order of the portfolio items. I have installed a plugin “Custom Post Order” but look at the backend order:

      portfolio backend

       

       

      It´s not the same order in the backend and in the frontend :(

      Thanks,

       

      Iñaki.

       

    • 9 years, 10 months ago Mirela
      Participant

      Hello,

      To align them correctly, please add this code into your custom css box:

      .portfolio-item.mix {
          min-height: 450px;
      }

      -Make sur eyou have setup right the plugins options. We tested it and it has no issues. I can give it a look, if you send me your wp credetnials in a private reply.

      Best regards!

    • 9 years, 10 months ago graphike
      Participant

      Thanks you very much, fixed up!

    • 9 years, 10 months ago graphike
      Participant
      This reply has been marked as private.
    • 9 years, 10 months ago Mirela
      Participant

      Hello,

      You have installed the “Intuitive Custom Post Type”, the recommended plugin is “Post Type Order”. I deactivated the first one, and installed the second one. To reorder portfolio items go to Portfolio Items > Reordenar. Just drag and drop items to the order you want them. I ordered them already as the screenshot you send above.
      You can use this plugin for other post types too. Find a full list of it in Ajustes > Post Types Order.

      Best regards!

    • 9 years, 10 months ago graphike
      Participant

      Thanks you very much, fixed up!

       

      Regards,

Viewing 10 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