WordPress.org

Ready to get started?Download WordPress

Forums

WP About Author
Cannot remove authorbox from posts (1 post)

  1. Raggy1988
    Member
    Posted 1 year ago #

    Hi all,

    I'm a noob in CSS and PHP, but I cannot remove the authorbox from posts. I read the FAQ and it said:

    <?php
    function my_wp_about_author_display($author_content){
        if(is_page(100))
            return "";
        return $author_content;
    }
    add_filter('wp_about_author_display', 'my_wp_about_author_display');
    ?>

    Now that is for a page. I edited if(is_page(100)) to if(is_page(ID)).

    Then my WP crashed. What did I do wrong? The author box is showing in my contactforms and stuff. I'm using the Simple Catch theme.

    http://wordpress.org/extend/plugins/wp-about-author/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.