• I have built my photography website and would like to add a page (so I aesthetically have a link on the menu car) but I need it to link to the site where my clients order their prints?

    I am using Panorama thing if that matters.

    My site is http://www.kelcostudios.com.

    Thanks,
    Kelli

Viewing 5 replies - 1 through 5 (of 5 total)
  • theres one way of doing it….but you’ll have to edit the code every time you create a new page.
    that is, just replace the menu code in your header.php file with the html code of your menu from the HTML source code of your site.
    This way you can easily add any number of links you like in your menu.

    Thread Starter kelco

    (@kelco)

    Is that the only way to do it?

    or else you’ll have to modify your menu php code.
    If you arent going to create new pages frequently then the above method is better.

    Thread Starter kelco

    (@kelco)

    Okay. Would it be too much trouble to tell what code to edit? I went to the header.php, thinking I would just change the link, but it doesn’t show the menu code on that page. I am kinda new at this so please forgive my ignorance!

    It appears your menu is being “created” by either the wp_list_pages() or the wp_page_menu() function. It is more commonly the wp_list_pages() function that will be used.

    You may need to add some “code” after the function call to add your external link to the menu. Search for “wp_list_pages” in your header.php file and add something along the lines of this:

    <?php wp_list_pages('title_li='); ?>
    <li class="page-item"><a href="www.your-picture-site.url">Print Pix</a></li>

    Without actually seeing the code behind your theme the above is just a guideline, hope it helps …

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Possible to add a page, but have it link out of site?’ is closed to new replies.