How to write different events from different functions in my file to a log file in WordPress

If you set the WP_DEBUG* constants in your wp-config.php file: define( ‘WP_DEBUG’, true ); define( ‘WP_DEBUG_LOG’, true ); define( ‘WP_DEBUG_DISPLAY’, false ); // prevents debugging messages from appearing in the browser …then you should be able to use error_log() in your code, and your debugging messages will be saved in wp-content/debug.log. (You’ll probably have to … Read more

Create survey that redirects to sidebar menu customized to answers

The wordpress plugin archive offers a lot of options for this kind of topic. You should read the explanations and documentation of the plugin. Here are the plugins I would recommend to you; https://wordpress.org/plugins/formidable/ https://wordpress.org/plugins/quiz-master-next/ https://wordpress.org/plugins/wp-polls/ https://wordpress.org/plugins/social-polls-by-opinionstage/ https://wordpress.org/plugins/yop-poll/

custom sidebar plugin issue

Not trying to be rude, but this is a clear case for having regular backups and why updates should not be run on a live site without testing. There are too many variables for us to help troubleshoot errors. It could be that you updated PHP, or your server was updated. Not just the WordPress … Read more