Support » Fixing WordPress » "get_page_link" going to wrong place

  • johndove523

    (@johndove523)


    Hi,

    I’m setting up a new page template that I want the “2013 Critterball Best in Show” logo to go to http://caspca.org/2013-critterball/ – or page ID #2295

    I’ve got:

    <h1 id="cb_logo">
        <a href="<?php get_page_link($id=2295); ?>/" title="2013 Critter Ball Homepage"</a>
    </h1>

    Instead of linking to the critterball home page, it’s linking to the home home page (http://caspca.org) and (related, I think) all the text on the page is also a link to the same place (text should not be linked). Can someone please straighten me out here?

    Thanks,

    John

  • The topic ‘"get_page_link" going to wrong place’ is closed to new replies.