Is there a way for me to have a tickbox on a category archive page that when ticked shows that category's posts on a separate page?
I'm working on a system for my work where each user will be able to 'subscribe' to a category of post and then on a 'my list' page shows posts from the categories the categories they have ticked.
I've come across a couple of posts that are close to this but with no real answer.
One suggestion was to use add_meta_data/update_meta_data which I have just had a look at. It would work if each new category had it's own column, but ideally I think it would be best if it was one column which stores category ids, separated by commas, that could just be pulled in to a wp_query. If there is a way of doing that then I would be fine to sort out the rest of it.
So the user process would be:
- Go to category page
- Click tick box to add or remove category
- Go to 'my list' page to view posts from ticked categories
I hope that is clear enough, any help would be much appreciated (even just a nudge in the right direction). Thanks.
Aucun commentaire:
Enregistrer un commentaire