Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi,
You don't need to register the meta box. It's the purpose of the extension to provide a simpler way to do that for you. And the shortcode has to work. I will check that again.
Anh Tran
KeymasterHi, can you post the error message?
Anh Tran
KeymasterHi,
The function
get_user_metareturns the values stored in the database. They aresel,pi,ngo. Please note that the text label is for showing to users to select only, they're not the values saved in the post meta.In this case, you can use a
if-elsecheck to output the correct label in the frontend.Anh Tran
KeymasterHi Josue,
That was my mistake. Please check your account page again. You can download it now!
Thanks
Anh Tran
KeymasterHi Tao,
That was my mistake. Please check your account page again. You can download it now!
Thanks
Anh Tran
KeymasterHi,
It works on my PC, did you:
- Use the latest plugins version?
- See any error in the console?Cheers!
Anh Tran
KeymasterI'm afraid this would be not available in a short time. It requires private access as well as checking for active license. When I find a solution for these problems, I will do that immediately.
Anh Tran
KeymasterHi ismail,
Thanks for letting me know. I've fixed it and will release new version soon.
Anh Tran
KeymasterDear Grafik,
Sorry for long silence, I've tested your code and it works properly. Did you upgraded Conditional Logic to the latest version (1.4.1)?
Also, I see you set:
'id' => "{$prefix}image_layout_post",But
'hidden' => array( 'meta_image_layout_post', '!=', 'full' )Can you please make sure the
$prefixvariable ismeta_?Cheers!
Anh Tran
KeymasterDear Web Crossing,
Can you please send me full code. I've tried added your two fields to the example and it works.
https://gist.github.com/anonymous/0c6aad33f510e491dd4604cd1beb74faCheers!
Anh Tran
KeymasterHi Nick,
There's no keys for the extensions. They're not available for Composer yet.
Anh Tran
KeymasterHi Nick,
I haven't released the extensions on Packgist yet. Only the core plugin is available there. Here is the documentation for Composer.
March 31, 2017 at 5:32 PM in reply to: How to set post title on save/publish from meta values? #5452Anh Tran
KeymasterHi,
This can be done with filter
wp_insert_post_data. I answered a similar question on StackOverflow. You can access to meta fields via$_POST.PS: The reason you should not use
save_postor these actions because using them require to callwp_update_postfunction, which causes an infinite loop of saving data. Usingwp_insert_post_datamakes sure you update the data before the post is updated and thus, no infinite loop.Anh Tran
KeymasterOK, I found the bug and just updated the Meta Box Yoast SEO plugin. Please update it.
Anh Tran
KeymasterOK, I got it. It's actually beyond the scope of the plugin. Include/exclude here means for meta boxes and what you want seems to be for post elements. I will think about this and if it's not hard to implement, I will do it.
-
AuthorPosts