NOVELIST_DISABLE_ARCHIVE

⌘K
  1. Home
  2. Docs
  3. Developers
  4. Constants
  5. NOVELIST_DISABLE_ARCHIVE

NOVELIST_DISABLE_ARCHIVE

You can use this constant to disable the Novelist ‘book’ archive. This is a good idea if you want to use the  [novelist-books] shortcode to create your own archive page.

Add this code to your theme’s functions.php file (or to a new plugin file) to disable the archive:

define( 'NOVELIST_DISABLE_ARCHIVE', true );

Then, go to Settings > Permalinks and re-save your permalinks.