Trouble with CPT Child 404

You can’t have both a page and a Custom Post type with the same slug, in your case videos. See: https://core.trac.wordpress.org/ticket/38599 for a ticket recommending this be changed in core. A few solutions: Change either the page or the post type to video instead of video Follow the Template Hierarchy and create a archive-videos.php with … Read more

Nonce failing on form submission

Okay, not sure what was wrong with my original code, but this post put me on the right path. To generate the nonce, use: wp_nonce_field( plugin_basename( __FILE__ ), ‘my_reset_nonce’,true,false); To verify, use: if ( ! isset( $_POST[‘my_reset_nonce’] ) || ! wp_verify_nonce( ( $_POST[‘my_reset_nonce’] ), plugin_basename( __FILE__ ) ) ) { die; } else { // … Read more

Odd error on top of my dashboard. How do I fix it?

You have a plugin or theme that is using wp_localize_script() incorrectly. That’s all that can be said based on what you’ve shared. The solution is to deactivate plugins until the error goes away. The last plugin you deactivated is responsible, and you will need to contact its author about properly supporting 5.7. Note that apart … Read more