• Hi Friends,

    I’ve already searched here + G… what I’m looking to do is remove the date from just one post… I tried doing this with phpMyAdmin and date defaulted to something 1969 …….

    thanks for the help!
    kf

Viewing 12 replies - 1 through 12 (of 12 total)
  • That’s not unexpected.

    What’s the actual desired end-result?

    Thread Starter kbf

    (@kbf)

    The desired end-result is to have a post which displays no date… I have this post set as a sticky at the top, and, it would be fantastic to have no indication of when it was posted.

    thank you Handysolo

    If you’re using adhesive, I believe you can configure it to display no date.

    If you’re NOT using adhesive, you might be able to hack something using a span tag around the date setup, give that one post a class inside the span tag, and edit the stylesheet to have that class as “display:none”.

    Which might require editing the post in the database to add a specific class in there…. maybe more finagling than anyone but me would want to go through….

    Not even sure that would work. I’ll have to try it just to see now. No – no need: can’t edit html in the database, doesn’t show up that way.

    Use adhesive. It allows you to not show the date. At least, the older version I used to use was set up that way.

    Thread Starter kbf

    (@kbf)

    vkaryl thanks for the quick answer : )
    I am using adhesive and it does give that option in the gui, but, it’s not working that way in practice, ie. the date is still appearing … thank you .. your effort is appreciated!

    kf

    Hm. Now that’s odd. When I had it installed in several 1.5 (and a couple of 2.0) blogs, it worked fine. I can’t actually remember how it wants the input now, but at the point at which I was using it, it couldn’t have been too difficult because I knew practically nothing about wp, plugins, and php….

    Let me take a look “back” in time, see if I’ve got some old files that might give a hint.

    Thread Starter kbf

    (@kbf)

    thanks for that …
    I’m running WP 2.0.5
    thanks again
    kf

    What version are you using? The last version I have around is 3.2, which references the date display on line 70 (which should it would seem need to be 'display_date' => false,); line 113-114: // Delete the following line to display the date on sticky posts
    add_filter('the_date', 'adhesive_the_date', 15);
    (and which I think means leave it alone if you DO NOT want the date); line 124, which dittos line 70: 'display_date' => false,; and a couple of other spots in functions which use the information from the lines above to output the display.

    So if those are all set “false”, and the add_filter line is there intact (assuming similar versions etc.), I don’t know what to say. Except that it’s too bad Owen’s site’s not back up so you could post there to ask him….

    Thread Starter kbf

    (@kbf)

    Thanks for that : )
    I’m also using 3.2
    everything’s set to false …
    the add_filter line is there……

    Maybe Owen’s site will get back up sometime and I’ll post over there….

    I sure appreciate your time!
    kf

    No problem – always happy to help if I can…. besides which, I seem to only ever be the one around here who has used adhesive much. Right now, it’s not installed anywhere. Tell you what, I’ll put it up on one of my 2.0.4 blogs tomorrow and see what gives (I’m not doing 2.0.5 yet…. too many oddball bugs and I have 20+ blogs – mine and clients’ – to put something there that isn’t right yet…. 2.0.4 isn’t materially different from 2.0.5 AFAIK….)

    I’ll post back tomorrow sometime.

    Thread Starter kbf

    (@kbf)

    okay, i’ll check back and thank you again
    kf : )

    Well, it won’t remove the date and add the banner in 2.0.4 either. I think the last time I can remember having it working was under version 2.0.2 – but it was a while back, so I could be wrong.

    I guess the only thing to do now is hope that Owen gets his site back up fully so we can ask….

    Sorry!

    I actually posted a support request here: http://support.redalt.com/ – you could do so as well, though you’ll have to register.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Remove Date From Single Post Hack’ is closed to new replies.