Closed tnog closed 7 years ago
It looks like you have slashes in your code there where they shouldn't be - not sure if that's because of the copy/paste into GitHub, but if those are in your actual code then you'll need to remove those. So the rewrite
line should look like this:
$args['rewrite'] = 'array( 'slug' => 'implementation-guide-articles' )';
Thank you for this plugin template!
I have a question regarding rewrites for the CPT permalink slug. Based on the instructions in your README, I'm adding my arguments to customize my CPT below:
$args['rewrite'] = 'array( \'slug\' => \'implementation-guide-articles\' )';
Yet this function doesn't work. What am I doing incorrectly? Any insights that you could provide would be appreciated.