Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
816 views
in Q2A Core by
Hi

how can i get the current page or post category name or id?

Regards
Q2A version: 1.5.4

1 Answer

+3 votes
by
selected by
 
Best answer

current question category name you can get with this code $q_view['where']['data']

This should be in q_view_main() method

by
This gets the html, path and all. Any way to get just id or name?
...