Forum Replies Created
-
AuthorPosts
-
June 6, 2018 at 4:30 PM in reply to: How to autopublish post entered thru Frontend Submission with all the fields? #10079
Anh Tran
KeymasterYou should add that filter to your
functions.phpfile, something like this:add_filter( 'the_content', function( $content ) { if ( is_single() ) { $content .= do_shortcode( '[text-blocks id="showfields"]' ); } return $content; } );Anh Tran
KeymasterAh, I got it. Email and password are required to manually entered to update profile info. Perhaps only password is required, email should be auto filled. What do you think?
June 6, 2018 at 4:25 PM in reply to: ✅Conditional Logic based on selection in Checkbox List (using MB Builder) #10077Anh Tran
KeymasterHi,
I've just tried to set similar to you, and it works for me. Let me show you a video:
I also tested with tabs and it still works. Can you try again with just 2 fields?
Anh Tran
KeymasterHi Mauro,
I'll update the Builder and Geolocation extensions to make the API key part easier.
One question, I can show the address I type on the map, and the pin is placed in the correct location.
Updating the pin in the map regarding the address is out of scope of the Geolocation. It autopopulates the address parts only. The map is handled by the
mapfield.If I place the red pin elsewhere can I have it populate the address using the position of the pin instead?
I'm afraid there is no reverse process. Only one way from address to location.
Anh Tran
KeymasterHi, is the email/password issue resolved by your code in this topic?
June 5, 2018 at 9:56 PM in reply to: ✅'default_state' => 'collapsed', not collapsing group on load #10059Anh Tran
KeymasterHello, I've just tried your code and it works. Did you see any error in the console?
June 5, 2018 at 9:47 PM in reply to: ✅Conditional Logic based on selection in Checkbox List (using MB Builder) #10058Anh Tran
KeymasterHello, please try this:
Field: just use
c_country
Operator:contains. The value of a checkbox list is always an array. So it should "contains" your selection.
Value: the value of "Australia" that you set in the Options list of thec_countryfield.Please try and let me know how it goes.
Anh Tran
KeymasterHi Jose, is there any plugin that you installed on your site? Can you install this plugin and post the result here?
Anh Tran
KeymasterHi Garenor,
The Admin Columns extensions works partly with the custom table. It can show the data from custom table, but not sorting or searching. I'll update it to support custom table.
Anh Tran
KeymasterHi David, can you post the code that register meta boxes with columns? So I can debug it?
June 5, 2018 at 9:14 PM in reply to: How to autopublish post entered thru Frontend Submission with all the fields? #10054Anh Tran
KeymasterHello, the last question can be done with
the_contentfilter. Please see the docs and example here.Anh Tran
KeymasterHi Calpaq, I got it. I think in this case, it's better to use some conditional check in your template. Something like this:
if ( your_is_cart_empty() ) { echo 'Please go back and add some items'; } else { echo do_shortcode( '[mb_frontend_form id="meta-box-id"]' ); }It's much easier than filter the form or change the fields inside.
Anh Tran
KeymasterVery nice snippet, David. I've added it to the Library on Github :).
June 5, 2018 at 11:52 AM in reply to: if i add 0 value for select filed code not exporting values #10040Anh Tran
KeymasterHello,
My developer is still working on this bug. Looks like the Builder extension doesn't export the value correctly. We'll let you know when it's fixed.
June 5, 2018 at 11:50 AM in reply to: ✅Migrating custom fields data between Custom Post Types and Taxonomies #10039Anh Tran
KeymasterHi,
I'm quite confused about the slug. WordPress doesn't use it to store custom fields for posts. WordPress use a combination of (post ID, meta key, meta value) in the DB. That's the post ID that Meta Box is using.
Anyway, if there's anything involved with "slug", then it's not supported by Meta Box :(. So a custom migration script is required, I guess.
-
AuthorPosts