Hi,
I have created two custom-post-types ('photo' and 'photo365') and all is well and good with them...except, I wish to change the permalink structure...
In settings I use the permalink structure:
http://www.myurl.co.uk/2012/01/sample-post/
This works fine for for type 'posts', but when I view a post of type 'photo' or 'photo365' the link is:
http://www.myurl.co.uk/photo/sample-post/
or
http://www.myurl.co.uk/photo365/sample-post/
how do I achieve http://www.myurl.co.uk/2012/01/photo365/sample-post/
where the month and year is part of the structure?
I have previously looked at other forum threads here and changed the line I have in the custom post declaration from
'rewrite' => true
to
'rewrite' => array('slug'=>'','with_front'=>false)
but to no avail....
Any ideas?