Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 3,481 through 3,495 (of 3,708 total)
  • Author
    Posts
  • in reply to: Meta Box Updater Problem + Core Bundle Update Issues #1926
    Anh TranAnh Tran
    Keymaster

    Yes, moving the code into the constructor makes it runs on all pages. That's why I need to put it in admin_init. Can you check by clicking Check update button (maybe some times)? WP doesn't trigger checking updates more than twice a day, that's probably why you don't see new version.

    I'm working on the update system and that will cover the issue.

    in reply to: Undefined Method RW_Meta_Box::has_been_saved #1925
    Anh TranAnh Tran
    Keymaster

    Hi, can you check the download again? It's 1.0.4: https://metabox.io/plugins/meta-box-group/

    in reply to: Positions of tooltip : with input (Feature idea) #1923
    Anh TranAnh Tran
    Keymaster

    Thanks for your idea. Added it into the feature request queue ๐Ÿ™‚

    in reply to: Meta Box Updater Problem + Core Bundle Update Issues #1911
    Anh TranAnh Tran
    Keymaster

    Hi keenadv,

    Thanks for your comments! I really appreciate that you suggest ideas for the code.

    The reason I added the filter in admin_init hook is for checking user permission. And it still works. Why do you think it's triggered too late? Doesn't that work for you?

    Regarding the core extensions bundle, you're right about that. I'm trying to improve the update system (mostly on the server) to be able to handle bundles well. This issue was requested for a while, but I haven't completed it yet.

    in reply to: Saving problems #1876
    Anh TranAnh Tran
    Keymaster

    Hmm, the latest version is 1.0.3, so you should be able to see updates. Can you please click Check updates in Dashboard | Updates to force check for updates again?

    In case you still haven't seen updates, please go to your profile and re-download the extension. I will check the problem with updater again.

    in reply to: Saving problems #1870
    Anh TranAnh Tran
    Keymaster

    Yes, doesn't it show new updates available for group extension? Have you entered your API key in the Updater's settings page? Can you please check the current version of the group extension that you're using?

    in reply to: Can't use wp_query "meta_key" parameter to filter posts #1868
    Anh TranAnh Tran
    Keymaster

    I mean getting the ID of the post you want to get value for. Inside the loop, you setup global post object and the helper function auto takes its ID. But outside the loop, the helper function doesn't know which post object to take ID, and thus it might output the wrong value.

    I'm not sure if that's the case, cause the situation is not 100% clear. That are just my thoughts.

    in reply to: Saving problems #1867
    Anh TranAnh Tran
    Keymaster

    It seems the version of group extension is old. Please update the Group extension to the latest version 1.0.3 which has a fix for this.

    in reply to: Problem with clonable fields and groups #1860
    Anh TranAnh Tran
    Keymaster

    Hi Johann, I think yes :), the code is correct.

    in reply to: 2 Feature Suggestions #1859
    Anh TranAnh Tran
    Keymaster

    Hmm, I see. So you set a fixed template for the front page and don't use Page template at all.

    My suggestion is making the front page a normal page template (so it won't be hardcoded) - template-front-page.php for example and use the extension to show meta box for this page template only:

    'show' => array(
        'template' => array( 'template-front-page.php' ),
    )
    in reply to: Unable to save "0" in the text field #1853
    Anh TranAnh Tran
    Keymaster

    Let me check it again and get back to you. The 4.7 has a new feature with custom attributes, including the meta value. Maybe it *thinks* the value is empty and doesn't show it.

    in reply to: Problem with clonable fields and groups #1852
    Anh TranAnh Tran
    Keymaster

    Hi Johann,

    For group, the value of a group is always an array. If it's cloneable, then the value is always array of arrays (2 level depth array), even when it's empty. So, for group, you should check the subvalue as well, not just empty on the group value.

    For other fields, I can't replicate the bug. There is also 1 open pull request for similar bug on Github (for oembed field), but I can't make the same bug:

    https://github.com/rilwis/meta-box/pull/703

    Do you see the same problem? Can you post your code?

    in reply to: rwmb_fieldID_field_title filter #1851
    Anh TranAnh Tran
    Keymaster

    Hi Saul,

    I think it's fixed in the development version on Github:

    https://github.com/rilwis/meta-box/blob/master/inc/fields/post.php#L142

    I will update the plugin soon so it's available on WordPress.org as well.

    in reply to: rwmb_meta values unset after a shortcode #1850
    Anh TranAnh Tran
    Keymaster

    In your shortcode, you use a custom query but you don't reset the query after outputting HTML. That makes the global $post object isn't reseted and contains wrong value of the current post. Thus, the rwmb_meta shortcode can't get the correct value.

    Best way to resolve this is adding wp_reset_postdata() after your query and try again.

    in reply to: 2 Feature Suggestions #1849
    Anh TranAnh Tran
    Keymaster

    Hi Johann,

    1. You mean if the page is set as the static front page in Settings | Reading? Or just front page template?

    If front page template, we already have that with the option 'template'.

    2. We have options to reorder clonable fields. Just add 'sort_clone' => true to the field and you will see :). It works for both normal fields and group.

Viewing 15 posts - 3,481 through 3,495 (of 3,708 total)