get_tags needs slug__like (it now only has name__like)

  1. mores

    you can see a number of useful parameters for the get_tags function.

    I am now setting up a speakerpool and was actually trying to create tags where the name would be <i>Italian</i> and the slug <i>language-italian</i>.
    Using the get_tag function I wanted my speakerpool to automatically generate a filter for the languages. Now I need to NAME my tags <i>Language Italian</i> then remove the "language" text.

    Would be easier with <b>slug__like</b> :)

    Posted: 10 years ago #
  2. This functionality is consistant with that of posts. Permalink slug is ALWAYS all the words. We trim it down manually. As there's no good way to fix this for all people, we have to make do with what we have for now.

    This would be a custom fix for you, scraping out what you don't need with a Trim perhaps.

    Posted: 9 years ago #

RSS feed for this topic


You must log in to post.

  • Rating

    5 Votes
  • Status

    Sorry, not right now