Support » Plugin: Custom Post Type Permalinks » [Custom Post Type Permalinks] possible to use a term slug?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi nadine00!

    Thank you for using my plugin.

    If taxomomy’s slug or name is tax,
    %{custom_taxonomy_slug}% is %tax%. %tax% is replaced by the taxonomy’s term.

    The permalink structure is /posttype/%taxonomy%/%postname%/

    then URL is siteurl.com/posttype/termslug/postname/

    Sorry, but The Documentation is in the make and will be up soon.

    thanks

    Toro_Unit

    Hello Toro_Unit.

    Maybe i’m missing something but i when i register a taxonomy like this:

    register_taxonomy('work_category', 'work', array(
    	'label' => __('Categories'),
    	'rewrite' => array('slug' => 'mycustomslug'),
    	'hierarchical' => true
    ));

    Your plugin seems to await Urls like this:
    example.org/work/work_category/mycategory/
    While WordPress (using get_term_link($mycategoryID)) is generating this url:
    example.org/work/mycustomslug/mycategory/

    Im using “/%work_category%/%postname%/” as structure.

    If you agree you might take a look at my patch: http://dl.dropbox.com/u/5439509/taxonomy_slug.diff
    Maybe i misunderstood your tutorial – I really would appreciate a hint from you then 😉

    Thanks for this awesome plugin!

    Thanks for patch!
    The fix add in next version.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Custom Post Type Permalinks] possible to use a term slug?’ is closed to new replies.