WordPress.org

Ready to get started?Download WordPress

Forums

Theme Manifest : Positioning of date and post title. (3 posts)

  1. LaceyFilly
    Member
    Posted 2 years ago #

    I need to find out how to change the position of the date and post title. I would prefer they be along one line, possibly with the title directly above the start of the post aligned left, and the date along the same line, but aligned to the right. I have tried a number of things, but I'm a little lost here. I did also search, but it seems that a lot of solutions are specific to those edited sites even if under the same theme.

    Any help would be greatly appreciated. Thank you for taking the time to read.

    I do have a few more questions, specifically about the Nav menu, and wonder if this would be the best place to post, or would another topic need to be made.

    In progress : http://www.juanita-michelle.com/blog/

  2. LaceyFilly
    Member
    Posted 2 years ago #

    Just giving a little nudge before it gets lost. Thanks

  3. utunlimited
    Member
    Posted 2 years ago #

    I was looking for the same thing and found this post:

    I'm no expert though as I'm learning myself.

    Nice site btw and cute girl. :)

    http://wordpress.org/support/topic/date-position

    Originally posted by: Valuxes
    Look in your theme's index.php and locate the_title and the_time (or the_date).

    You want to move all the code pertaining to the_time or the_date to after the_title.

    For example, in the following code:

    <div><h2 id="post-<?php the_ID(); ?>">" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></h2><?php the_time('F js, Y') ?></div>

    I moved <?php the_time('F js, Y') ?> to after everything between the <h2> and </h2> tags (which contain the_title).

Topic Closed

This topic has been closed to new replies.

About this Topic