WordPress.org

Support

Support » How-To and Troubleshooting » single posts not showing author

single posts not showing author

  • saturnus

    @saturnus

    yes i’ve contacted the theme author. no help.

    on single posts, author names don’t display. example:
    “Posted on Monday, October 21st, 2013 by in Album Reviews with 2 Comments”

    between the “by” and “in”, author name + link is not displaying.

    this is what the single.php looks like:

    <?php get_header(); ?>
    <div class="posticon">
    <?php
    
    $post_link = get_permalink();
    $post_title = get_the_title();
    
    ?>
    <?php if(has_post_format('aside')) { ?>
    <a href="<?php the_permalink(); ?>"><img src="<?php bloginfo('template_directory'); ?>/img/icon-note.png"  class="postformat" /></a>
    <?php } ?>
    <?php if(has_post_format('audio')) { ?>
    <a href="<?php the_permalink(); ?>"><img src="<?php bloginfo('template_directory'); ?>/img/icon-audio.png"  class="postformat" /></a>
    <?php } ?>
    <?php if(has_post_format('gallery')) { ?>
    <a href="<?php the_permalink(); ?>"><img src="<?php bloginfo('template_directory'); ?>/img/icon-photo.png"  class="postformat" /></a>
    <?php } ?>
    <?php if(has_post_format('image')) { ?>
    <a href="<?php the_permalink(); ?>"><img src="<?php bloginfo('template_directory'); ?>/img/icon-photo.png"  class="postformat" /></a>
    <?php } ?>
    <?php if(has_post_format('link')) {
        $values = get_post_custom( $post->ID );
        $post_link = isset( $values['link_post_url'] ) ? $values['link_post_url'][0] : get_permalink();
        $post_title = isset( $values['link_post_caption'] ) ? $values['link_post_caption'][0] : get_the_title();
    ?>
    <a href="<?php the_permalink(); ?>"><img src="<?php bloginfo('template_directory'); ?>/img/icon-link.png"  class="postformat" /></a>
    <?php } ?>
    <?php if(has_post_format('quote')) { ?>
    <a href="<?php the_permalink(); ?>"><img src="<?php bloginfo('template_directory'); ?>/img/icon-quote.png"  class="postformat" /></a>
    <?php } ?>
    <?php if(has_post_format('video')) { ?>
    <a href="<?php the_permalink(); ?>"><img src="<?php bloginfo('template_directory'); ?>/img/icon-video.png"  class="postformat" /></a>
    <?php } ?>
    <?php if(get_post_format() === false) { ?>
    <a href="<?php the_permalink(); ?>"><img src="<?php bloginfo('template_directory'); ?>/img/icon-post.png"  class="postformat" /></a>
    <?php } ?>
    
    </div>
    <div id="main">
    <div id="content">
    <h1><?php the_title(); ?></h1>
    <div class="postmeta"><p><a href="<?php the_permalink(); ?>"> <img src="<?php bloginfo('template_directory'); ?>/img/icon-permalink.png" alt="" class="permalink"/></a>Posted on <?php the_time('l, F jS, Y') ?> by <a class="url fn n" href="<?php echo get_author_posts_url(get_the_author_meta('ID')); ?>"><?php the_author(); ?></a> in <?php the_category(', ') ?> with <a href="<?php the_permalink(); ?>#comments"><?php comments_number( '' . __('No Comments', 'themefurnace') . '', '' . __('One Comment', 'themefurnace') . '', '' . __('% Comments', 'themefurnace') . '' ); ?></a></p></div>
    
    <?php the_post(); ?>
    
    <?php wp_link_pages( $args ); ?>
    
    <?php the_content(); ?>
    
    <h3>Post Tags:</h3>
    <ul>
    <li class="tagcloud posttag"><?php the_tags('','  ',''); ?></li>
    </ul>
    </div><!-- End Content -->
    
    <?php comments_template('', true); ?>
    
    </div><!-- End Main -->
    
    <?php get_sidebar(Blog); ?>
    
    <?php get_footer(); ?>

Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi

    @esmi

    Forum Moderator

    Where did you download this theme from?

    Michael

    @alchymyth

    Forum Moderator

    does this also happen with the default theme Twenty Thirteen activated, and with all plugins deactivated?

    what is the output of the section if you look into the source code of a single post in your browser?

    what theme are you using?

    saturnus

    @saturnus

    it’s this theme: http://themefurnace.com/blog/portfolio/sympalpress/

    output of the source code is this
    <a class="url fn n" href="http://www.thealtreview.net/author"></a>

    Michael

    @alchymyth

    Forum Moderator

    please continue to contact the theme’s developer for support;
    as a commercial theme, it is not supported by this forum; http://codex.wordpress.org/Forum_Welcome#Commercial_Products

    saturnus

    @saturnus

    I already said I have, twice. It’s been almost a month with my site being like this, so I don’t know what to do.

    esmi

    @esmi

    Forum Moderator

    We do not support commercial themes as you paid for support when you bought the theme. It is not our place to keep theme vendors in business or deprive them of any income that they may derive from support services.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘single posts not showing author’ is closed to new replies.
Skip to toolbar