How can I see $post object in frontend from functions.php?

Adding: global $post; print_r ($post); alone, won’t work in functions.php (becuase WP’s core functions etc wouldn’t be loaded). It would inside a relevant template file, but not in functions.php. To make it work in functions.php, you need to do it inside an function that is hooked to an appropriate hook. The “appropriate” hook may depend … Read more

Undeletable column in Posts

WordPress does not could post views, and never has. This has to be added by a plugin or your theme to appear. Even if the counts remain in the database after deactivating the responsible theme or plugin, the column could not appear without the it being active. Make sure you’ve deactivated every plugin, even if … Read more

Automatic chage password of pages after some time

Welcome to WPSE. Plugin recommendations are considered off-topic here, so here’s an action approach to the problem. You could use WP Cron to schedule a daily event for resetting page password. You can use wp_schedule_event() to schedule your custom event. In your event callback, use first WP_Query with password parameter to get all protected pages. … Read more