• pretty new at all this… caveat stated.

    I would like to add a “posted by” with a link to the postings and I do not see how to do this.

    Also, on the homepage, I’d like to just have an excerpt seen with a link to the full posting.

    any help?

    TIA,
    Greg

Viewing 1 replies (of 1 total)
  • Here is some code from a live site that displays author and date posted. This becomes part of the WordPress loop

    <?php if (have_posts()) : ?>
      <?php while (have_posts()) : the_post(); ?>
        <h2 id="post-<?php the_ID(); ?>"><a name="<?php echo $post->post_name; ?>" href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
        <p align="right"><b>By <?php the_author(); ?></b> | <?php the_time('F j, Y'); ?></p>

    An article on how to switch from full content to excerpts:
    https://blog.websitestyle.com/index.php/2008/02/29/using-wordpress-excerpts/

Viewing 1 replies (of 1 total)
  • The topic ‘adding an “author” on the postings & excerpts on homepage’ is closed to new replies.