• Here is a long shot since there hasn’t been any recent responses from the developer or any “smart people” here.

    Is there a way to disable/re-direct the archive page to a regular page that we use shortcodes? We use breadcrumbs and if you click on a single-staff and click on the ‘Staff Members URL Slug’, in our case “our-leadership”, it shows the plugins archive which isn’t the same as our “Our Leadership”, using shortcodes. To override that, I created a custom breadcrumb. It works, but wondering if there was a better/easier way.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Brett Shumaker

    (@brettshumaker)

    If you add this to your theme’s functions.php file, it will disable the archive page for the custom post type. You’ll also need to flush your site’s permalinks after doing so before the change will take effect.

    
    add_filter( 'sslp_enable_staff_member_archive', '__return_false' );
    
    Thread Starter Mike Matenkosky

    (@hikinmike)

    Thanks @brettshumaker. Doesn’t resolve my problem totally as I still need the custom breadcrumb.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Re-direct the archive to a page?’ is closed to new replies.