1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Get Tags specific to Category

Discussion in 'Content Management' started by nataliarocon, Oct 10, 2009.

  1. #1
    I've noticed there is no native way to retrieve tags based on the category. I've seen a few plugins that do something similar but don't this.

    There have also been been a few snippets posted that kinda do it but either show duplicates of tags, or seem too labor intensive.

    In short has anyone done a db query as follows:

    select category
    from category select posts
    from posts select post tags
    make array of unique post tags (id, name, slug)

    I've started playing with the query function but as I'm learning and shooting in dark.

    Any help, even a quick tut on how to run a query would be helpful.
     
    nataliarocon, Oct 10, 2009 IP