Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 3,646 through 3,660 (of 3,702 total)
  • Author
    Posts
  • in reply to: Problem with filter by 'slug' #738
    Anh TranAnh Tran
    Keymaster

    Thank you very much for this! I've just updated the plugin with this fix.

    Have a good day.

    in reply to: How get updated extensions from bundle? #737
    Anh TranAnh Tran
    Keymaster

    Hi,

    I've just updated the bundle, please download again. It now contents latest versions of all plugins.

    Thanks for letting me know that!

    in reply to: Google Map is Not Rendering in Secondary Tabs #728
    Anh TranAnh Tran
    Keymaster

    Do you mean the marker sometimes does not appear or the map? I think with latest version of Tabs extension, the map appears all the time :), but please let me know for sure. I will check the marker, too.

    PS: My pleasure to answer to your question at wp.org! Glad that it helped you to know the new way to register meta boxes!

    Anh TranAnh Tran
    Keymaster

    Hi,

    To display meta value in single.php or in any place in the frontend, you just need to use the helper function (rwmb_meta). There is no difference using it for a website using WPML and not using WPML.

    More info: WPML stores the value of meta fields for translated post (and the translated post itself) separately in the database. We can consider it as a totally different post with full data comes with it.

    in reply to: Google Map is Not Rendering in Secondary Tabs #719
    Anh TranAnh Tran
    Keymaster

    Thanks for your feedback!

    I've just updated the Tabs plugin, now it works with Google Maps in hidden tabs. Please update it and let me know.

    I will check the question on wp.org and answer it there.

    Thank you

    in reply to: Google Map is Not Rendering in Secondary Tabs #714
    Anh TranAnh Tran
    Keymaster

    Can you try resizing browser and see if the map is loaded?

    If yes, then it is a known issue with Google maps which doesn't load when the DOM element is hidden. I will add a JS callback for that if this is the case.

    Anh TranAnh Tran
    Keymaster

    Thanks for your idea. It's a good solution for this purpose. I will think about it, maybe I will add hooks which allows us to do that. I will add more details and let's see how it goes.

    Anh TranAnh Tran
    Keymaster

    Hi,

    This is an good question about how the plugin store post meta in the database. The short answer for your question is "no" and here is why:

    When the "clone" feature wasn't born, the plugin stores all meta data in the data base in a WordPress-compatible way, e.g. if field has single value, it will be saved in single row of postmeta table; if field has multiple values (set by 'multiple' => true), each value will be saved in single row of that table. This way you can use add_post_meta or update_post_meta field post's custom fields to retrieve meta value.

    But when the "clone" feature is born, it's confusing to store each cloned value in a single row of postmeta table. Because we don't know these are values of clones, or values of the field with multiple = true. In order to make it work for all field types and for consistency, I decided to store cloned values in an array and store that array in single row in the postmeta table.

    So, we can't use WP_Query to query based on value of a cloned field directly. I think your solution with foreach loop is a good solution for now.

    in reply to: Change clone buttontext #694
    Anh TranAnh Tran
    Keymaster

    The version 4.4.3 is now available on wordpress.org. Please update and let me know if you find any bugs.

    Thanks!

    in reply to: Change clone buttontext #692
    Anh TranAnh Tran
    Keymaster

    Ah, you're right. I forgot to tell you that the latest version of Meta Box on Github has correct code which supports valid arguments for the filter. I will push it to wp.org so you can update the plugin now.

    in reply to: Change clone buttontext #689
    Anh TranAnh Tran
    Keymaster

    Version 1.0.1 now supports changing clone button text. Please update the plugin and follow this guide.

    Please let me know if you need any help.
    Best regards!

    in reply to: Number of clones #682
    Anh TranAnh Tran
    Keymaster

    Your idea is interesting. At the moment, this feature has not been inplemented. I think it would be done with Javascript attached on the click event and update the Add more button class or disable attribute. I will think more about that and will imform you when it's done.

    Anh TranAnh Tran
    Keymaster

    Yes, that's right. When you want to register fields with type "group", you need to activate MB Group extension, otherwise it will show the error like you saw.

    in reply to: Change clone buttontext #653
    Anh TranAnh Tran
    Keymaster

    At the moment, the text for clone button is fixed. I will add a filter for you to change it in next version.

    in reply to: Hide Tab #626
    Anh TranAnh Tran
    Keymaster

    Unfortunately this is not possible at the moment. I'd suggest setting up another meta box for page template and use Include/Exclude extension to show/hide it.

Viewing 15 posts - 3,646 through 3,660 (of 3,702 total)