Post on Portfolio

Front page Support Forums Ikebana Theme Support Post on Portfolio

This topic contains 1 reply, has 2 voices, and was last updated by  satori 1 year ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #6980


    I know, you say there is a difference between post and projects
    but there is any way, maybe a PLUGIN or something to display both (recent) blog post AND portfolio item boxes in the opening grid design



    Hey Tinchox17,

    in Ikebana, projects are displayed on the portfolio masonry grid page template and posts are displayed in the classic blog for the following reason: in the website’s structure, the mentioned masonry page serves as a page to showcase works or other items, not as a universal front for all what’s happening on the website. Technically, one can in principle have both posts and projects displayed in the same grid, yet that would require altering the theme’s template files, most importantly the “page_portfolio.php” file; it needs to start by adding the posts to the main query that generates the loop for that template, namely changing line 69 from

    $wp_query = new WP_Query( array( 'posts_per_page' => $ppp , 'post_type' => 'project' , 'paged' => $paged , 'post__not_in' => $exclude_ids, 'order' => $order, 'orderby' => $orderby ) );


    $wp_query = new WP_Query( array( 'posts_per_page' => $ppp , 'post_type' => array( 'project', 'post') , 'paged' => $paged , 'post__not_in' => $exclude_ids, 'order' => $order, 'orderby' => $orderby ) );

    However, additional customizations in the theme’s CSS styles and other template files (such as “content.php”) might be necessary for this to work as needed in this case.

    Andrii / Satori Studio

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

You must be logged in to reply to this topic.