• Resolved skirkster

    (@skirkster)


    Hello,

    My blog has two authors for its posts, and I thought I was doing everything right to get their names to display, but no luck. Is there some piece of code we’re possibly missing? Link is here: blog.noelmarie.com.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You need to look for the_author tag in the relevant theme template files and, if it’s not there, add it.

    https://codex.www.ads-software.com/Template_Tags/the_author

    Thread Starter skirkster

    (@skirkster)

    As far as I can tell (and I compared my theme to the WordPress Default for the PHP), they’re both exactly the same, in the Main Index Template. Here’s the code, any ideas what I’m doing wrong?

    <?php while (have_posts()) : the_post(); ?>
    
          <div class="post" id="post-<?php the_ID(); ?>">
            <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
            <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author(); ?> --></small>
    
            <div class="entry">
              <?php the_content('Read the rest of this entry &raquo;'); ?>
            </div><!-- end id="entryMIT" -->
    
            <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
          </div><!-- end id="postMIT" -->
    
        <?php endwhile; ?>
    
        <div class="navigation">
          <div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
          <div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
        </div><!-- end id="navigationMIT" -->
    Thread Starter skirkster

    (@skirkster)

    Sorry, just figured it out. Thanks for the help, though!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Author names aren’t posting’ is closed to new replies.