- Posts: 1
- Thank you received: 0
Return current category in search results page
- semmerket
- Topic Author
- Offline
- New Member
-
Less
More
7 years 4 months ago #2629
by semmerket
Return current category in search results page was created by semmerket
Hi,
How can I return the current category in search results page? I have already tried to call the category in php but it doesn´t work. I need to put the current category in the search results page title.
Thanks.
How can I return the current category in search results page? I have already tried to call the category in php but it doesn´t work. I need to put the current category in the search results page title.
Thanks.
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
-
Less
More
- Posts: 1122
- Thank you received: 163
7 years 4 months ago #2630
by andrea_4g
Replied by andrea_4g on topic Return current category in search results page
'Category' is not a property of a set of results. Each result item can potentially belong to a different category.
Also a result item may belong to more /nested/ categories (category > sub_category 1 > sub_category_2 > ... > item ).
I first need to understand which category you want to add to the page title.
Also a result item may belong to more /nested/ categories (category > sub_category 1 > sub_category_2 > ... > item ).
I first need to understand which category you want to add to the page title.
Please Log in or Create an account to join the conversation.
Time to create page: 0.125 seconds