-
dagiugu posted an update
I’m working on a WordPress theme for which I must create a Custom Post Type (CPT) and corresponding archive page. According to the project requirements, I need to make sure that theme users can customize the link structure of this Custom Post Type through WordPress “permalink settings”.
Tried solution Modifying rewrite rules:
Tried setting the rewrite parameter to false, but couldn’t achieve the desired result.
Tried several different combinations of rewrite settings, still no success.
Trying to use the Settings API to register new settings, is this the right idea?