Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 2,611 through 2,625 (of 3,707 total)
  • Author
    Posts
  • in reply to: Settings "post_fields" to required #7143
    Anh TranAnh Tran
    Keymaster

    With the new filter in the version 1.1, you're now able to do that :). Please see the updated documentation for more details.

    in reply to: Adding description to post_fields #7142
    Anh TranAnh Tran
    Keymaster

    Hi Florian,

    Thanks for your patient. I've just updated the plugin with filters for the post fields. I also added a template loader, which you can use to define the template for each field (similar to what WooCommerce do).

    Please follow the instruction in the updated documentation.

    in reply to: Adding description to post_fields #7126
    Anh TranAnh Tran
    Keymaster

    I was thinking about this and the "require" attribute. Haven't found a good way to implement them in the shortcode. What do you think about this? Any suggestion?

    in reply to: Uploading post thumbnail leads to PHP Fatal error #7125
    Anh TranAnh Tran
    Keymaster

    Thanks for your feedback. I've just fixed this bug and updated the version 1.0.3.

    in reply to: Settings "post_fields" to required #7095
    Anh TranAnh Tran
    Keymaster

    This is a good idea! I will add this in the next version.

    in reply to: Using hooks data inside MB_Frontend_Post #7093
    Anh TranAnh Tran
    Keymaster

    Hi Florian,

    Thanks for your comment. I didn’t think about this, just thougth $this is enough. I’ve just released new version 1.0.2 with these properties public. Please update.

    in reply to: Does not work after update to 1.1 #7070
    Anh TranAnh Tran
    Keymaster

    I was misunderstanding. Just updated the plugin to 1.1.1. Please try it.

    Thanks

    in reply to: creating a clone group #7066
    Anh TranAnh Tran
    Keymaster

    Hi,

    The group is just like another fields. To make it cloneable, please just add 'clone' => true.

    in reply to: Does not work after update to 1.1 #7065
    Anh TranAnh Tran
    Keymaster

    Strange, the code works fine to me:

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

    in reply to: Multiple maps #7063
    Anh TranAnh Tran
    Keymaster

    Hi Jackky,

    Can you please give us more details on the later issue?

    Anh TranAnh Tran
    Keymaster

    Your code looks fine. I just found the problem. It's just the MB Settings Page is loaded at init with priority 5, which is later than widgets_init (fires at init with priority 0). So, to solve this problem, simply replace widgets_init with init!

    in reply to: Does not work after update to 1.1 #7054
    Anh TranAnh Tran
    Keymaster

    Can I see your full code? I've just tested with the latest version 1.1 and here is my result:

    in reply to: Creating a metabox without using the MB Plugin #7053
    Anh TranAnh Tran
    Keymaster

    Hi, the code still requires the Meta Box plugin to use. It's the heart of all extensions. With the exported code, you can remove the MB Builder extension, but still need to keep Meta Box active!

    in reply to: Does not work after update to 1.1 #7039
    Anh TranAnh Tran
    Keymaster

    Sorry to miss this topic. Can you please post your code here?

    Anh TranAnh Tran
    Keymaster

    Hi,

    As long as you saved theme settings, the settings is stored in the options table and of course, you can use the helper function to get it anytime you want, even before init hook. That's why when you print the value of the function prefix_mega_menu_widget_classes, it always work.

    I guess the problem is the way you register menu locations in your theme. It probably happens after widgets_init hook. FYI, widgets_init hook fires at init with priority 0. So, if you register your menu locations at init with priority 10, it will run *after* and doesn't work. Try to move the code to register menu locations to priority 0. (You still need to check to make sure it runs *before* widgets_init).

Viewing 15 posts - 2,611 through 2,625 (of 3,707 total)