Wordpress - Hide a page when a user try to navigate to it writing the URL -


example: created custom post type "movie". added links of movie posts in nav menu, , it's ok if user navigates post writing in browser url (like www.site.com/movie/apocalypse-now) don't want user navigates page www.site.com/movie (that lists movies). there way hide page?

why not register has_archive false in register_post_type() function?

would solution if want disable post type archive.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -