Return current category in search results page

  • semmerket
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 4 months ago #2629 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.

Please Log in or Create an account to join the conversation.

More
6 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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.149 seconds