how to move byline to below post (2 posts)

  1. asage
    Posted 5 years ago #

    New to wordpress. Want to move byline to below post. Understand need to change coding, but not sure where to change this. Using Weaver theme.

  2. Chris Lema
    Posted 5 years ago #

    It depends on the theme (and I don't know Weaver well). But typically it will be in three places - first the index.php, secondly, archive.php, and lastly, in a file called single.php. All of those files will typically have the code for processing what's called "the loop" which is how WordPress pulls all the posts out of the database and puts it on the screen.

    Index.php often holds the code for what you see on the main (or home) page.
    Archive.php holds the code for lists of posts (by category, by tag, etc).
    Single.php holds the code for the full article.

    In all three places the loop will be there - often coded as:

    <?php while ( have_posts() ) : the_post(); ?>

    Once you have found that line of code, look below it (or inside the loop) for a <div> that may have an id of "post-meta" or "content-meta". The "meta" is the sign that it's not the title, but it's the stuff about the post (like author name, category, comment count, etc). That's the line you would move below the content of the post.

    Hope that helps.

Topic Closed

This topic has been closed to new replies.

About this Topic