hi and thanks for reading.
my issue is, i want to insert the specific author into my custom post type article. my code looks like this
register_post_type('charts', array( 'label' => 'Charts','description' => '','public' => true,'show_ui' => true,'show_in_menu' => true,'capability_type' => 'post','hierarchical' => false,'rewrite' => array('slug' => '/charts/author'),'query_var' => true,'supports' => array('title','editor','trackbacks','custom-fields','comments','author',),'labels' => array (
'name' => 'Charts',
'singular_name' => 'Charts',
'menu_name' => 'Charts',
'add_new' => 'Add Charts',
),) );
while i want 'rewrite' => array('slug' => '/charts/author') to show example.com/charts/%author%/...
any idea on how to realize this?
bless jnz