Forum Replies Created
-
AuthorPosts
-
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!
September 27, 2019 at 9:38 AM in reply to: Is it possible to inline add a new record on a related post type? #16309Anh Tran
KeymasterHi Brandon, thanks a lot for your code!
Just FYI, I added the "Add New" feature for taxonomy/taxonomy advanced. But it's limited to enter only the term name in a text box, not a window for full details like in Pods. I'll investigating in your code and hopefully can bring it to Meta Box soon.
September 27, 2019 at 9:33 AM in reply to: ✅Clonable post type field count not zero with nothing selected #16308Anh Tran
KeymasterHi, thanks a lot for your feedback. It's a bug in the sanitization callback, which I've just fixed here. Please try it.
September 27, 2019 at 9:17 AM in reply to: ✅Display tab based on the value of a field within another tab #16306Anh Tran
KeymasterHi,
It's impossible with the current version. I think that can be done with custom code via
custom_callback(see the docs), but I haven't tested yet.Anh Tran
KeymasterHi Paul,
Can you please post your code of the meta box here for me to check? I couldn't replicate the bug on my localhost.
-
AuthorPosts