Support » Plugins » Different Footer links based on page’s category

  • xmailr

    (@xmailr)


    I am looking to dynamically select the category of a page that generates
    content about a single category dynamically and have the category name show up in a link anchor text in the footer.
    On the Alabama page the footer links would be Alabama Lawyer
    On the Alaska page the footer link would be Alaska Lawyer
    Notice the destination is the same but the anchor test is different.

    The challenge is that all these pages are generated dynamically from the same template but each has different content specific to the category.
    So I want the links to follow suit. So I need to have the code read the category name (as the page is generated) and then stick it in the link anchor text.
    Thank you for your help in advance,
    Jeff

  • The topic ‘Different Footer links based on page’s category’ is closed to new replies.