Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 3,421 through 3,435 (of 3,708 total)
  • Author
    Posts
  • in reply to: Display taxonomy or User meta #2250
    Anh TranAnh Tran
    Keymaster

    Can you please give more details? I'm not sure what you're going to do.

    Anh TranAnh Tran
    Keymaster

    Using get_term_meta is correct. The helper function rwmb_meta doesn't work for term meta as it uses different API. I decided to use native WP function to get field's value.

    I think the 2nd nested array is created when you use get_term_meta with the 3rd parameter set to false (which is default). Try using this:

    $values = get_term_meta( 'term_id', 'field_id', true );

    PS: I'm working on the group extension to make it works with Term Meta extension.

    in reply to: Difference between "taxonomy" and "taxonomy_advanced" #2248
    Anh TranAnh Tran
    Keymaster

    They're mostly the same except 1 point: taxonomy assigns terms to posts while taxonomy_advanced saves terms' IDs to post meta. One uses WP functionality and one uses post meta to store the value.

    in reply to: Meta Box Doesn't Show in Post #2247
    Anh TranAnh Tran
    Keymaster

    Template files are PHP files inside your theme such as: single.php, page.php. You can learn more about WP template files here.

    If you are not familiar with PHP to add code to template files, you can use shortcode to output the meta value in the post content. Simply add:

    [rwmb_meta meta_key="FIELD_ID"]

    into your post content and you'll see it's displayed in the frontend when you view the post. For more information about the shortcode, please read this documentation.

    in reply to: Meta Box Doesn't Show in Post #2241
    Anh TranAnh Tran
    Keymaster

    Do you use rwmb_meta function in the template files to view the meta data?

    in reply to: Only shows Import option #2240
    Anh TranAnh Tran
    Keymaster

    I'd like to add some debug code to check why that happens. Can you please send me the FTP info?

    Anh TranAnh Tran
    Keymaster

    Hi,

    1. Let me check the group extension with term extension again to see if I can replicate the bug.
    2. In order to add data programmatically, the data must match the format of clone group. It should be:

    array(
        array( 'field_1' => 'value 1', 'field_2' => 'value 2', ... ),
        array( 'field_1' => 'value 1', 'field_2' => 'value 2', ... ),
        ...
    )
    in reply to: Only shows Import option #2232
    Anh TranAnh Tran
    Keymaster

    I received the info. I also deleted the message cause it's a private data.

    Just one question: is that a Multisite and you're a super admin?

    in reply to: Only shows Import option #2223
    Anh TranAnh Tran
    Keymaster

    Can you give me an admin account to look closer (via the contact page)? I couldn't replicate on my localhost and my websites.

    Thanks

    in reply to: oembed field output #2222
    Anh TranAnh Tran
    Keymaster

    Hmm, if the field is clone, the rwmb_meta function will display an unordered list of embed videos.

    Can you try with the development version on Github?

    in reply to: oembed field output #2217
    Anh TranAnh Tran
    Keymaster

    It will show the embed HTML, for example: the video player if that's a Youtube URL.

    in reply to: MB_Term_Meta - Add new term #2216
    Anh TranAnh Tran
    Keymaster

    Hi Clement,

    Currently it's not possible. I'm thinking about that and hopefully will make some improvements in the next version.

    in reply to: Only shows Import option #2215
    Anh TranAnh Tran
    Keymaster

    Are you the admin of the website?

    in reply to: Select with custom values? #2214
    Anh TranAnh Tran
    Keymaster

    I think it's possible to get gravity forms when register meta boxes. The hook rwmb_meta_boxes fires at admin_init and at that time everything is ready. You can use $wpdb to query the database to get the data you need and put it in the options parameter.

    in reply to: Select with custom values? #2204
    Anh TranAnh Tran
    Keymaster

    Hi, why don't you just register all values when defining the field? What is your case when you need to fill the advanced select with custom values?

    PS: I will add a search box to the forum ๐Ÿ™‚ Thanks for the idea.

Viewing 15 posts - 3,421 through 3,435 (of 3,708 total)