Just one problem – as it is a custom post type, it creates a page for individual staff members and an archive page, neither of which I can disable or edit.
I’ve tried changing ‘has_archive’ => true, to ‘has_archive’ => false, without success. Also, this method will be over-written when the plugin is updated.
The individual staff member pages are potentially useful if they can be made to display the same content as produced by the short code, but they only show the image and staff name. I’ve tried creating a content-sslp_staff_member.php but this doesn’t work.
I’d like to be able to disable the archive page completely, and, either disable the individual staff member pages or be able to customise them.
I’d like these customisations to stick when the plugin is updated.
- The topic ‘Disable archive and staff member page’ is closed to new replies.