WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Make home home page post dates display like single posts? (4 posts)

  1. gamebynight1
    Member
    Posted 1 year ago #

    Hi,

    I am using the Skirmish theme at this website. On my homepage, the dates for posts are displayed to the left of the actual post content in what appears to be their own column. I would much rather have the date/"posted on/by" meta-data displayed under the title as it does when viewing individual posts and get the extra content width of those single posts. Examples of what I'm talking about are linked below. I'm not sure what I would need to add/edit/change in the editor. Could anyone help me?

    Here is my home page
    Here is a single post page

    Thank you very much in advance!!

  2. Contact the theme developer if it's not already in the theme options. This is theme related.. and not WordPress.

    The templates of the theme would need to be edited to move the date from where it is currently displayed to below, above, or wherever else.

    Alternatively... you could get rid of it altogether (freeing the column) by adding this code to your custom css:

    .postedon {
        display: none;
    }
    .entry {
        margin: 0 0 10px 15px;
    }
  3. gamebynight1
    Member
    Posted 1 year ago #

    Hi Josh!

    Thank you for the tip, it worked great! And I got the post meta-data to show by adding this line to the content.php file:

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

    Much appreciated!

  4. You bet.

    Just remember editing core theme files will be over-written whenever you update the theme. So, you'll need to make the adjustment again if you update.

    Glad you got it!!

Topic Closed

This topic has been closed to new replies.

About this Topic