Forum Replies Created
-
AuthorPosts
-
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>Anh Tran
KeymasterHi Cerdic,
Thanks for your feedback. I've just found the bug and fixed it here. Please try it.
Anh Tran
KeymasterHi Neil,
I think you need to work on the Rewrite API. These are some things you might do:
- Register a new permalink structure for your custom post type. You can also do this with this plugin.
- Register new rewrite tags for states.
Here is also a question on SO that might help.
September 30, 2019 at 11:26 AM in reply to: Help.. I can't insert shortcode module into my theme via Meta box plugin #16341Anh Tran
KeymasterHi Thiago,
Can you please give more details on the problem? What is the box "shortcode"? What lock do you have? And what do you mean include the shortcode code?
Anh Tran
KeymasterHi Paul, can you please send me a temporary admin account to check this? I can't replicate the bug on my localhost. It seems to be an edge case that I didn't think of.
Anh Tran
KeymasterHi Brian,
When you copy the code and paste into your theme's
functions.phpfile (or another file), you might not need<?phppart.Anyway, I've modified the code. The original code has some wrong variable name: https://pastebin.com/Qtpx9SE1
Here is what it looks like in my file:
September 27, 2019 at 10:16 AM in reply to: PHP Notice: unserialize(): Error when editing post with metaboxes #16316Anh Tran
KeymasterI see. That's a way to use Redis (object cache) to cache the whole page. Can you try deactivate the plugin to see if the problem still occurs. And also check your disk/ram space. Maybe Redis uses too much space, which cause the data broken, and can't be unserialized.
Anh Tran
KeymasterHi Erik,
I couldn't replicate the bug with your initial code. Is there any change since it worked for you?
Anh Tran
KeymasterHi, I've just tried your code and see no problems at all. Probably you're using an older version of the extensions. Please update and test again.
Anh Tran
KeymasterI found a related issue for Gutenberg. Is that your problem?
If not, can you please take a screenshot and share here?
Anh Tran
KeymasterHi John,
If you're going to import/export simple fields (like text, select, radio, checkbox, etc.), then you can use these plugins to do the job:
https://wordpress.org/plugins/wp-ultimate-csv-importer/
https://wordpress.org/plugins/wp-ultimate-exporter/For complex fields, we need to code for the integration. We're still working on it.
Anh Tran
KeymasterHi John,
Can you please check if the meta box is defined in the code? That's the only reason I can think of.
PS: Your voice is nice to hear, very clear!
-
AuthorPosts