Custom Postype specific changes in admin panel

A filter always needs to return something. So in the second example you should try return $title; after the if statement so it doesn’t break other posts. add_filter( ‘sanitize_title’, ‘my_custome_slug’ ); function my_custome_slug( $title ) { return ( ‘customposttype’ === $GLOBALS[‘post’]->post_type ) ? str_replace( ‘*’, ‘-‘, $title ) : $title; } I’m not completely sure … Read more

comments in Admin

The comments section is quite a big section to properly explain, but here are the basics First, here is the “Settings >> Discussion screen It is here that you set how and when comments will be displayed on the front end on posts. Here is a quick description of the most important setting Allow people … Read more