Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 2,791 through 2,805 (of 3,707 total)
  • Author
    Posts
  • in reply to: Composer #5463
    Anh TranAnh Tran
    Keymaster

    Hi Nick,

    There's no keys for the extensions. They're not available for Composer yet.

    in reply to: Composer #5461
    Anh TranAnh Tran
    Keymaster

    Hi Nick,

    I haven't released the extensions on Packgist yet. Only the core plugin is available there. Here is the documentation for Composer.

    in reply to: How to set post title on save/publish from meta values? #5452
    Anh TranAnh Tran
    Keymaster

    Hi,

    This can be done with filter wp_insert_post_data. I answered a similar question on StackOverflow. You can access to meta fields via $_POST.

    PS: The reason you should not use save_post or these actions because using them require to call wp_update_post function, which causes an infinite loop of saving data. Using wp_insert_post_data makes sure you update the data before the post is updated and thus, no infinite loop.

    in reply to: Clone function not working #5451
    Anh TranAnh Tran
    Keymaster

    OK, I found the bug and just updated the Meta Box Yoast SEO plugin. Please update it.

    in reply to: โœ…Suggestion #5449
    Anh TranAnh Tran
    Keymaster

    OK, I got it. It's actually beyond the scope of the plugin. Include/exclude here means for meta boxes and what you want seems to be for post elements. I will think about this and if it's not hard to implement, I will do it.

    in reply to: get_post_meta in admin columns #5424
    Anh TranAnh Tran
    Keymaster

    There are 2 things in you code:

    1. get_the_post_thumbnail needs the 1st param as the post ID. You can pass $post_id to the function, or simply null.
    2. The taxonomy field doesn't save value into post meta. Instead, it set post terms. So you need function get_the_terms to get them.

    Here is the working code: https://pastebin.com/txqnp0A3

    in reply to: Clone function not working #5423
    Anh TranAnh Tran
    Keymaster

    Hmm, I will check the Yoast SEO JavaScript. It caused some issues in the past. Can you post your full code here so I can check closer?

    in reply to: โœ…Suggestion #5422
    Anh TranAnh Tran
    Keymaster

    Does this belong to the post type object itself? I think it's easy to do it with the remove_post_type_support function (https://developer.wordpress.org/reference/functions/remove_post_type_support/).

    in reply to: Last metabox update broke tabs in WPML #5421
    Anh TranAnh Tran
    Keymaster

    Hi Claudia,

    Can you post a screenshot and the code you use to register meta boxes? I'm having WPML on my localhost and don't see that problem.

    in reply to: โœ…MB Term Meta not showing the fields #5419
    Anh TranAnh Tran
    Keymaster

    I mean the version of the Meta Box plugin, not the extension. Can you check it? Is it 4.10.4?

    in reply to: Suggestion #5404
    Anh TranAnh Tran
    Keymaster

    No problem, it's easy to do that :). I will create one this week.

    in reply to: Clone function not working #5403
    Anh TranAnh Tran
    Keymaster

    Can you please post your full code here? I tried with your code above and it still works for me. I guess there's a conflict somewhere that breaks the JavaScript (you might want to check the console, too).

    in reply to: Add Meta Fields to Specific Page(s) #5401
    Anh TranAnh Tran
    Keymaster

    The Include/Exclude extension is the way to go :). Glad you figured it out.

    in reply to: Meta Box Updater Not Working #5400
    Anh TranAnh Tran
    Keymaster

    Glad that it works for you :). How about the update? Does it work?

    in reply to: Clone function not working #5389
    Anh TranAnh Tran
    Keymaster

    Hi Nick,

    Are you using the latest version of MB Settings Page? I've updated the extension a week ago with a fix for clone.

Viewing 15 posts - 2,791 through 2,805 (of 3,707 total)