Rewrite slugs does not work in combination with paging on a page that has the same name as the slug
Closed this issue · 0 comments
paulhuisman commented
Hi there,
Scenario:
Post type called 'publication'
Overview page with custom query: /en/publications
rewrite slug filter with pll_translated_post_type_rewrite_slugs:
$post_type_translated_slugs['publication'] = array(
'nl' => 'publicaties',
'en' => 'publications',
);
When i change this to a different slug, it works.
So it seems paging does not work on a page that has the same name as the defined slug for that custom post type.
Can you reproduce this / do you have any solutions? Would be very much appreciated!