Viewing 1 replies (of 1 total)
  • Hi trevolutionary,

    Thank you for your questions. AAM is tightly integrated with WordPress core and we try to avoid any core behavior.

    I do not believe that get_the_category is the right function because as far as I know it return currently browsing category on the frontend and based on our experience it does not always return reliable result.

    Besides Page Categories is custom taxonomy so maybe that is why WordPress core does not recognize it. I would suggest to try to get post taxonomies with function get_post_taxonomies and from here get the right term.

    Best Regards,
    Vasyl

Viewing 1 replies (of 1 total)
  • The topic ‘AAM Page Category’ is closed to new replies.