Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi Jeremy,
If each event is a post, then you probably don't need MB Group. Creating fields for events and saving them in the custom table is straight-forward. But that doesn't help you adding events fast.
I'm thinking about creating a custom page for entering data...
Anh Tran
KeymasterHi Eliodata,
At the moment, to quick find the users, I'd suggest using MB Admin Columns extension. It doesn't support search for custom fields, though.
Anh Tran
KeymasterHi, this bug was fixed here. Please try it.
October 7, 2019 at 9:06 AM in reply to: ✅How to show image url with folder in all sizes from Rest API #16412Anh Tran
KeymasterHi,
You should transform the data from the REST response. Here is the example:
$data = your_function_to_get_data_from_REST(); $file = $data['file']; $folder = str_replace( basename( $file ), '', $file ); $sizes = $data['sizes']; foreach ( $sizes as &$size ) { $size['file'] = $folder . $size['file']; } var_dump( $sizes ); // Now you have folder in your URLAnh Tran
KeymasterHi Nick,
If testimonials are not dynamic, e.g. you don't change them too much, or you don't allow users to submit, then I think the fastest/easiest way is making testimonials a custom field (repeatable group) for sales reps CPT.
If they're dynamic, then I think setting up testimonials as a CPT is the right way. You can setup a relationship for sales reps and testimonials or just a post field. Both ways work and have little difference other than performance when your data grows.
Either way, you might want to write a shortcode to get the testimonials to enter in a text module in Themer. Or you can use Toolbox to do it.
Anh Tran
KeymasterHi Eliodata,
To edit default user fields, please create a meta box that has the same fields as WordPress's. Then add it to the shortcode. For details, please see the docs:
https://docs.metabox.io/extensions/mb-user-profile/#edit-default-fields
Anh Tran
KeymasterNothing special, if you want to select a post/page, then
postfield is a little better. Otherwise, a normalselect_advancedis better.Anh Tran
KeymasterHi Alessandro, I've just fixed it in the version 1.3.5 of the MB Yoast SEO Integration. Please update the extension. The update for AIO will come a little later.
Anh Tran
KeymasterI've just re-checked the problem and couldn't replicate it. It seems to be working fine to me. I recorded a video here:
https://www.loom.com/share/966b9111ffe644278595fc7674e00ac6
Please check if you have something different on your site.
Anh Tran
KeymasterHi Eliodata,
Please try this plugin: https://wordpress.org/plugins/wp-ultimate-csv-importer/. It supports importing user data. It works with simple fields from Meta Box (text, select, textarea, etc.), not complex fields like groups.
Anh Tran
KeymasterHi Brian,
Then you can add the code to the meta box like this: https://pastebin.com/ernuJrQ1
And output it like this: https://pastebin.com/jzkpXYjH
Anh Tran
KeymasterHi, it's merged into the master branch, and is available in the Meta Box 5.2. Please just update and you'll have it.
Anh Tran
KeymasterHi Ben,
Please follow these steps:
- Update MB Builder to the latest version.
- Refresh the admin area, and then verify if the
mbb_versionis available in thewp_optionstable. If yes, then the database upgrade works. - Try editing the fields again.
Anh Tran
KeymasterHi John,
The code above is the code exported from MB Builder, isn't it? It's the code for the seamless meta box that we see in the video, which is correct.
What I meant is maybe there's some code that registers another meta box with the title "Team Members" (id "team-members") somewhere. So, please try to do search through your theme/plugin to see if you or someone did that before.
Anh Tran
KeymasterHi Brian,
Is the booking URL the same for all tour dates? Is that for you to select a page? If yes, then the code to outputting it is quite simple:
<?php $page_id = rwmb_meta( 'booking_page' ); ?> <a href="<?php the_permalink( $page_id ) ?>">Book Now</a> -
AuthorPosts