• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Home
  • Blog
  • Sample Page

WordPress Tips

Just another WordPress site

Hide a Custom Post Type’s Single and Archive Pages in WordPress

October 5, 2016 Leave a Comment

WP Beaches ~

You may find that you need to hide a custom post types single or archive pages or even both in WordPress. This may be the case if you are outputting a custom loop of cpts and don’t want duplicate content or discoverable pages which you don’t want published.

View this code snippet on GitHub.

In the above

Filed Under: archive, cpt, single, WordPress Tagged With: archive, cpt, single, WordPress

Reader Interactions

Related Posts

  • Media Temple Managed WordPress Hosting: Overview and Review
  • Hotjar Heatmap Analytics: An Overview and Review
  • How to Use a Heatmap to Improve Your Website’s Overall Quality
  • GreenGeeks Eco-Friendly Hosting: An Overview and Review

Leave a Reply Cancel reply

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

Primary Sidebar

Copyright ©2019 · WPress.Tips - All Rights Are Reserved · Powered by Genesis Framework