Before you ask please READ THIS

'Author info in post' didnt runs

edited December 2012 in Hypershot Posts: 29
Hi,

I selected OFF in the option 'Author info in post', but the Author is written on the top of the post. Please see here on the test-page: http://www.malermeister-gaese.de/neues/

Comments

  • AirAir
    Posts: 10,970

    Yes it is good. Author info is for other thing. It shows info about every author under every post taking info from user profile in Users menu.

    If you want to remove 'by Admin' there you have to edit some function in advance/utilities.php line ~17(or overite it in child theme)

    /*
     * Date and author
     */
    if(!function_exists('a13_date_and_author')){
        function a13_date_and_author( $date_format = '' ) {
            return
                a13_posted_on($date_format).' '
                //author link
                .sprintf( __fe( 'by <a class="author" href="%1$s" title="%2$s">%3$s</a>' ),
                    get_author_posts_url( get_the_author_meta( 'ID' ) ),
                    sprintf( esc_attr( __fe( 'View all posts by %s' ) ), get_the_author() ),
                    get_the_author()
                );
        }
    }

    to

    /*
     * Date and author
     */
    if(!function_exists('a13_date_and_author')){
        function a13_date_and_author( $date_format = '' ) {
            return a13_posted_on($date_format);
        }
    }

    With regards.

  • Great, thank you.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!