Second portfolio?

Viewing 5 posts - 1 through 5 (of 5 total)
  • #9371


    First of all, thanks for this wonderful theme, it’s great!

    I went through the support forum to see whether someone had tried to do something similar to what I want to do, but did not find anything. If I missed a post, I apologise beforehand, and would love to get the right link.

    I am working offline, so I cannot link to the website I am trying to create.

    First of all, what I want to achieve as a result: I need a home page where news of the organisation that I work for display neatly. Then, we want to present the team, so another page should display a grid of pictures with titles that link to a profile page. Eventually, we work with other partner organisations whose logos I would like to display in a separate page.

    Then, the constraints: both team members and partner organisations evolve. While we had previously one page dedicated for partner organisations’ logos, we’ve realise that this is very hard to manage, so I’m trying to find a way around this.

    Hence, the current solution I am exploring, that leads to my question: for both team members and partner organisations, I decided to create posts respectively attached to a “team” category, and to a “members” category. I selected the ‘exclude portfolio’ option in theme options, and then defined the portfolio category as “team”. Hence, all posts I’ve created so far for team members display like a portfolio, with good looking pictures of the team and their name under it – which is the result I wanted. By combining the posts template plugin with this, I could fully customise the experience for team members’ visualisation.

    My problem came when I started creating the page for partner organisations. Basically, I want to do the same: have a portfolio-like looking page where I can have logos displayed, with names of organisations as titles, very simple to add – i.e. simply by creating a new member dedicated page that will automatically be added to the already existing overview of partner organisations. If logos are clicked, they link to a “members profile” post/page that will have it’s own post template.

    So I have three questions, related to this issue:
    1) How could I create a second home-page excluded category linked to a second portfolio page, so that I can use the portfolio templates to display a separate category (partner organisations) without mixing them up with the team?
    2) Is there any possibility for three categories to be visually separate? The members’ page I am trying to re-create is this one:
    As you can see, there are founding members, corporate members, and academic and non profit members, graphically separated.
    3) In case the solution I am exploring (second portfolio) is not the best one, do you have other ideas that could allow me to achieve the result I am looking for?

    Final remark: I have very little skills in CSS and HTML – I kind of get how it works, but I am totally unable to write down code; in other words, I can somewhat read, but that’s all.

    Thank you very much beforehand, I hope my question is clear enough, if not I’d be glad to explain more!



    Daniel Tara

    What you are asking for is pretty complicated. Basically you can excude as many categories from the main loop as you want. See here how you can exclude categories.

    Also, each category puts a unique class in the body tag and you can customize its CSS using this ID. If you want a complete separate template, you can create one called category-{slug}.php and use it for that category.


    Thanks for the link, I’ll see if I can tweak something up and keep you posted πŸ™‚
    In the meantime, if anyone else finds an alternative let me know!


    Hi and thanks again for the guidance!
    I tested some stuff around and ended up modifying the pinboard_filter_query in functions.php (I’m using a Child Theme by the way).
    Basically, I added a line, so now it reads the following:

    if ( ! function_exists( ‘pinboard_filter_query’ ) ) :
    * Filter the main loop
    * Allows overriding of query parameters
    * for the main loop without performing
    * additional database queries
    * @since Pinboard 1.0
    function pinboard_filter_query( $query ) {
    global $wp_the_query;
    if( $wp_the_query === $query ) {
    if( $query->is_home() && pinboard_get_option( ‘slider’ ) )
    $query->set( ‘ignore_sticky_posts’, 1 );
    if( $query->is_home() && pinboard_get_option( ‘blog_exclude_portfolio’ ) )
    $query->set( ‘cat’, ‘-‘ . pinboard_get_option( ‘portfolio_cat’ ) );
    if( $query->is_home() )
    $query->set( ‘cat’, ‘-25, -22, -18’ );

    I have no idea if this is good code, whether I am altering other functions of the theme or not, but it works – which is my goal. But just in case, so that if I ever encounter an issue, do you by any chance know if this is having impacts on other things? I suspect my added line from neutralising the portfolio exclusion function (while I was testing, I had to manually remove the portfolio category, otherwise it would display again while the one I was trying to take off wouldn’t show up).


    (I’ve just realised this is not in the pinboard theme support forum, which is where I wanted it to be! If a moderator reads this, could you please move it to the right place? Thanks!)

Viewing 5 posts - 1 through 5 (of 5 total)


You must be logged in to reply to this topic.