Thread Starter
cjv17
(@cjv17)
I’ll give this a shot, thank you. I am using the Infoway theme and it was using query_posts, and I was trying to avoid changing too much, but I trust that this will work better.
Thread Starter
cjv17
(@cjv17)
Woops — I typed those here incorrectly, but it is actually correct in my code. Nonetheless, that code seems to crash the page. Not sure why, however.
Thread Starter
cjv17
(@cjv17)
I tried that —
I included:
$exclude = get_term_by('slug','ExcludeThisTag','post_tag');
$exclusion = 'tag_not_in' => array($exclude->term_id);
query_posts('showsposts=' . $limit . '&paged=' . $paged . $exclusion);
Sorry, I do not have much experience with PHP. Do you know the mistake I am making here?
Thread Starter
cjv17
(@cjv17)
Thank you! Is there a similar option for selecting based on tags?