Recent Topics

Set/Get Post Custom Field plugin hook

Started by on Apr 17, 2012 – Contents updated: Apr 17, 2012

Apr 17, 2012 02:01    

Is there a plugin function we can use to get/set custom fields on a per post basis to store post related info ?

And if there is, can we store them cached / permanently

Apr 17, 2012 04:44

Yeah, I made a plugin long time ago to save custom blog, post and user fields. I'm not sure if it's public or not... I'll post the latest version to the forum.

And if there is, can we store them cached / permanently

What do you mean?

Apr 17, 2012 19:01

sam2kb wrote:

Yeah, I made a plugin long time ago to save custom blog, post and user fields. I'm not sure if it's public or not... I'll post the latest version to the forum.

And if there is, can we store them cached / permanently

What do you mean?

I mean there may be types of custom fields you would want permanently, like, i dont know, "Rating" or "Ingredients" for a recipe post, whatever..

OTOH, you might need custom fields that should expire, which i intend to use for share counts of the posts (likes, +1's, tweets and a combined score maybe).

Apr 17, 2012 19:39

In that case my plugin provides permanent fields only. It's easy to save field update/create time and then check whether it's expired or not.


Form is loading...

powered by b2evolution – This forum is powered by b2evolution CMS, a complete engine for your website.