• Hello,

    Thank you for Smarter Navigation. It’s been incredibly helpful.

    I’m getting an unexpected return from get_referrer_category() on a single page. It’s returning the page url slug (eg. all-about-grant-podcasts) where I was expecting the referring category (“Clinical Trial Planning”). The referrer_link() is returning the correct link.

    A couple things worth mentioning – the referrer is a custom taxonomy and I’m using the Roots theme. If you have any suggestions or pointers how to get the referrer custom taxonomy name, I’d really appreciate it.

    Best,
    Jeff

    https://wordpress.org/plugins/smarter-navigation/

Viewing 1 replies (of 1 total)
  • Thread Starter jefffassnacht

    (@jefffassnacht)

    Something else worth mentioning. Referrer_link() returns the correct link, but it concatenates the link text together in a way I wouldn’t expect. The link text reads like this:
    [taxonomy type] » [term name][site name]

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Smarter Navigation] get_referrer_category() is returning page slug’ is closed to new replies.