I have a theme with its own related posts code at the end of each post. It gets related posts by tags, but actually I would like to EXCLUDE 2 TAGS.
in single.php I found the code:
<?php $tags = get_the_tags(); ?> <?php if($tags): ?> <?php $related = get_related_posts($post->ID, $tags); ?> <?php if($related->have_posts() && $related->found_posts >= 1 && get_option('reedwan_related') == 'On'): ?>
It should not be too difficult but can't figure it out. Any help?