Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,441 through 1,455 (of 3,958 total)
  • Author
    Posts
  • 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.

    in reply to: Check data before saving #13285
    Anh TranAnh Tran
    Keymaster

    I'm not aware of any method that can stop WordPress from saving post. I found a good discussion on this topic that might be useful in this case.

    Anh TranAnh Tran
    Keymaster

    Hi,

    This error comes from outdated version of MB Group. Please renew your license and update the extension.

    in reply to: Error output to Builder interface #13259
    Anh TranAnh Tran
    Keymaster

    Hi,

    Looks like the bug is in JS. Can you export the field group and give me the exported file to check?

    in reply to: Select Advance triggers .on('change') event twice #13258
    Anh TranAnh Tran
    Keymaster

    Hi,

    We are using a technique that preserves the order of selected options in select2. This technique triggers an event change after it reorder the options. So that might causes the duplication.

    In reality, you might cache in the event listener to make sure your code run only once.

Viewing 15 posts - 1,441 through 1,455 (of 3,958 total)