Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterThere are 2 things in you code:
1.
get_the_post_thumbnailneeds the 1st param as the post ID. You can pass$post_idto the function, or simplynull.
2. Thetaxonomyfield doesn't save value into post meta. Instead, it set post terms. So you need functionget_the_termsto get them.Here is the working code: https://pastebin.com/txqnp0A3
Anh Tran
KeymasterHmm, I will check the Yoast SEO JavaScript. It caused some issues in the past. Can you post your full code here so I can check closer?
Anh Tran
KeymasterDoes this belong to the post type object itself? I think it's easy to do it with the
remove_post_type_supportfunction (https://developer.wordpress.org/reference/functions/remove_post_type_support/).Anh Tran
KeymasterHi Claudia,
Can you post a screenshot and the code you use to register meta boxes? I'm having WPML on my localhost and don't see that problem.
Anh Tran
KeymasterI mean the version of the Meta Box plugin, not the extension. Can you check it? Is it 4.10.4?
Anh Tran
KeymasterNo problem, it's easy to do that :). I will create one this week.
Anh Tran
KeymasterCan you please post your full code here? I tried with your code above and it still works for me. I guess there's a conflict somewhere that breaks the JavaScript (you might want to check the console, too).
Anh Tran
KeymasterThe Include/Exclude extension is the way to go :). Glad you figured it out.
Anh Tran
KeymasterGlad that it works for you :). How about the update? Does it work?
Anh Tran
KeymasterHi Nick,
Are you using the latest version of MB Settings Page? I've updated the extension a week ago with a fix for clone.
March 27, 2017 at 8:35 AM in reply to: How can I put a custom meta box above the editor but below the title section #5388Anh Tran
KeymasterHi ismail,
Currently the plugin hasn't supported that location yet. We will working on that soon.
Anh Tran
KeymasterWhich version of Meta Box plugin you're using? Are you bundle the Meta Box plugin inside your theme?
The bug shows that the function
RWMB_Field::call()is not available, while it's added in the Meta Box plugin quite long time ago.Anh Tran
KeymasterTGMA will install the extensions as separated plugins and then they have to work as normal install. Have you refresh the admin page after install and activate the extensions from TGMA page? I've just tried again with TGMA and it works for me.
The admin columns also works :(. Can you make a screenshot or short video?
Anh Tran
KeymasterHi,
I've just tried including the updater extension in a custom plugin / theme (twentyseventeen), and including the main plugin file in the functions.php file. The settings page shows to me. Can you check the way you load the extension?
Anh Tran
KeymasterI got it. Looks like the ID of the English version is not translated into the ID of the German version. I got help from WPML team to add this feature in the previous version. I will check it now.
In the worst case, I think a solution for this might be using 2 fields: 1 for English and 1 for German, and in the frontend you can use a condition to get the correct field.
-
AuthorPosts