Exclude a category slug on pagination

I’m a beginner of wordpress … I’m creating my first template and I would like to exclude the category “portfolio” from pagination. I tried in every way, but I managed to do just the opposite, browse through posts in the same category.

Do you have any suggestions?
thank you so much

Read more here:: Exclude a category slug on pagination

Leave a Reply

Your email address will not be published. Required fields are marked *