Support Has Moved!

Please post all new questions on the new support system

Before posting a discussion topic, be sure to check out our Forum Rules and Support Policy.

Get design feedback and approval with our newest WordPress plugin, ProjectHuddle. Check it out →

Latest Struck Version is 1.06

Latest GridStack Version is 1.1

Latest Edition Version is 1.6

Latest District Version is 1.2.6

Latest ExtraNews Version is 1.4.9

Latest Aware Version is 1.4

Latest BigFormat Version is 1.4

Latest Bookcase Version is 1.54

Latest Ellipsis Version is 1.5

Excluding child pages from portfolio grid

richyp147's Avatar


10 Aug, 2015 09:00 AM

Hi Guys,

I have created sub child pages of the main portfolio pages, however they are appearing in the main grid with all the others.
How do I exclude them so that only parent items appear in the grid please.


  1. 1 Posted by Eric Schmidt on 10 Aug, 2015 04:51 PM

    Eric Schmidt's Avatar


    I'm not exactly sure what you're referring to? Portfolio items are not hierarchical by default, so they shouldn't have children. Did you edit the grid queries to also pull in Pages?

    To return only parent posts or pages in a WP_Query, you can add a 'post_parent' parameter...

    'post_parent' => 0,

    Using 0 will only return top level pages.


  2. System closed this discussion on 24 Aug, 2015 05:00 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac