Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterUpdated answer:
Your code is the correct one. I'm adding docs for
rwmb_get_registryhere.Anh Tran
KeymasterHi 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.Anh Tran
KeymasterHey guys,
This is a bug and I've just fixed it on Github. It's available in the new version soon.
Anh Tran
KeymasterHi Mark,
Can you please re-post the code for posts custom layout on ghostbin.com? Looks like this forum truncates the code.
Anh Tran
KeymasterHi 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.
February 13, 2019 at 1:55 PM in reply to: Custom Post Type and Custom Field Type Unaccessible #13296Anh Tran
KeymasterHi Sean,
Can you edit the post type again (under Meta Box > Post Types) and make sure all labels are filled?
February 13, 2019 at 1:50 PM in reply to: Trying to display all the possible connection to a post #13295Anh Tran
KeymasterHi Vee Jay,
In
MB_Relationships_API::each_connected, you setpropertydifferent 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;Anh Tran
KeymasterHi 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.
February 13, 2019 at 11:59 AM in reply to: ✅Only auto populate neighborhood field if not empty #13293Anh Tran
KeymasterThanks 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!
February 13, 2019 at 11:55 AM in reply to: Connect email address in Beaver Builder contact form using BB integration #13292Anh Tran
KeymasterHi 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.
Anh Tran
KeymasterHi 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).
February 13, 2019 at 11:26 AM in reply to: ✅Is it possible to get the thumbnail of a "relationship" post? #13290Anh Tran
KeymasterHi Vee Jay,
After you call
$connected_pub2peeps->the_post(), you can output the featured image using the_post_thumbnail() function.Anh Tran
KeymasterHi Vee Jay,
The
rwmb_metareturns 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 );Anh Tran
KeymasterWhen you extract the downloaded
zipfile, please change the folder name tomb-elementor-integrator. Then upload it to your site, overwrite the existing plugins (or you can delete the old plugin first, then install this one).February 13, 2019 at 10:59 AM in reply to: ✅MB Group "std" is not showing up in settings page #13287Anh Tran
KeymasterHi Joe,
Thanks for your contribution. Your code respect the
stdin 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. -
AuthorPosts