How to restrict gutenberg block next post & previous post to same category?

Question

I am using gutenberg default blocks [next post], [previous post] in the template.

enter image description here

but,

How to restrict the post navigation to the same category ?

In gutenberg editor, it don’t have the parameters to set to restrict post navigation to the same category.

So, how can I solve it perfectly ?

Do you know, friends?

Thanks very much.

0
老鹰之歌 4 weeks 2023-01-09T07:53:14-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse