• Thank you for awesome solution for custom post type permalinks.

    I have problem with “Remove CPT slug”, When I checked this option form backend my Post page (blog) redirected to single.php.

    When I comment this code from custom-permalinks-for-custom-post-types.php blog open on index.php which is fine for my. (line 173)

    $struct = ltrim($permalink_cpt['struct'], '/');

    currently I commented this code but for future update you have any solution or suggestion for me?

    • This topic was modified 4 years, 10 months ago by Figar Ali.
  • The topic ‘After Check Remove CPT slug Blog page redirect to single.php’ is closed to new replies.