Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #1613205
No parent category, only child
Closed

Comments

  • Jem7 started the conversation

    Hi there,

    When I started my site I removed through permalink settings on WP the %category% stuff, so my URLs now are mysite.zz/article_title.

    Now I'm adding some stuff on the site and I'd like to show a category, but only the subcategories.

    I.e.:  NOT mysite.zz/food/pastas/article_title

    BUT mysite.zz/pastas/article_title

    I tried (since I'm using the child theme) several options (codes, plugins, settings...) but in the end either I show all the categories, or I show none.

    Is there a way to have only the subcategories shown in the url, when they're needed, please?

    Thanks!

    Luca

  •  2,700
    PenciDesign replied

    Hi,

    Unfortunately, there is no way to do that because wordpress get parent categories data based on the url

    Best Regards,

    PenciDesign