Change the position of post date in Homepage

  • Posted in : Bloggy WP
  • robertoguiotto
    Participant

    Hi,
    In the blog homepage I would like to display the data of the post above the title of the post. I already managed to do that in the post detail view with an hardcoded customization of post-sidebar.php, but have no idea about how to do it in homepage: which is the file that I need to customize?

    P.s. I have already disabled the display of author post, category and number of comments, which were not required.


    Furthermore, I need to change the appeareance of the date, to obtain this final result:
    http://it.tinypic.com/r/4zujgp/8 .C ould you please advice the best way to do it?

    Thanks in advance for your help!
    Roberto

    Mehmet S.
    Keymaster

    Hi, you can edit the all-meta.php file. And, you can change your date format from settings > general > Date Format.

    Thanks

    robertoguiotto
    Participant

    Uhm..it doesn’t seem to work.

    I brought the piece of code on the top of the all-meta.php file, but the date is still displayed below the title, and not above the title as I would like it to be.

    Actually, I don’t understand which part of all-meta.php that I need to customize in order to display the date above the title..

    Could you please help?

    robertoguiotto
    Participant

    Regarding the date appeareance, the format is ok; I need to change the appereance via CSS (removing the rounded square and adding space between the characters) and was wondering where was best place to do it via CSS.

    Here is a pic of the final result that I need to accomplish: http://it.tinypic.com/r/4zujgp/8

    Thanks in advance!

    Mehmet S.
    Keymaster

    – Go to: Appearance > Editor > format-standard.php

    – find:

    <header class="entry-header">
    

    – edit:

    <header class="entry-header"><span class="custom-post-date"><?php echo get_the_date(); ?></span>
    
Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register