Forum Replies Created
-
AuthorPosts
-
Truong Giang
ParticipantHi there,
Can you give me the full code? Or at least the code which problem occurs.
Thanks!Truong Giang
ParticipantHi there,
I didn't get fully your problem. Can you describe more detail again?
Thanks.Truong Giang
ParticipantCan you give me the code you use to register meta box?
Thanks.Truong Giang
ParticipantHi there,
That feature is added in
1.2.0version. The documentation is here: https://docs.metabox.io/extensions/mb-relationships/#displaying-sibling-itemsThank you
Truong Giang
ParticipantHi @foundbutlost,
Assume post2 also connects to page2, do you want to retrieve all posts connect to page1 or page 2?
Truong Giang
ParticipantHi there,
Let us check this problem for you.
Thank you.
Truong Giang
ParticipantHi there,
Sorry for late reply. I checked many times but can't get your problem. Did you try with 2017 theme and all plugins are deactivated?
December 28, 2017 at 12:06 PM in reply to: Error with Custom Tables Plugin when Deleting Posts #8026Truong Giang
ParticipantHi there,
Do you use latest version of Meta Box? Please give us the code you use to register meta boxes.
Thank you.
Truong Giang
ParticipantHi there,
Maybe using if...else is complexible. I think you should separate each option to a template file, like this:
$option = rwmb_meta('tp-primo-featured-image-options'); if ( ! $option ) { $option = 'show_above_title'; // Make default value work. } get_template_part( "header/{$option}.php" );Truong Giang
ParticipantHi there,
Please replace
$image_ids = get_field('gallery', false, false);with this:$image_ids = rwmb_meta( 'gallery' );Thank you.
Truong Giang
ParticipantHi there,
Thank you for great suggestion. We will consider to add it.
December 26, 2017 at 10:54 AM in reply to: add or edit blog title with settings page extension #7988Truong Giang
ParticipantHi there,
At the moment, that feature is unavailable. But we will consider to make it.
Thank you.Truong Giang
ParticipantHi there,
Please try this code:
$option = rwmb_meta( 'xxxxxx-featured-image-options' ); if ( ! $option || 'show_blow_title' == $option ) { // do action. }For other options, you don't need
! $optionThank you.
Truong Giang
ParticipantHi there,
Taxonomy field doesn't save data to post meta or options, it is used for assigning a taxonomy to a post. You should use taxonomy_advanced instead. Read more here: https://docs.metabox.io/fields/taxonomy/#data
For other problems, please wait for us to check it.
Thanks.
Truong Giang
ParticipantHi there,
Do you mean that the third field will be displayed when at least first or second field is not empty?
Thanks.
-
AuthorPosts