Term Meta breaking other custom fields
Support › MB Term Meta › Term Meta breaking other custom fields
- This topic has 13 replies, 4 voices, and was last updated 7 years ago by
lf2s.
-
AuthorPosts
-
July 17, 2018 at 10:35 PM #10603
[email protected]
ParticipantHi,
I have got term meta working but it seems to be breaking other custom post type fields i.e they show font end but are not showing when editing a page, heres the code:
https://ghostbin.com/paste/ajxsq
Any help would be greatly appreciated.
Thanks
July 18, 2018 at 10:58 AM #10607Anh Tran
KeymasterHi,
I've just tested your code and the meta box shows for terms and posts (another meta box). Perhaps I missed something. Can you give more details?
July 19, 2018 at 4:14 PM #10629[email protected]
ParticipantSorry,
So the fields show but the custom fields are not saving/showing within the edit screen for the custom fields post type. the taxonomy custom fields are working fine.
Thanks
July 23, 2018 at 10:52 AM #10662Anh Tran
KeymasterHi Max,
The fields are saving for me. I made a video http://recordit.co/yx07wbFsYe
July 23, 2018 at 5:10 PM #10667[email protected]
ParticipantHi Anh,
Thanks for this, very strange I have done a similar video so you can see the issue in real time. Obviously term meta works fine...
PS sorry about my slow localhost!
Thanks
July 24, 2018 at 10:26 AM #10678Anh Tran
KeymasterLooks like the Property Details meta box vanishes after clicking the Update button. Can you send me the full code of all meta boxes for properties and terms (via Contact page)? I'll try to debug it.
July 24, 2018 at 4:15 PM #10691[email protected]
ParticipantHi Anh,
It's because they need to select property level for the property details to show but it isn't saving. Let me send across now.
Thanks,
MaxJuly 28, 2018 at 5:49 AM #10760lukeragno
ParticipantHi,
I am also having the exact same problem, where all the other meta fields fail to have their values display in the admin when the Term Meta extension is installed. As soon as it is uninstalled, the issue is resolved.
I am using Meta Box Version 4.15.1 and MB Term Meta Version 1.2.2 on WordPress 4.9.7. This is the first time I have used the Term extension, but I have been using Meta Box for the last 2 years without any issues.
Here is my meta box code:
July 31, 2018 at 9:23 AM #10782Anh Tran
KeymasterHi lukeragno,
I've tested your code and couldn't detect the problem. It works fine to me. I recorded the video here: http://recordit.co/MrzQxy3BD0
PS: After debug Max's code, I found a problem is the custom post type was registered too early, before all the "init" hook, where Meta Box starts. So, that's might be the problem. I recommend checking the code again, make sure it looks like
add_action( 'init', 'my_register_post_type' );
July 31, 2018 at 8:06 PM #10802lf2s
ParticipantHello,
I have the exact same problem... I did not see that post before create a new subject.
August 8, 2018 at 10:55 PM #10939[email protected]
ParticipantHi Anh,
Unfortunately your solution didn't work I did email you but need to launch client website Monday so hoping to get it sorted before then.
Thanks
August 8, 2018 at 11:03 PM #10940lf2s
ParticipantHello,
Maybe you just need to update your extensions like me...
Regards
August 8, 2018 at 11:16 PM #10942[email protected]
ParticipantHi,
Well I would be damned, shoot me now.... Didn't even know there was an update thanks lf2s
August 8, 2018 at 11:17 PM #10943lf2s
ParticipantGlad I help 🙂
-
AuthorPosts
- The topic ‘Term Meta breaking other custom fields’ is closed to new replies.