Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

philippze on "get_adjacent_post_link excluded_terms ignored"

$
0
0

I call the function get_adjacent_post_link using the argument $excluded_terms. But this argument is ignored.

This is how I call the function.

get_adjacent_post_link(
    '%link',
    '<span class="forward"></span>',
    false,
    array(83, 88, 89, 182),
    true
);

By clicking the resulting link I can reach a post that is in the category 'Blog Eintrag (de)' which has this admin URL

/wp-admin/edit-tags.php?action=edit&taxonomy=category&tag_ID=83&post_type=post

I think that a post with this category should be excluded by the argument array(83, 88, 89, 182). Why is it not?


Viewing all articles
Browse latest Browse all 8245

Trending Articles