WordPress.org

Ready to get started?Download WordPress

Forums

Getting Rid of Post Dates (16 posts)

  1. erusch
    Member
    Posted 8 years ago #

    How do I post something and have it display without showing date of the post or date of an edit?

    (Still need it archived by month though.)

  2. moshu
    Member
    Posted 8 years ago #

    Why don't you just edit out the_date or the_time (whatever you have) in your template files?

  3. moshu
    Member
    Posted 8 years ago #

    [please, don't double-triple post - all the new topics about this will be deleted!]

  4. erusch
    Member
    Posted 8 years ago #

    moshu - can you tell me how to change this post so that it shows up at http://wordpress.org/tags/semiologic so Denis can see and answer it.

    He will know which file I will find the code in as I cannot find it.

  5. spencerp
    Member
    Posted 8 years ago #

    I just added "semiologic" to your tags list above.. it should be listed there now right? Or that was for my "tags", but maybe you could add it as your own or moshu could..

    spencerp

  6. erusch
    Member
    Posted 8 years ago #

    Yes, thanks.

  7. moshu
    Member
    Posted 8 years ago #

    Only you (spencerp) see it as "mytag". It's there now and it should be OK.

  8. spencerp
    Member
    Posted 8 years ago #

    Yeah, slaps self..that's why I edited my reply quick lmaO! "Or that was for my "tags", but maybe you could add it as your own or moshu could.."

    Hehe..kinda registered when I seen: "Your Tags".. meaning for me.. =) Thanks for pointing that out and doing it for him lol...I had the idea of the "tags" right though..using that I mean.. =)

    spencerp

  9. erusch
    Member
    Posted 8 years ago #

    Denis - spencerp helped me.

    Just change "true" to "false" in The sem-theme-posts.php
    'show_post_date' => true,

  10. Denis de Bernardy
    Member
    Posted 8 years ago #

    alternatively, call:

    the_posts('show_post_date=false');

    rather than:

    the_posts();

    in the theme's index.php file.

  11. spencerp
    Member
    Posted 8 years ago #

    Denis-de-Bernardy, oh ok.. =) What I had said, which at the time, I wasn't really sure about it..had worked. But it is your theme, so no arguments from here lol! =) I guess mine was or can be classified as a "temporary" fix then maybe, I dunno..

    erusch, just do what Denis says then..ok. =)

    spencerp

  12. erusch
    Member
    Posted 8 years ago #

    Now that I'm rid of the dates, I'd also like to hide/delete the "By Administrator" on the product Pages I'm creating.

    e.g. http://framedartdecor.com/decorating/decorative-mirrors
    Underneath the "Decorative Mirrors" heading.

    Where is that found and what is the fix?

    Thanks again for all the help.

  13. Denis de Bernardy
    Member
    Posted 8 years ago #

    same kind of thing:

    the_posts('show_post_date=false&show_posted_by=false');

    the param list and their default values (for posts) are:

    'show_post_date' => true,
    'show_posted_on_by' => false,
    'show_posted_on' => false,
    'show_posted_by' => false,
    'show_updated_on' => true,
    'show_filed_under' => false,
    'show_filed_under_by' => true,
    'show_actions' => true,
    'show_email_link' => true,
    'show_print_link' => true,
    'sep' => '•'

    the theme's plugin internals override the defaults in some situations. you can override all of this by specifying the values you want in the index.php file.

    as a complete aside, there is also a sell page template for static pages (write > page). on top of cleaning the template from the clutter, it will remove the middle column in the three page template in order to remove the incentive to go 'elsewhere'. :)

  14. erusch
    Member
    Posted 8 years ago #

    I guess the override was in effect. Pasting the_posts('show_post_date=false&show_posted_by=false'); in the index took care of it, where editing sem-theme-posts didn't.

    I may just end up using the sell page template. Debating easy access to rest of products vs. absence of clutter and incentive to leave.

  15. erusch
    Member
    Posted 8 years ago #

    I just noticed that when I put the_posts('show_posted_by=false'); in index.php it makes the "posted by" go away as desired but now the home page: http://www.framedartdecor.com/decorating shows "Permalink • Print • Email" where it didn't before.

    What's the fix for this fix?

  16. Denis de Bernardy
    Member
    Posted 8 years ago #

    show_actions=false

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags