• Resolved user10522three

    (@zorrohere)


    Hi,

    I was about to switch to your plugin from CPT UI for multiple good reasons but I have one issue with the way you rewrite slug.

    The setup I have on my site is, I have multiple posts types and page for each one. So what I want do is template for each page like site.com/page-name and page name is same as rewritten slug. And CPT UI lets me create another custom slug for archive so I have freedom to use my pages and post types with same url and I can use archive on posts which I want.

    I moved few of my post types into your plugin(sadly your plugin doesn’t use/edit existing post types) but once I found out I can’t rewrite slug the way I want I decided to uninstall it. I would still like to use your plugin in future so please let me know if same can be done with your plugin.

    site.com/page-name
    site.com/page-name/my-first-custom-post
    site.com/page-name-archive

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter user10522three

    (@zorrohere)

    Ohk I just found same feature in your plugin, so I guess I am switching back to your plugin.

    Anonymous User 14808221

    (@anonymized-14808221)

    sadly your plugin doesn’t use/edit existing post types

    Have you seen this DOC?
    https://wp-types.com/faq/how-do-i-convert-existing-custom-types-and-fields-to-types-control/

    This solves that issue.

    In Types you can also prepend some slug to your Custom Post Type, and together with the native rewrite rules of WordPress you are able to achieve your goal, I think.

    What you cannot do with Types (and with no other Custom Post Type, in WordPress) is prepend a Dynamic Slug, like a placeholder as WordPress uses it for native Types:
    %postname%

    This will not work in Custom Post Types.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Rewrite slug and archive’ is closed to new replies.