Toro_Unit (Hiroshi Urabe)
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Post Type Permalinks] Single Post 404sFor now, please install debug bar. And please visit the category page or single page.
And, please tell me the value of the “Matched Rewrite Rule”, “Matched Rewrite Query”.
Forum: Plugins
In reply to: [Custom Post Type Permalinks] Single Post 404sOK.
Please Regenerate rewrite rules. Click Save in wp-admin/options-permalink.php.
After Regenerate rewrite rules,
if /work/category/acting/ 404, register_taxonomy before _register_post_type.Forum: Plugins
In reply to: [Custom Post Type Permalinks] Single Post 404sPlease tell me default permalink setting.
Forum: Plugins
In reply to: [Custom Post Type Permalinks] Single Post 404sSame word cannot be used in slug.
So, Should change $argument[“rewrite”][“slug”].register_taxonomy( 'work-category', 'work', array( 'label' => __( 'Work Categories' ), 'rewrite' => array( 'slug' => 'work/category' ), 'hierarchical' => true, 'show_ui' => true, 'show_admin_column' => true ) );
Forum: Plugins
In reply to: [Custom Post Type Permalinks] Single Post 404sShould not use same slug of post type and taxonomy.
If use same slug.
/work/foo-title/ /work/foo-term/
can not determine whether foo-title or foo-term is post-name or term-slug.
So, should set slug work-category to such as work/category.
Please Check to exsist /wp-content/plugins/custom-post-type-permalinks/CPTP/Module/Option.php.
if re-installed plugin, the problem occurs?
Can not override register_post_type arguments.
You should propose a filter hook to the author of the theme.
Forum: Plugins
In reply to: [Custom Post Type Permalinks] Undefined property: CPTP_Module_PermalinkSorry, Fixed Development version.
Please wait a little.I think that it is not good to set priorities to 0.
So, I’m going to add functionality that can override the settings.
Forum: Plugins
In reply to: [Custom Post Type Permalinks] 3rd level custom taxonomy not included in URLThanks feedback.
Please show me register_post_type and register_taxonomy setting code.Forum: Hacks
In reply to: Custom Post Type Permalink Structureset “rewrite” => array(“with_front” => false) in arguments of register_post_type.
register_post_type(" post_type_name", array( "rewrite" => array( "with_front" => false) ));
Forum: Plugins
In reply to: [Custom Post Type Permalinks] 3rd level custom taxonomy not included in URLThe hierarchial taxonomy fix doesn’t support %category%.
%category% use wordpress default code.If use %category%, please remove check parent category from your post.
Forum: Plugins
In reply to: [Custom Post Type Permalinks] 3rd level custom taxonomy not included in URLfixed 0.9.6
Forum: Plugins
In reply to: [Custom Post Type Permalinks] Register the structure in codeGood idea!
Support in future release.Once, it is possible to implement it by
add_filter('option_'. $post_type .'_structure ');
Forum: Plugins
In reply to: [Custom Post Type Permalinks] Add /blog/ to only the blog post URLsset arguments[“with_front”] of register_post_type to false.