WordPress.org

Ready to get started?Download WordPress

Forums

Blog Post's Author/Date and Comments not Appearing (2 posts)

  1. geekchick30
    Member
    Posted 1 year ago #

    Hello,

    I'd like my blog posts on the front page with Author & Date next above the blog's title but it's not appearing. When I mess around with the settings in Settings > Reading it sometimes appears but without the actual blog content. Also, when you click Leave a Reply it doesn't take the user to a comment box. Any suggestions?

    Here's the site: http://blog.scoutdriveu.com

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    blog posts on the front page with Author & Date next above the blog's title

    if there is only one author in your site, the author info is hidden by (in style.css):

    .single-author .entry-meta .by-author {
    	display: none;
    }

    the .single-author body_class is added in this section at the end of functions.php:

    /**
     * Adds two classes to the array of body classes.
     * The first is if the site has only had one author with published posts.
     * The second is if a singular post being displayed
     *
     * @since Twenty Eleven 1.0
     */
    function twentyeleven_body_classes( $classes ) {
    
    	if ( function_exists( 'is_multi_author' ) && ! is_multi_author() )
    		$classes[] = 'single-author';
    
    	if ( is_singular() && ! is_home() && ! is_page_template( 'showcase.php' ) && ! is_page_template( 'sidebar-page.php' ) )
    		$classes[] = 'singular';
    
    	return $classes;
    }
    add_filter( 'body_class', 'twentyeleven_body_classes' );

    when you click Leave a Reply it doesn't take the user to a comment box.

    double check your permalink settings:
    http://codex.wordpress.org/Using_Permalinks#Choosing_your_permalink_structure

Topic Closed

This topic has been closed to new replies.

About this Topic