wp-paragraph-tags-300x126Its true, WordPress automatically puts some paragraphs tags all over your posts. Of course it considered a useful feature. But sometimes it creates a lot of troubles for Programmers and Template Designers. So you can remove the paragraph tags by using filter into the “functions.php” file of worpdress theme.

remove_filter ('the_content', 'wpautop');

Once saved, WordPress no longer inserts paragraph tags into your post contents.


If you have a multi-authors WordPress blog, by default WordPress allow contributors or authors to see all posts in the Admin Panel. However if you want to disable this privilege. Here is a code snippet ..


function mypo_parse_query_useronly( $wp_query ) {
    if ( strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/edit.php' ) !== false ) {
        if ( !current_user_can( 'level_10' ) ) {
            global $current_user;
            $wp_query->set( 'author', $current_user->id );

add_filter('parse_query', 'mypo_parse_query_useronly' );


Just copy and insert code snippet into your theme “functions.php” file. That’s it.