• OK so here is my dilemma. I want my home page to have recent posts showing, but I want the top post to be my little blurb saying welcome to the site yada yada! Ok so no problem there, i used the sticky plugin set my welcome post as announcement and it stays at the top.
    Only thing I dont like is how it shows the date, category and the No comment.

    So how can i get this to not show for the home page post.
    Any other ideas on how to go about doing this?

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The yada yada should not be a sticky post. I suggest that instead of going into the template and mucking the sticky post codes, it would be better to retain this functionality and use “Author” and move it to where you want it (comment the author code in the sidebar.php and copy and paste it to the header.php)

    Thread Starter emilbus20

    (@emilbus20)

    Ah neat sounds like a good idea. Just have to figure out exactly what you mean.

    Thread Starter emilbus20

    (@emilbus20)

    Actually if i put that in the header wouldn’t it show up on all pages?
    Thats not what i want, just for the home page.

    Look into your sidebar.php:

    <!– Author information is disabled per default. Uncomment and fill in your details if you want to use it.

    • <h2>Author</h2>
      <p>A little something about you, the author. Nothing lengthy, just an overview.</p>
    • –>

      Copy this to index.php (where you want it to display) and remove the comment tags:

      Add a test for home page:

      <?php if is_front_page() ?>

    • <h2>Author</h2>
      <p>A little something about you, the author. Nothing lengthy, just an overview.</p>
    • <?php endif ?>

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post Stay at Top not showing date, category, comments etc..’ is closed to new replies.