Querying pages and posts
-
Hello again ??
I’m using a custom meta key that displays posts if the value is on using
<?php query_posts('meta_key=feature_value&meta_value=on'); ?>
It displays posts without a problem but nothing appears for pages. Is it possible to query both posts and pages via the meta key?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Querying pages and posts’ is closed to new replies.