• Resolved wpprogrammeurs.nl

    (@wordpressprogrammeursnl)


    Tried our local fora without results. Let’s bring it up a notch :

    For a plugin dev (classyfrieds) I’m looking for a way to make an existing post sticky (and preferably change the publishing date to current date).

    I use wp_update_post() to modify all kinds of things on existing posts, but the stickyness eludes me.

    (In the ideal world I’m also looking for the code to un-stick a post, but assume that the light will turn on once I know how to sticky a post first).

    codex,bing & google turned out not to be my friends in this matter.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to set post to sticky (IN PHP) ?’ is closed to new replies.