Title: Display all posts from folder
Last modified: August 30, 2016

---

# Display all posts from folder

 *  Resolved [rrmia](https://wordpress.org/support/users/rrmia/)
 * (@rrmia)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/display-all-posts-from-folder/)
 * Any way to to display all posts from a particular folder?
 * I know categories can do this but they’re being used for other structuring.
 * [https://wordpress.org/plugins/folders/](https://wordpress.org/plugins/folders/)

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

 *  [Steve North](https://wordpress.org/support/users/tex0gen/)
 * (@tex0gen)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/display-all-posts-from-folder/#post-6528528)
 * You can enable folders for posts in the options menu.
 * You can then do it one of 2 ways.
 * 1) Select the folder and click from the sidebar menu.
    2) Go to posts list and
   filter by your selected folder.
 * Hope this helps.
 *  Thread Starter [rrmia](https://wordpress.org/support/users/rrmia/)
 * (@rrmia)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/display-all-posts-from-folder/#post-6528548)
 * Thank you so much for getting back to me!
 * I’m sorry maybe I wasn’t clear. I meant display folder contents on the front-
   end.
 * What would be the actual code to display on a page.
 *  [Steve North](https://wordpress.org/support/users/tex0gen/)
 * (@tex0gen)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/display-all-posts-from-folder/#post-6528556)
 * Ah i see,
 * yeah, folders actually just uses a custom taxonomy for this exact reason.
    The
   taxonomy name is:
 * `folders4[POST_TYPE]`
 * So for posts, the taxonomy would be:
 * `folders4posts`
 * Here is a snippet to pop into your theme:
 *     ```
       $taxonomies = array(
           'folders4posts',
           'folders4pages'
       );
   
       $args = array(
           'orderby'           => 'name',
           'order'             => 'ASC',
           'hide_empty'        => true,
           'exclude'           => array(),
           'exclude_tree'      => array(),
           'include'           => array(),
           'number'            => '',
           'fields'            => 'all',
           'slug'              => '',
           'parent'            => '',
           'hierarchical'      => true,
           'child_of'          => 0,
           'childless'         => false,
           'get'               => '',
           'name__like'        => '',
           'description__like' => '',
           'pad_counts'        => false,
           'offset'            => '',
           'search'            => '',
           'cache_domain'      => 'core'
       ); 
   
       $terms = get_terms($taxonomies, $args);
   
       foreach ($terms as $key => $term) {
       echo $term->name;
       }
       ```
   
 * Some of that snippet is taken from the wordpress codex:
 * [get_terms()](https://codex.wordpress.org/Function_Reference/get_terms)
 * In a future version of folders, we will be adding shortcodes to do this.
 * I hope that helps.
 *  Thread Starter [rrmia](https://wordpress.org/support/users/rrmia/)
 * (@rrmia)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/display-all-posts-from-folder/#post-6528557)
 * Thank you that’s perfect!
 *  [Steve North](https://wordpress.org/support/users/tex0gen/)
 * (@tex0gen)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/display-all-posts-from-folder/#post-6528630)
 * No worries, i’m glad i could be of help.

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

The topic ‘Display all posts from folder’ is closed to new replies.

 * ![](https://ps.w.org/folders/assets/icon-256x256.gif?rev=2893439)
 * [Folders - Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager](https://wordpress.org/plugins/folders/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/folders/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/folders/)
 * [Active Topics](https://wordpress.org/support/plugin/folders/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/folders/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/folders/reviews/)

## Tags

 * [categories](https://wordpress.org/support/topic-tag/categories/)

 * 5 replies
 * 2 participants
 * Last reply from: [Steve North](https://wordpress.org/support/users/tex0gen/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/display-all-posts-from-folder/#post-6528630)
 * Status: resolved