NOVELIST_DISABLE_ARCHIVE

⌘K
  1. Home
  2. Developers
  3. Constants
  4. 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.

Was this article helpful to you? No Yes

How can we help?