Support » Plugin: Custom Post Type Widgets » I got archive widget to to work with CPT UI + Beaver Builder

  • Just FYI, I was able to get the archive widget part of plugin to work with CPT UI and Beaver Builder / Themer by REMOVING this line near the very bottom of widget-custom-post-type-archive.php

    $link_html = str_replace( '?post_type=' . $posttype, '', $link_html );

    This made the link output as 2020/11/?post_type=slugname instead of just 2020/11/slugname which was 404ing

    Maybe this could be an official setting / frontend option in the future?

    • This topic was modified 5 months, 1 week ago by MattDotCom.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.