Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,411 through 1,425 (of 3,702 total)
  • Author
    Posts
  • in reply to: Select Metaboxs by Attribute Flag #13318
    Anh TranAnh Tran
    Keymaster

    Updated answer:

    Your code is the correct one. I'm adding docs for rwmb_get_registry here.

    in reply to: How to edit Email and Password #13300
    Anh TranAnh Tran
    Keymaster

    Hi guys,

    To edit user email, simply create a meta box (or a new field in an existing meta box) with id user_email. And then include the meta box into the shortcode. Here is the code I used to test.

    in reply to: Image/file field does not take validation #13299
    Anh TranAnh Tran
    Keymaster

    Hey guys,

    This is a bug and I've just fixed it on Github. It's available in the new version soon.

    in reply to: insert settings fields #13298
    Anh TranAnh Tran
    Keymaster

    Hi Mark,

    Can you please re-post the code for posts custom layout on ghostbin.com? Looks like this forum truncates the code.

    in reply to: Translating labels #13297
    Anh TranAnh Tran
    Keymaster

    Hi pza,

    Currently, all text in the builder are plain text. They're fixed and not translatable. I'd suggest exporting to code, and use Loco Translate plugin to translate the labels.

    in reply to: Custom Post Type and Custom Field Type Unaccessible #13296
    Anh TranAnh Tran
    Keymaster

    Hi Sean,

    Can you edit the post type again (under Meta Box > Post Types) and make sure all labels are filled?

    in reply to: Trying to display all the possible connection to a post #13295
    Anh TranAnh Tran
    Keymaster

    Hi Vee Jay,

    In MB_Relationships_API::each_connected, you set property different for each connection. So to get them all, use this code:

    while ( $my_query->have_posts() ) : $my_query->the_post();
    
        // Display connected pages
        foreach ( $post->connected_confs as $post ) : setup_postdata( $post );
            the_title();
        endforeach;
        wp_reset_postdata();
    
        foreach ( $post->connected_posts as $post ) : setup_postdata( $post );
            the_title();
        endforeach;
        wp_reset_postdata();
    
        foreach ( $post->connected_press_items as $post ) : setup_postdata( $post );
            the_title();
        endforeach;
    
        wp_reset_postdata();
    endwhile;
    in reply to: Button's std isn't displaying #13294
    Anh TranAnh Tran
    Keymaster

    Hi Axel,

    Sorry for late reply. We've just been through the Tet holiday.

    I've just check and could replicate the error. I'll provide a fix soon.

    Updated: I've fixed the bug. Waiting to merge the code in this topic, then I'll release new version.

    in reply to: Only auto populate neighborhood field if not empty #13293
    Anh TranAnh Tran
    Keymaster

    Thanks for your help!

    I've sent an invitation to you on Bitbucket, so you can have access to the repo and open a PR!

    Cheers!

    Anh TranAnh Tran
    Keymaster

    Hi Albert,

    I've just tested with the contact module and it works fine. Here is my video: http://recordit.co/hHSiVIlfQV. Can you please take a look?

    PS: In my test, I use MailTrap to catch all emails and Easy WP SMTP to setup SMTP.

    in reply to: Parse error: syntax error, unexpected T_FUNCTION #13291
    Anh TranAnh Tran
    Keymaster

    Hi Ale,

    This is not an error, the new feature (upload to custom folder) requires PHP >= 5.3. I guess you're using PHP 5.2. Please upgrade your PHP (it's best to upgrade to PHP >= 7.2).

    Anh TranAnh Tran
    Keymaster

    Hi Vee Jay,

    After you call $connected_pub2peeps->the_post(), you can output the featured image using the_post_thumbnail() function.

    in reply to: Display Taxonomy Link from metabox #13289
    Anh TranAnh Tran
    Keymaster

    Hi Vee Jay,

    The rwmb_meta returns a term object, so if you echo $ptf->name, you output only its name.

    It's better to use:

    rwmb_the_value( 'pub_type_field' );

    Or:

    $ptf = rwmb_meta( 'pub_type_field' );
    printf( '<a href="%s">%s</a>', get_term_link( $ptf ), $ptf->name );
    in reply to: Custom fields not available #13288
    Anh TranAnh Tran
    Keymaster

    When you extract the downloaded zip file, please change the folder name to mb-elementor-integrator. Then upload it to your site, overwrite the existing plugins (or you can delete the old plugin first, then install this one).

    in reply to: MB Group "std" is not showing up in settings page #13287
    Anh TranAnh Tran
    Keymaster

    Hi Joe,

    Thanks for your contribution. Your code respect the std in child field, so it's good. However, it fails with Razib code above. I have commented on your PR. Please update it so I can merge.

Viewing 15 posts - 1,411 through 1,425 (of 3,702 total)