Relationships adding child posts to parent in the front end

Support MB Relationships Relationships adding child posts to parent in the front endResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26934
    FanomenalFanomenal
    Participant

    If I have 2 custom post types.
    One a class and another a pupil in a relationship.

    Is there are 'meta box' way to create a single screen for adding pupils to classes and seeing the class pupils populated as they are added?

    As I say, I'd like to do this on a single page.

    #26936
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thank you for reaching out.

    You can use the extension MB Frontend Submission to create a post on the frontend and create connections to other posts also.

    Each relationship meta box has an ID: {$relationship_id}_relationships_from and {$relationship_id}_relationships_to. You can include these IDs in the form shortcode to show it on the front end.

    Get more details on the documentation https://docs.metabox.io/extensions/mb-frontend-submission/, and refer to this topic https://support.metabox.io/topic/mb-relationships-mb-frontend-submission/.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.