Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi Mark,
Did you get the shortcode
[wpbb site:meta_box field='pboptions']from another module (by copying and pasting to the custom layout? Thefieldparam doesn't accept#light-row-coloror something similar, it's simply a field ID.Anyway, using this shortcode will return the whole image HTML tag. Only when using the connection in the background settings gives the image URL.
We're working on improving the integration, to allow you to choose which attribute of the returned image to be used. Until then, I think it's not possible.
Anh Tran
KeymasterYes, it's possible to auto-fill the current user email. See the updated script.
Regarding edit user profile in the back end, this technique is meant for use for editing user profile in the front end only.
February 14, 2019 at 3:52 PM in reply to: Can I add custom CSS for a post based on a Meta Box field state? #13324Anh Tran
KeymasterCan you please give a screenshot on what you're trying to do? Is the event datetime a repeating group?
February 14, 2019 at 3:33 PM in reply to: Trying to display all the possible connection to a post #13323Anh Tran
KeymasterHi Vee Jay, I've tried the code and it works for me. Here is my video record: http://recordit.co/1e1j1PkNs5
And here is the code I used to test: https://ghostbin.com/paste/kyufr
Anh Tran
KeymasterLet's discuss there as it's very code-specific.
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.
-
AuthorPosts