Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 976 through 990 (of 3,958 total)
  • Author
    Posts
  • in reply to: Taxonomy field breaks frontend form #15265
    Anh TranAnh Tran
    Keymaster

    This is fixed in the version 4.18.4 of Meta Box. Please update.

    in reply to: Can't get image_advanced alt in nested group #15253
    Anh TranAnh Tran
    Keymaster

    Hi, please change the code to:

    $object_imgs = isset( $object['dekor_image'] ) ? $object['dekor_image'] : array();
    if ( ! empty( $object_imgs ) ) {
        foreach ( $object_imgs as $object_img ) {
            $image = RWMB_Image_Field::file_info( $object_img );
            echo '<a href="'. $image['full_url'] . '" rel="fancybox"><img src="' . $image['full_url'] . '" alt="' . $image['alt'] . '" /></a>';
        }
    }
    in reply to: Get User email info in Custom post meta #15252
    Anh TranAnh Tran
    Keymaster

    You can get the email using this code:

    $user = wp_get_current_user();
    $email = $user->user_email;
    in reply to: I would like to have a refund, please. #15249
    Anh TranAnh Tran
    Keymaster

    Ok, no problem. I've just sent you the refund.

    Have a nice day!

    in reply to: Performances issues #15247
    Anh TranAnh Tran
    Keymaster

    Hi netalys,

    I've just tested with a select field and 60+ options. I didn't see any problem with the performance. Please see this video:

    https://www.loom.com/share/63f02c0730514f52bd5938d7396cf0e6

    in reply to: Help ! All my fields gone ! #15246
    Anh TranAnh Tran
    Keymaster

    Hi netalys,

    Can you check on your database using a tool like phpMyAdmin to see if the post content and post excerpt is there for the post?

    in reply to: I would like to have a refund, please. #15245
    Anh TranAnh Tran
    Keymaster

    Hi Nattapat,

    Thanks a lot for your feedback and supporting us! I really appreciate your comments.

    1. Regarding MB Builder, the new version is coming in just a few days. I'm finalizing some issues just to make sure I don't have to release another hotfix version again.
    2. Regarding WP All Export, I appreciate your feedback and please understand that this is also a very important thing to us, too. This is on the plan and we're going to work on that after finishing the Gutenberg extension (that allows you to create Gutenberg blocks, it's 80% done). Working on Gutenberg takes longer than we expected since there are some technical difficulties, but we're trying so hard to make it done. Probably in 1-2 weeks.

    If you can wait for us about 1-2 weeks, then I'll try my best to finish the WP All Export as soon as I can. In another case, I'm happy to send you the refund.

    Anh TranAnh Tran
    Keymaster

    Hi Alex & Adrien,

    Please see the section "Context not working" on the docs:

    https://docs.metabox.io/creating-meta-boxes/#contexts-not-working

    Anh TranAnh Tran
    Keymaster

    Hi,

    Do multiple meta boxes use different custom tables? If they use the same custom table, that might not work properly.

    in reply to: Query REST API by Meta Box Value #15220
    Anh TranAnh Tran
    Keymaster

    Hi,

    Did you mean querying posts by custom fields?

    If so, please try this code:

    add_filter( 'rest_{type}_query', function( $args ) {
        $args['meta_query'] = array(
            array(
                'key'   => 'my_field',
                'value' => esc_sql( $_GET['field'] ),
            )
        );
    
        return $args;
    } );

    REST URL:

    http://site.com/wp-json/wp/v2/posts?field=test
    

    The wildcard {type} can be: post | user | comment | attachment | custom post type | taxonomy.

    in reply to: How to send media(image) file to REST API? #15219
    Anh TranAnh Tran
    Keymaster

    Hi Jiro,

    Yes, you need to do 2 requests:

    in reply to: Update: meta_query with MB Custom Tables #15218
    Anh TranAnh Tran
    Keymaster

    Hi @jpascale,

    Yes, the information is still correct. You need to write your custom SQL to search through the custom table to get the post IDs. Then make the WP_Query to get the post objects.

    in reply to: About Speed performance #15217
    Anh TranAnh Tran
    Keymaster

    Hi Clientes,

    This is an interesting question. Performance is a big problem if you make query by custom fields, and it's not recommended to do that. See this post for details:

    https://metabox.io/custom-fields-vs-custom-taxonomies/

    Unless you use a plugin like SearchWP, which will index your content and perform an optimized search, it's not recommended to store large data in custom fields.

    In my opinion, the best way is using custom tables (with MB Custom Table extension). It helps organizing data and making SQL queries faster. However, you have to write the queries yourself.

    See this post for more details:

    https://metabox.io/optimizing-database-custom-fields/

    Anh TranAnh Tran
    Keymaster

    Hi Clientes,

    I missed this topic. I've just fixed the bug here. Please try it. New version will come later.

    in reply to: Question about setttings in the MB #15204
    Anh TranAnh Tran
    Keymaster

    Yes, that's ok to remove those lines.

Viewing 15 posts - 976 through 990 (of 3,958 total)