Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,591 through 1,605 (of 3,958 total)
  • Author
    Posts
  • in reply to: Linking CPTs together #12486
    Anh TranAnh Tran
    Keymaster

    Hi Neil,

    The MB Relationships extension automatically creates 2 meta boxes for 2 sides of each relationship with these IDs:

    • {$relationship_id}_relationships_from
    • {$relationship_id}_relationships_to

    So you might need to use these IDs to include into the front-end forms to let users select a post/user to make a connection.

    To display connected items in the front end, you need to code a little bit. The code is provided in the docs. As you're using Beaver Builder, I'd suggest creating a shortcode to display related items, then insert the shortcode into a text module.

    in reply to: Adding New Post via Frontend Submission #12484
    Anh TranAnh Tran
    Keymaster

    Hi Neil,

    I've checked your site and see you're using custom table to store custom fields. However, I can't find the code that create the custom table. Maybe you missed it, and that's why the custom fields are not saved. Can you please check that again?

    I've put the requests for group in my task list. Our team will work on that as soon as we can.

    Update: We have resolved the issue. The problem is that the meta box uses a custom table but there's no custom table registered. Deselect the checkbox to let meta box saves to custom table fixes the bug.

    Anh TranAnh Tran
    Keymaster

    Hi Gunvor, I've tested again and couldn't see that bug. Here is my video: http://recordit.co/HdBt0F4baT

    Did you try the latest code on Github?

    in reply to: Advanced search for custom post type #12443
    Anh TranAnh Tran
    Keymaster

    Hi, I'd recommend using FacetWP plugin or Search & Filter. We have in integration with FacetWP.

    in reply to: Field of type "OSM" in clonable group? #12442
    Anh TranAnh Tran
    Keymaster

    Hi Hazmi, let me check that again. It supposes to work in both case.

    in reply to: Select_tree with attribute required true not works #12441
    Anh TranAnh Tran
    Keymaster

    Hi Jefferson,

    Does the code work when you remove that attribute completely? Setting it false actually doesn't do anything.

    Anh TranAnh Tran
    Keymaster

    Hi,

    When you create a top-level settings page, make sure you create a sub-menu for the settings first. The first sub-menu will be used for the top-level menu. That's the default behavior in WordPress.

    So make sure your custom page is added after all settings page (top-menu and sub-menu) are added.

    in reply to: Adding New Post via Frontend Submission #12439
    Anh TranAnh Tran
    Keymaster

    That's weird. Can you send me a temporary account to check on your site?

    in reply to: Limit the number of "favorites" in radio buttons #12438
    Anh TranAnh Tran
    Keymaster

    Hi,

    I think this can be done with custom JavaScript only. So you need to enqueue a JS file, and in that file track the number of choice and show an alert when they select more.

    in reply to: Export and Import Settings data is possible? #12437
    Anh TranAnh Tran
    Keymaster

    Hi Aishwarya,

    All the settings are saved in a single option in the options table. You can write a code to get_option and update_option for your users. It's not built-in the plugin, though.

    in reply to: Title of post is removed after updating the post #12436
    Anh TranAnh Tran
    Keymaster

    Hi,

    Please add post_fields="title" to the shortcode. It will tell the extension to add post title field to the form and process its value.

    in reply to: Adding Admin Columns to CPT display #12434
    Anh TranAnh Tran
    Keymaster

    Hi Neil,

    It's the same problem as for Beaver Themer when you output a group field in the admin columns. It's not supported yet.

    when I add any values to the custom field form for my CPT “Packages” – the values dont’ save when I click Submit. so if no values are stored for my custom field that I want displayed in admin columns, will that prevent the title of the column from displaying too?

    Can you check why the fields are not saved? Without values, the column is still displayed in the table, but the column is empty. The column table is always displayed, though.

    in reply to: Cloning Groups of Fields on Backend (WP Admin Dashboard) #12433
    Anh TranAnh Tran
    Keymaster

    Ah, I got it. I think what you need is duplicate a whole group, including its sub-fields, don't you? If so, it's not supported yet. The duplicate feature is working on single-field basis.

    in reply to: Can I unistall extension #12432
    Anh TranAnh Tran
    Keymaster

    Hi,

    The data is still in the custom table when you uninstall the extension. However, the meta boxes will save new data to the post meta table when you create a new post or update an existing post.

    in reply to: API for creating/updating meta? #12394
    Anh TranAnh Tran
    Keymaster

    Hi, you can do that pretty easy with $wpdb:

    global $wpdb;
    $wpdb->update( 'your_table', array( 'field_1' => 'value_1', 'field_2' => 'value_2' ) );
Viewing 15 posts - 1,591 through 1,605 (of 3,958 total)