User defined visibility of categories based on check boxes
-
Hi All,
This is my first post and first time working with Word Press so here goes.
I am in the process of modifying a friends site so that a user can choose categories via check boxes on the main home page so then the posts showing will reflect their choice.
So far, I have modified the header to include the check boxes and code needed to save the selections back to a cookie so that they can be reloaded when the visitor next returns.
The part I am stuck on is now how to filter the page based on the check box values. I was going to use the values from the check boxes to choose category id’s but when I started to look at the built in wp_query documentation but it looks like its php based and obviously, being server side and my controls being on the client side, I can’t work out how to ‘drive’ the filter.
And guidance would be greatly received as I think I am heading towards a dead end.
Thanks in advance,
James
- The topic ‘User defined visibility of categories based on check boxes’ is closed to new replies.