Show custom post type category posts on the footer

Can you please guide me how to show certain category posts on the footer. I am using custom post type news-site, taxonomy is news-category.

The link structure is abc.com/news-category/politics-news. The Politics news is a category page and all politics related news showing on the category page.

I don’t know how to show 5 recent posts with same category on the footer.

I have tried with tag_id but nothing is showing.

Also i have tried this related post Related post but didn’t work

Can you please guide me

Thanks

Read more here: Show custom post type category posts on the footer

Leave a Reply

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