WordPress.org

Forums

Cat + Tag Filter
Generating link with category + tag filter (2 posts)

  1. Xcellence IT
    Member
    Posted 2 years ago #

    I am facing a problem to generate a link on Category page (to be put in sidebar) for each category & tag combination.

    It should be generate links like current category with all tag, and I need to put it on category pages & post - single pages.

    Note that where post is associated with more than one category, I want to display links for the first category only.

    So I need to generate links like.. for category A & tag X & Y..

    site.com/?category_name=A&tag=X
    site.com/?category_name=A&tag=Y

    So, need to generate url with category & tag combination for first level of tags.

    I have no idea, how should I do this...Any idea how should I need to get it done? Any snipped to achieve the same?

    http://wordpress.org/extend/plugins/cat-tag-filter-widget/

  2. ajayver
    Member
    Plugin Author

    Posted 2 years ago #

    That's about 100 - 150 lines of unique code, there is no easy snippet to do that :(

    But it definitely can be done, because cat tag filter does the same thing - it just looks different.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Cat + Tag Filter
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic