but it isn’t working…
‘in_same_tax’ this gives me this error:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/httpd/vhosts/naloo.net/httpdocs/wp/wp-content/plugins/ambrosite-nextprevious-post-link-plus/ambrosite-post-link-plus.php on line 114
Warning: array_unique() expects parameter 1 to be array, null given in /home/httpd/vhosts/naloo.net/httpdocs/wp/wp-content/plugins/ambrosite-nextprevious-post-link-plus/ambrosite-post-link-plus.php on line 114
and if i try with different categories, it always renders the same result, you can look at it here: https://naloo.net/wp/3kh/
it should get this:
next > apollo-8
logo > apollo-8
print > apparence
digital > bimi
but all three next buttons go to apollo-8
this is what the code looks like:
<?php next_post_link_plus( array('order_by' => 'post_title', 'format' => '%link', 'link' => 'next', 'in_same_cat' => 'work' ) );?>
<?php next_post_link_plus( array('order_by' => 'post_title', 'format' => '%link', 'link' => 'logo', 'in_same_cat' => 'ct-logo', 'ex_cats' => 'work', 'ex_cats_method' => 'weak' ) );?>
<?php next_post_link_plus( array('order_by' => 'post_title', 'format' => '%link', 'link' => 'print', 'in_same_cat' => 'ct-print', 'ex_cats' => 'work', 'ex_cats_method' => 'diff' ) );?>
<?php next_post_link_plus( array('order_by' => 'post_title', 'format' => '%link', 'link' => 'digital', 'in_same_cat' => 'ct-digital', 'ex_cats' => 'work', 'ex_cats_method' => 'strong' ) );?>