Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,726 through 1,740 (of 3,708 total)
  • Author
    Posts
  • in reply to: MB Settings extension #11621
    Anh TranAnh Tran
    Keymaster

    Hi,

    To create a settings page, there are 2 steps:

    • Creating a settings page first, using the filter mb_settings_pages, and
    • Creating fields for the settings page, using the normal mb_meta_boxes.

    Both steps are described in this documentation. Please take a look and let me know if you see any difficulty.

    in reply to: Default empty w/required fields #11618
    Anh TranAnh Tran
    Keymaster

    Hi,

    I think if you mark a field required, the browser will force you to enter a value. It works per field, which means it doesn't depend on values of other fields. So no matter that field is in a group or not, if it's required, it should have a value.

    I'd suggest using custom JavaScript code to check the emptiness of a group (clone) before submitting the post, and not using the required featured. This way, you control when and how the field is "required".

    in reply to: OpenStreetMap is not working properly with Tabs Extension #11617
    Anh TranAnh Tran
    Keymaster

    Hi Saqib,

    Thanks for your feedback. I've just fixed in MB Tabs extension and in Meta Box plugin. Please update MB Tabs and get the dev version of Meta Box on Github. I'll release new version for Meta Box soon.

    Thanks

    in reply to: WYSIWYG Field not swapping between editor modes #11615
    Anh TranAnh Tran
    Keymaster

    Thanks for the info. I'm checking your site and found a problem: the ID of the field contains a space:

    https://imgur.elightup.com/sFnaTYm.png

    That comes from the $prefix = strtolower($this->attributes['post']['single']);, which transform Case Study to just case study. It should be case_study. Please try this code:

    $prefix = str_replace(' ', '_', strtolower($this->attributes['post']['single']));

    The space in field ID (and then in the input name/ID) causes unexpected behavior, and that might be a cause to this problem.

    in reply to: Display CPT in page #11604
    Anh TranAnh Tran
    Keymaster

    Hi Huy,

    Do you mean getting the post object or getting the items in the pricing table?

    Can you also share the code of the meta box?

    Anh TranAnh Tran
    Keymaster

    Hi Purdue,

    There's a bug that MB Revision doesn't work with custom table yet. We're working on that. Please wait for a few days.

    in reply to: WYSIWYG Field not swapping between editor modes #11602
    Anh TranAnh Tran
    Keymaster

    Hi, can you send me a temporary admin account? I'll check that for you.

    in reply to: Updating MetaBox with extensions through composer #11600
    Anh TranAnh Tran
    Keymaster

    Please do not use composer update. Try to remove the vendor folder and do composer install again. Running update makes Composer look up for a higher version than the current 4.19.10, which is not available.

    in reply to: Updating MetaBox with extensions through composer #11598
    Anh TranAnh Tran
    Keymaster

    Hi Erik,

    The error comes from the version dev-trunk for meta-box package (the free one). Please specify a correct version like ^4.15. There was an error in the tags in SVN for version "4.19.10" (which is not available. It should be "4.14.10"). I'll fix that now.

    Anh TranAnh Tran
    Keymaster

    Hi Dan,

    For both of that, you just need the free Meta Box plugin.

    a) For repeating text field, please use the clone feature.

    b) For standard fields, it's already supported. Please see the docs here.

    If you need advanced repeating fields, such as repeat a group of fields, then you'll need MB Group.

    That's all.

    Anh TranAnh Tran
    Keymaster

    Hi, thanks for your bug report. Let me check and fix it.

    in reply to: Taxonomy Archive Image #11586
    Anh TranAnh Tran
    Keymaster

    FYI, new version was tested and has just been released on wordpress.org. Please update!

    in reply to: Custom Post Type by Two Custom Fields via REST API #11585
    Anh TranAnh Tran
    Keymaster

    Hi,

    In WordPress 4.7, the filter parameter that filter the query parameters was removed. I found a repository on Github that re-add the filter. It's in the WP-API account on Github, so hopefully, it's official. Please try it.

    in reply to: Taxonomy Archive Image #11579
    Anh TranAnh Tran
    Keymaster

    Hi Michael,

    It's done on the branch term_meta on Github. But we need a few days to optimize the code and merge it to the final version. You can use the code on Github in the meantime.

    in reply to: Can't see Meta boxes #11576
    Anh TranAnh Tran
    Keymaster

    Hi Ben,

    Sorry to miss your question.

    Do you use any kind of condition for meta box? Kind of using the Include Exclude or Conditional Logic extension?

    And is the post type set correctly? Can you try with the normal post?

Viewing 15 posts - 1,726 through 1,740 (of 3,708 total)