promes
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: WP Cron can not access functions linked to my hooksGuys, I found the cause of the problem. It was shamefully simple.
I was running that piece of code from a php file that actually is a custom template being used by the plugin I’m creating. This template file is not a required file by the plugin, instead I load the template in certain occasions if needed.
Because of that, the function wp_stocks_update_all_stocks was not loaded outside the template, so WP Cron was unable to find it.Problem solved by moving that piece of code in the main plugin .php file.
Forum: Plugins
In reply to: [AMP] AMP plugin started giving 500 errors on multisite networkHi Milind,
After analyzing a bit better the issue we found out that is was caused by the theme. A couple of lines of code had to be deleted: https://imgur.com/KuR564I
More info bout the issue can be found here: https://forum.tagdiv.com/topic/5xx-error-when-using-newspaper-in-a-multisite-environment-with-the-amp-plugin/
Best,Hi @mikes41720
Thank you very much for your detailed reply!
We will investigate the use of filters and maybe develop some custom plugin where we could add our bulk posts to be pruned (and deindexed), as playing with the database is not an elegant and secure solution.
Best,Hi @priscillamc
Thank you very much for your quick answer 🙂
There’s no common post type neither category in the posts that have to be noindexed. We have thousands of posts and deindexing a part of them is part of a content pruning strategy, so we deindex them according to multiple factors (post views, post CTR in google, content quality, etc.).
We basically have a list of post IDs that have to be deindexed and we need to bulk insert the noindex tag.We will proceed editing the database. Would Yoast SEO eventually detect the database changes and update the dropdown index status in each post editing page? Or is there any other database field we could edit to update this field value? (I have been looking for hours where the dropdown indexing status may be stored in the database but I’m unable to find it).
Thanks!
Forum: Plugins
In reply to: [Plugin Load Filter] Notes on updating Ver4.0Fatal error on my site once updated, no matter if I follow the instructions or if I do a clean installation.