Forum Replies Created
-
AuthorPosts
-
Tan Nguyen
ParticipantDear David,
If you install both MB Builder and MB Include Exclude, you'll see this pane:
Best regards,
Tan
Tan Nguyen
ParticipantDear Matt,
You can also set
post_typesin your Meta Box instead of MB Conditional Logic:'post_types' => ['product']Tan
October 11, 2016 at 2:01 AM in reply to: โ Conditional Logic to display meta box based on custom post type sub categories #4269Tan Nguyen
ParticipantDear azientar,
Sorry for the long silence, I've been sick recently. I've checked with my local development and it works properly. I'd suggest you remove the Post Type in Conditional Logic section and set
Post Typein General section instead, like this screenshot:Can you please make sure your taxonomy is
post_categoryand recheck your slug?Best regards,
Tan
Tan Nguyen
ParticipantDear UitgeverijDeviant,
Sorry for the long silence, I've been sick recently.
In order to create User Meta via Builder, navigate to Settings tab, in Custom Attributes section, add new attribute with key is
typeand value isuser, like this screenshot:Best regards,
Tan
September 28, 2016 at 3:03 PM in reply to: โ Conditional Logic to display meta box based on custom post type sub categories #4160Tan Nguyen
ParticipantDear azientar,
With conditional logic for Meta Box, you can define with code like so:
'visible' => [ 'relation' => 'and' 'when' => [ ['post_type', 'ait-items'], ['slug:post_category', 'Financial Adviser'] ] ]So, in your MB Builder, go to Settings tab:
- Under Conditional Logic section, select
VisiblewhenAll...
- Add a conditional logic, when fieldpost_typeis=ait-item
- Add another conditional logic, whenslug:post_categoryis=Finalcial AdviserBest regards,
Tan
Tan Nguyen
ParticipantDear Sinusite,
This bug cause when
idis one of Google address components, and Geolocation match with any field which contains address components instead of match exactly with it. I've fixed the logic so it doesn't auto populate withany_idfield. Please update to 1.1.1 which have patch for it.Thanks for reporting and best regards,
Tan
Tan Nguyen
ParticipantI've fixed this bug and pushed new release. Please grab the latest version which fixed this annoying bug.
Cheers!
Tan Nguyen
ParticipantDear cmcmahon,
Please grab the latest version (2.1). We've fixed that bug.
Cheers!
Tan Nguyen
ParticipantDear Jeremy,
Please grab the latest version (2.1) and recreate your Meta Box.
Best regards,
Tan
Tan Nguyen
ParticipantHmm, that's weird, let me check and tell you when I found the problem ๐
Tan Nguyen
ParticipantDear solopine,
Thanks for using our plugin. Previously, users have to define
MBC_JS_URLconstant if they want to include it to their own theme, that's why you got that bug. Sorry for inconvenience. We've just updated the plugin and it not requires you to define that constant. Please grab the latest version (1.3.3).Cheers!
Tan Nguyen
ParticipantDear Jeremy,
Sorry for that inconvenience, that bug caused when you deleted all post types and fields. Try adding post types and fields back in the builder, if you cannot, try removing that meta box and create it again. We'll put new update shortly.
Best regards,
Tan
Tan Nguyen
ParticipantDear Matt,
Because
post_categoryreturns ids of categories, to cast it to array of slugs, we have to useslug:prefix.post_typereturns string of current post type so we don't have to cast it. So just use:'visible' => ['post_type', 'product']Best regards,
Tan
Tan Nguyen
ParticipantSeems that it doesn't works with the latest WP update. I'll push a new update this weekend ๐
Tan Nguyen
ParticipantDear Matt,
Glad that it works. Please don't hesitate to tell us if you have another problems.
Best regards,
Tan
-
AuthorPosts