Hi Xel,
This is strange. Add-Meta-Tags uses the ‘Custom Fields’ feature of wordpress to store this information and the data management takes place using the documented WordPress API. I have no explanation about this.
What are the WP, Add-Meta-Tags versions?
Does this happen in all post types?
Do you use any plugin that modifies the ‘Custom Fields’ functionality of WordPress or the WordPress permissions?
George
I cannot reproduce the problem. More feedback will be required.
Marked as resolved as I could not reproduce this issue in no way. Feel free to reopen if you have more feedback about it.
Hi George, thanks for your answer. I think I have new feedback, if you think it could narrow down the issue:
– When I add a description, keywords and title in the metabox when editing any kind of post, the information is saved in the database, and also the meta tags are shown in the page source code. BUT the changes are not reflected in the metabox fields once you click “update”. that is, I see blank fields even if the information is actually saved.
that means, if I click “update” again, the information will be erased.
So, the problem is, the system is not able to retrieve the information from the database to show it in the metaboxes….. any idea where to start looking?
I see. I’m reopening the topic for further research about what could be causing the issue.
Does this happen on regular posts? Also do you use a plugin that affects permissions or the custom fields functionality of WP?
Today I upgraded to the latest version of add meta tags, and now it seems to work on regular posts, but not in pages.
I don’t have permission problems, or any plugin managing that.
Also, I have little plugins enabled, but one of them is WPML for multi language support. This plugin adds a custom field also in the edit post, but it only says “Multilanguage support: Nothing to configure.”
I hope it helps..
Could you try adding the following code to the functions.php file of the theme and check if anything is fixed?
function amt_custom_metabox_supported_post_types() {
return get_post_types();
}
add_filter( 'amt_metabox_post_types', 'amt_custom_metabox_supported_post_types' );
add_filter( 'amt_supported_post_types', 'amt_custom_metabox_supported_post_types' );
Is WPML available in the ww.wp.xz.cn plugin repository?
Hi,
There haven’t been any changes in the recent releases that could justify the fact that it has begun working for posts after updating the plugin. Something else, that is not related to the plugin, is the cause of the issue.
If you test the above code, please let know if you notice any improvement.
Hi George, let me troubleshoot this better, as I see I couldn’t see the whole picture when I started this thread. As you said, I need to see exactly when and where is not working, so you don’t waste your time in partial-troubleshooting.
thanks for your time!
Hi xelmorro,
Detailed feedback is always much appreciated.
Thanks
Xel, I’d appreciate if you tested the above code and check if anything changes with the metabox. Thanks i advance.
Since I could not reproduce the issue in any way, I’m marking the topic as resolved. Whenever more feedback is available, please feel free to reopen.
Kind Regards,
George