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? -

java - How to create Table using Apache PDFBox -

mpi - Why is MPI_Bsend not returning error even when the buffer is insufficient to accommodate all the messages -