Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wp-seopress/e0d3d663bfc6b23ded6275d18585de99 to your computer and use it in GitHub Desktop.
Save wp-seopress/e0d3d663bfc6b23ded6275d18585de99 to your computer and use it in GitHub Desktop.
Force the display of the custom post type archive page even if it does not exist in breadcrumbs
add_filter('seopress_breadcrumbs_force_archive_name', '__return_true');
//has_archive must be set to TRUE in the register post type function
@CodeGreer
Copy link

Is there a way to make the archive name a link?

@wp-seopress
Copy link
Author

Is there a way to make the archive name a link?

has_archive must be set to true to have links for archives.
Please open a support ticket if necessary. We don't do support here. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment