Okay
  Public Ticket #1977806
Defining portfolio items
Closed

Comments

  • Jonathan Wingrove started the conversation

    Hi ClaPat

    I have a few support questions if you can help me please? 

    1. I can see how to omit certain portfolio posts from the showcase but I would like to do this with other portfolio posts on other pages. I.e. portfolio posts from the showcase don't show on other pages I create. Is this possible? If so how do I go about doing it?

    2. Is it possible to make the clients logo's links opening in a new window so I can link to their respective websites?

    3. Similar to above I would like to know how to make the email address and phone number on contact page a link to open?

  •  1,973
    Support replied

    Hello Jonathan,

    1. You can omit certain portfolio items in showcase and carousel sliders however the portfolio grid will display all the items unless you have the Portfolio Mixed template which will display only the first N items (where N is configurable). To change it you need to modify in portfolio-page.php this bit:

    $satelite_args = array(
    'post_type' => 'satelite_portfolio',
    'paged' => $satelite_paged,
    'posts_per_page' => 1000,
    );

    to exclude certain items

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

    see post__not_in

    2. you need to get shortcodes HTML output (just go to the browser and right click -> View Source) and then wrap the image with a href target="_blank" tag. Insert the modified HTML code in the page content instead of the shortcode.

    3.see the point above


    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Jonathan Wingrove replied

    Thank you very much.

    I will try my best :)

  •  1,973
    Support replied

    OK, closing this for now.

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy