I’ve got a site where different content will be shown if you are looking at it through a desktop or a phone/PDA etc. There are different template files for each.
I have been trying to exclude certain pages from the mobile version if it has a custom field (e.g. key=for mobile value=no). I wanted to do this in the loop through wp_query() because there is a menu generation in the page that needs to exlude these pages too.
I can see how to do this inclusively, but I’ve hit a bit of a wall and could do with a helping hand! (I could easily be pursuaded to do the same through a tag (e.g. notMobile) if it is easier.)
- The topic ‘Excluding pages if there is a particular custom field’ is closed to new replies.