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

  • Creator
  • #11053
    Resolved justdoit123

    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


Viewing 1 replies (of 1 total)
  • Author
  • #11059
    Anh Tran

    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.
grid gear info copy caret-up caret-down trash