Support » Plugin: Slim SEO - Fast & Automated WordPress SEO Plugin » Post type slug missing in breadcrumb…

  • Resolved jotajoe

    (@jotajoe)


    Hello Anh,
    Slim SEO is great. I have a question/problem though regarding the breadcrumbs.

    My custom post type permastructure is %post_type%/%taxonomy%/%post_type_post%.
    Example: single cpt url: https://domain.com/movies/action/terminator-3, but the breadcrumbs output is: home>action>terminator-3. The post type slug is missing. I would like it to reflect the full url: home>movies>action>terminator-3.

    But I cant find how to do it…

    On the cpt archive page https://domain.com/movies/ it shows: home>movies.

    Thanks a lot!

Viewing 1 replies (of 1 total)
  • Plugin Author Anh Tran

    (@rilwis)

    Hi,

    For custom post types (CPT), the breadcrumb structure is always as below, regardless your permalink structure:

    – Homepage
    – CPT archive
    – If the post type is hierarchical, then display its parent posts
    – If specify the “taxonomy” parameter, then display its terms (hierarchical)

    In your case, if you set the “taxonomy” parameter to “genre” (I guess), then it should show:

    Home > Movies > Action > Terminator 3.

    Also make sure your post type enables the archive page (parameter “has_archive” set to “true”).

Viewing 1 replies (of 1 total)
  • The topic ‘Post type slug missing in breadcrumb…’ is closed to new replies.