Okay
  Public Ticket #1004728
content
Closed

Comments

  • darren started the conversation

    Hi,  

    I want, for example only 6 pieces of work on the showcase page, but for example say 12 projects on the portfolio page. This means that only 6 projects appear on the showcase page but there is more on the portfolio page. 

    How to turn off the ajax style with losing the portfolio item. Does this make sense?

    thanks

  •  1,974
    Support replied

    You can turn the ajax style by going to home page options (assuming the showcase is the home, front page) and setting 'Load Slides Content With Ajax' to 'No' (see Portfolio Showcase Template tab)

    For your first request you need to go to portfolio-showcase-page.php and set 'posts_per_page' => 6,

    on line 39

    Thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • darren replied

    when I create a project in a the portfolio it automatically appears in the showcase. I want to be able to create a project without it appearing on the showcase. Can you control which projects appear on the showcase page? Does it always have to be everything in the portfolio?

  •  1,974
    Support replied

    Hi yes,

    think of the showcase template as a different view of the same set of portfolio items.

    you can control which projects are being displayed in it by modifying the query selecting the projects

    portfolio-showcase-page.php

    where you set the parameters

    $bario_args = array(
    'post_type' => 'bario_portfolio',
    'paged' => $bario_paged,
    'posts_per_page' => 1000,
    );

    see

    https://codex.wordpress.org/Class_Reference/WP_Query#Post_.26_Page_Parameters

    'Display only specific posts'

    for example

    $bario_args = array(
    'post_type' => 'bario_portfolio',

    'post__in' => array( 2, 5, 12, 14, 20 ),

    'paged' => $bario_paged,
    'posts_per_page' => 1000,
    );

    Thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • darren replied

    I think it would be really good to have a separate showcase portfolio which can link to the portfolio projects, but it can contain different content to the portfolio page. Maybe you can include this in the next update.