WordPress.org

Support

Support » How-To and Troubleshooting » how to move byline to below post

how to move byline to below post

Viewing 1 replies (of 1 total)
  • Chris Lema
    Member

    @chrislema

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘how to move byline to below post’ is closed to new replies.