CPT rewrite permalink

Support MB Custom Post Type CPT rewrite permalinkResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34417
    Rafael MiuraRafael Miura
    Participant

    Hi,

    Is there a way to change to false the default parameter when creating a CPT?
    'rewrite'=> ['with_front' => true,]

    If not, is there a hook or filter to edit the CPT created from Metabox?
    I am trying to keep all CPT created from Metabox, instead of me having to create them manually.

    Thanks

    #34435
    Long NguyenLong Nguyen
    Moderator

    Hi,

    You can disable the option Prepended permalink structure in the Advanced tab when creating the CPT to set rewrite parameter to false.
    https://monosnap.com/file/D0BCecDWnPYvDO5m0EYFuCFGcorZRj

    #34465
    Rafael MiuraRafael Miura
    Participant

    Of course! How could I have missed that!
    Thank you very much for your assistance Long!
    Have a great day!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.