Custom Fields
Re-Envisioned
Support MB Relationships Need more example to show like the demo

This topic contains 1 reply, has 2 voices, and was last updated by  Anh Tran 9 months, 4 weeks ago.

  • Creator
    Topic
  • #11053
    Resolved
    justdoit123
    Participant

    I want to show like the demo image below, but i have no idea, i read document but still don’t know, it does not have in online generator or in Metabox AIO

    demo

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #11059

    Anh Tran
    Keymaster

    Hi, can you just try putting this code into your theme’s functions.php file?

    add_action( 'mb_relationships_init', function() {
        MB_Relationships_API::register( array(
            'id'   => 'posts_to_pages',
            'from' => 'post',
            'to'   => 'page',
        ) );
    } );

    You’ll see meta boxes “Connected From” and “Connects To” for posts and pages. It’s the most basic usage.

    Please try it.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.