Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
244 views
in Plugins by
I want to display related tags for every tag in "Tag" Page.

Let me explain:

Assume page is for Tag X. This might have have 10 questions and each of the 10 will have tags associated with that question. I want to display all the tags related to tagX on the tag page for tag X

If I have to develop a plugin, then it is fine. Request those already very comfortable with the system to give me broad directions: Should I start with related widget (though currently does not work on tag page) as that seems to be doing very similar job or is there a better way
Q2A version: 1.5.2

1 Answer

0 votes
by

Yes, this is a job for a plugin. You should retrieve (say) the more recent 100 questions which have the tag, then summarize the other tags those questions have. The functions qa_db_tag_recent_qs_selectspec(...) in qa-db-selects.php will be helpful for you, since it retrieves those questions. Use it as a parameter to qa_db_select_with_pending(...)

...