Title: Can posts be added to sections programmatically?
Last modified: August 21, 2016

---

# Can posts be added to sections programmatically?

 *  [danervin](https://wordpress.org/support/users/danervin/)
 * (@danervin)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/can-posts-be-added-to-sections-programmatically/)
 * We have a large site with multiple Custom Post Types. Since child pages are frequently
   different types, and can appear in multiple locations, we are using the Posts
   2 Posts plugin, rather than parent-child hierarchy, to link posts.
 * I am trying to do things programmatically, so that section editors will be able
   to create their own pages without admins having to add every post to section 
   groups.
 * Are there a functions to:
    1) determine which section(s) a user is a member of?
   2) determine which section(s) a post is in? 3) add a post to a section group?
 * [https://wordpress.org/plugins/bu-section-editing/](https://wordpress.org/plugins/bu-section-editing/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [BU Web Team](https://wordpress.org/support/users/bostonu/)
 * (@bostonu)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/can-posts-be-added-to-sections-programmatically/#post-4871215)
 * Thanks for your interest in the plugin!
 * While there are certainly functions that do these things, they are internal to
   the plugin and would not be considered a public and officially supported API 
   at this time.
 * I’ve added this as an enhancement request to the Github repository: [https://github.com/bu-ist/bu-section-editing/issues/8](https://github.com/bu-ist/bu-section-editing/issues/8).

Viewing 1 replies (of 1 total)

The topic ‘Can posts be added to sections programmatically?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bu-section-editing_867e79.svg)
 * [BU Section Editing](https://wordpress.org/plugins/bu-section-editing/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bu-section-editing/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bu-section-editing/)
 * [Active Topics](https://wordpress.org/support/plugin/bu-section-editing/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bu-section-editing/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bu-section-editing/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [BU Web Team](https://wordpress.org/support/users/bostonu/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/can-posts-be-added-to-sections-programmatically/#post-4871215)
 * Status: not resolved