Custom Type Permalinks
-
Hey all,
Backend custom types seem to work great but for some reason I can’t see them on my front end. When I goto /qualification/a-level-courses/ i get a ‘Not Found
Apologies, but the page you requested could not be found. Perhaps searching will help.’I have been to permalinks and resaved just incase it was a rewrite issue.
Also if i goto /a-level/courses it will redirect me to /qualification/a-level-courses so something seems to be working!
I’m defining it like this:
// Qualification $qualification_labels = array( 'name' => _x('Qualifications', 'post type general name'), 'singular_name' => _x('Qualification', 'post type singular name'), 'add_new' => _x('Add New', 'qualification'), 'add_new_item' => __('Add New Qualification'), 'edit_item' => __('Edit Qualification'), 'new_item' => __('New Qualification'), 'view_item' => __('View Qualification'), 'search_items' => __('Search Qualification'), 'not_found' => __('No qualifications found'), 'not_found_in_trash' => __('No qualifications found in Trash'), 'parent_item_colon' => '' ); register_post_type('qualification', array( 'labels' => $qualification_labels, 'singular_label' => __('Qualification'), 'public' => true, 'show_ui' => true, '_builtin' => false, '_edit_link' => 'post.php?post=%d', 'capability_type' => 'post', 'hierarchical' => true, 'rewrite' => array('slug'=>'qualification', 'with_front' => false ), 'query_var' => $base_slug, //'taxonomies' => array('skill','industry'), 'supports' => array('title') ));
It’s also in the CORE site of a wp3 multi-site (i am not using the subsites yet)
Any ideas?
Thanks!
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Custom Type Permalinks’ is closed to new replies.