I’m writing on a wp-photoblog plugin which allows to additionally post images and uses the post_type field to mark this posts as photoblog entries.
To my question: I’d like to programm a filter which only shows a certain kind of post_type posts in the wordpress loop once activated (Buttons on page: Only show images, Only show worpress posts, show both). I think i need some kind of session management to achieve this?
Anyone an idea what wordpress mechanism i could use? The filter should stay activated no matter what the user does – Until he selects another option and i want to use as much wordpress code as possible.
- The topic ‘Some kind of session management?’ is closed to new replies.