When moving a website from local to staging, a major problem was identified. Images that were used in content pages (POSTS) in WordPress were being broke. After looking through Read More
//Page Slug Body Class function add_slug_body_class( $classes ) { global $post; if ( isset( $post ) ) { $classes[] = $post->post_type . ‘-‘ . $post->post_name; } return Read More
<?php /** Hide editor on specific pages. */ add_action( 'admin_init', 'hide_editor' ); function hide_editor() { // Get the Post ID. $post_id = $_GET['post'] ? $_GET['post'] : Read More
To change the author of a post first go to and open a post. Now open the “Screen options” that you find right at the top of the post edit page. Now click the Read More