WordPress.org

Ready to get started?Download WordPress

Forums

Date/Time place (5 posts)

  1. Karalius
    Member
    Posted 3 years ago #

    hello,
    so, now, by default, date/time of my news post is above the title, and i would like, that it would be under the content...
    im not very good with html/css, but i guess i need to edit news.php?

    btw, maybe all those "categories", "comments" atc i also could put After the content - would be very nice :)

    theres how it look now:
    <img src="http://lh5.ggpht.com/_Ju8-ykM_JzI/TPYPmIuqg-I/AAAAAAAABeI/BoGe8WwY1FU/newscut.PNG">

    (sorry, im posting here first time, so maybe direct images are not allowed, so i'll also post the image link only)

  2. Karalius
    Member
    Posted 3 years ago #

  3. baszer
    Member
    Posted 3 years ago #

    there are 2 options:

    1. (easy) you can change that under settings > general settings > date format

    2. (less easy) if your theme is not wp 3 ready it could be that you have to change it by hand. Then you should fix it under appearance > editor (but then you have to change the code)

  4. Karalius
    Member
    Posted 3 years ago #

    no, easy way is not working :)
    i thought i'll have to edit the code, but i don't know which lines :(

  5. datasoftict
    Member
    Posted 3 years ago #

    It depends on the theme you are running. If it is the loop (index page) rather than a single post entry then open the editor for the theme find the index or loop php file and look for something like

    <div class="entry-meta">
    <?php twentyten_posted_on(); ?>
    </div><!-- .entry-meta -->

    this needs to be moved below

    <?php the_excerpt(); ?>
    or
    <?php the_content(); ?>

    depending on which page you are editing, loop or single.

    Always backup anything you are going to amend before working on it!

Topic Closed

This topic has been closed to new replies.

About this Topic