This is listed in the WP forum, because I didn't realize until after I posted it that I wasn't in the MU forums...
I've already searched the forums and codex, but I've only found the answer for excluding a single post, not multiple posts, from the index page.
I've tried using the implode method, but I'm getting error messages. Please help. Thanks.
cafespain
Member
Posted 15 years ago #
I'm sorry t3ch33. I think you're going to have to describe that problem a little better.
Hi. I'm referring to this code that can be found at http://codex.wordpress.org/Template_Tags/query_posts
query_posts(array(
'post__not_in' => array(6,2,8)
'order'=>'ASC',
));
It's just a way to query posts. I want users to select posts that they don't want displayed on their index pages. That's what the post__not_in part is for.
I found the code on WP, so I think it was only meant to be hard-coded. But, since I'm using it with MU, I plan to pull these values from the database. How can I put the db values into that array? Does that make sense? If not, just let me know. Thanks.