Forum Replies Created
Viewing 4 posts - 1 through 4 (of 4 total)
-
AuthorPosts
-
nerm
Participantadd_action( 'mb_relationships_init', function () { MB_Relationships_API::register( array( 'id' => 'products_to_products', 'from' => array( 'object_type' => 'post', 'post_type' => array('carburetors', 'distributors','linkage-kits','fuel', 'parts'), 'meta_box' => array( 'context' => 'normal', 'columns' => 3, 'title' => 'Connected to Products', 'field_title' => 'Select Product', ), ), 'to' => array( 'object_type' => 'post', 'post_type' => array('carburetors', 'distributors','linkage-kits','fuel', 'parts'), 'meta_box' => array( 'context' => 'normal', 'columns' => 3, 'title' => 'Connected from Products', 'field_title' => 'Select Products', ), ), ) ); } );nerm
ParticipantDoh!
Of course, sorry lol!
Many thanks
nerm
ParticipantI have a cpt called faq's, each post has a metabox clone group to add multiple questions and answers. Rather than add relationships to another cpt's posts to the entire faq post I would like to add relationships to the individual cloned groups Q & A:
Q:What is the average air speed velocity of an unladen European swallow?
A:about 24 miles per hour or 11 meters per second.
Related Article: European swallowsQ:Do Coconuts migrate?
A:Sed ut perspiciatis unde omnis iste natus error sit voluptatem laudantium.
Related Article: African swallowsMay 10, 2016 at 10:41 PM in reply to: Display value of text field (URL) in custom_html field in same group #3043nerm
ParticipantThanks for quick reply, any further help in regards to the javascript would be greatly appreciated.
-
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)