Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHello,
First of all, thank you for trying Meta Box. I'm sorry that you had difficulties using it. Can you please clarify your concerns so that I can help you more closely? For example: what fields do you want to create, with what conditions, or which part of the documentation is vague? I will try my best to help you.
I see you bought only the Builder extension. There are some features such as conditional display meta boxes for a specific page template or display it for terms, and they need some other extensions to work. Besides, the approach in the Builder extension is somewhat different from ACF, so maybe something is not the same.
I hope you can give us the chance to help you.
Thank you.
Anh Tran
KeymasterI guess we have some misconception about "template". The template that plugin provides is the "text" version of the meta box settings, which is different from the page template that you imagine in the frontend. Am I correct?
Anh Tran
KeymasterOh, I see. My previous reply was for another problem (show/hide the image/video field when selecting an option). I'll check this bug and reply soon.
Anh Tran
KeymasterHello,
Yes, you can. Just create different meta boxes for different pages. You might want to use the MB Include Exclude to show specific meta boxes for a specific page. This extension works well with the MB Template extension.
Anh Tran
KeymasterHello,
Your question is about the Frontend Submission extension, so I moved it to the corresponding forum.
Regarding the HTML markup of uploaded images, we mimic the markup in the Media Library in the admin area, which looks like this:
https://imgur.elightup.com/WimQaQC.png
Although there are some redundant
div, it doesn't affect your style very much. However, you still need to add some CSS to make it looks seamless with your theme.Anh Tran
KeymasterPlease check the field ID in the code. I didn't know which
$prefixyou used, so I usefootball_. Not sure if that's right.Anyway, do not just copy and paste the code 😉
February 7, 2018 at 12:02 PM in reply to: Php Error conflicts with Tribulant Newsletter Plugin #8480Anh Tran
KeymasterNo problem. New version with hot fix released.
Anh Tran
KeymasterHi, I've just tested the code. Sometimes the bug occurs, sometimes doesn't. I'll keep tracking on that.
Anh Tran
KeymasterHi,
I've just checked your code and found that the problem is the ID of the radio field, which is
type. As this is the radio field, there are actually 2 inputs with the same name. The JavaScript tries to *guess* the field using this selector[name*="type"]. It's ambiguous, and actually it returns *another WordPress field*, which is thepost_type(a hidden input).I'd suggest using prefix for your field's ID (as stated in the documentation). It's a good way to keep the field ID/name unique, and thus make the selector works. I've tried changing the ID from
typetotype123and it works.Please try and let me know how it goes.
Anh Tran
KeymasterSorry guys, I've fixed the plugin but forgot to update the version on metabox.io, so the Updater doesn't work. Please try it again, it should be ok now.
Anh Tran
KeymasterHello, can you describe the steps you get the bugs 2 and 3?
February 5, 2018 at 11:25 AM in reply to: MB Relationships - Updating when MB Updater is active breaks this extension #8453Anh Tran
KeymasterHi John,
The problem with the Updater is fixed. It's in the metabox.io system.
Regarding the stuffs in the admin list, yes, those are suggested. We also have Admin Columns plugin and I'll think a best way to do that.
Anh Tran
KeymasterYes, you can. After getting group value, you can sort sub-groups using a custom function, like this:
$group = get_post_meta( get_the_ID(), 'football_league_table_option', true ); usort( $group, function ( $a, $b ) { $score_a = $a['football_team_win_stat']; $score_b = $b['football_team_win_stat']; if ( $score_a == $score_b ) { return 0; } return ( $score_a > $score_b ) ? - 1 : 1; } ); $counter = 0; // other codeFebruary 5, 2018 at 10:38 AM in reply to: ✅Drag and drop reordering will be hidden the content #8450Anh Tran
KeymasterHello, what content did you mean? Is it hidden when cloning or after cloning? Can you take a screenshot?
February 2, 2018 at 6:06 PM in reply to: post_id in hook rwmb_frontend_after_process is missing #8434Anh Tran
KeymasterHello, I've just added submitted post ID to the
$configvariable. Please update the plugin. -
AuthorPosts