• I’m totally new to WordPress, but have this question. I would like the menu on the left side of the page to contain links. BUT I want these links to open in the center area of my wordpress site. Here’s the URL:
    http://countrysignatures.lightshines.net/wordpress

    For example, the link on the left for TOU. It works, but opens in a new page. I would like it to open in the center are of the site and the pages on the right do. I edit the left menu by editing the menu.php file.

    Any help?

    Thank you!

Viewing 12 replies - 1 through 12 (of 12 total)
  • You will need frames or iframes to achieve this. It would be complicated. The better thing to do is an embedment of the pages in WordPress. Make them blog items and treat them as such.

    Thread Starter sherie

    (@sherie)

    OK, so make them like the pages I already have on the right sidebar? That’s fine, but how do I link them from the left sidebar, on the menu.php page? Is there a way to link a particular blog page? Say page 11?

    Thanks!

    When you create an item in WordPress, you can view it and grab the address from your browser’s address bar. In principle, you could plug-in any address you wish and it will correspond to a certain — shall we say — ‘view’ of the entries that you have. All items from a month, category, or even page 7 of the reverse-chronological entries view.

    Thread Starter sherie

    (@sherie)

    OK, that worked great! Now one last question for you please. I made the TOU a page, grabbed the link and entered it on my menu.php page. It’s working fine now.

    BUT, the TOU page is also showing up on the right sidebar where all my other pages are. I do not want that link there. Is there a way to keep the page but not have it show up on the right sidebar?

    Thank you for all your help, it is very appreciated!

    Making the link unavailable does not make a page disappear. It might make it inaccessible, an island, a page not to be crawled by search engines. Whether you should remove it is up to you. Less Google juice perhaps…

    http://en.wikipedia.org/wiki/Google_juice

    Thread Starter sherie

    (@sherie)

    Can I make it unavailable so that it does not show up on the right sidebar? But I will still have the link and can link it from the other sidebar…. Sorry to be such a newbie!

    You should not have changed menu.php. I urge you to use the link management tool, which acts as a ‘black box’, in the WordPress dashboard. It also enables you to control link visibility, just in case you occasionally swap/rotate.

    Thread Starter sherie

    (@sherie)

    Well, I guess I just don’t have enough knowledge yet. I have tried using putting in new link categories as you say. But they are all on the right side of the page, on the right sidebar. I want this information to be on the left sidebar. Maybe this is impossible??? The menu.php page is where the left sidebar information is and that’s they only way I can see to edit it.

    Thanks for trying to help.

    schestowitz, why are you overcomplicating a simple thing like using the exclude parameter in the Template_Tags/wp_list_pages?
    Sherie, follow the link above, see the template tag, then open your sidebar file and add the exclude parameter with the page ID#’s you want to exclude.

    Edit. LIsting the Pages has nothing to do with other links… hah, “knowledge”…

    Thread Starter sherie

    (@sherie)

    The link is not working for me right now, but I’ll keep trying it. So, this parameter will keep the link from showing up on the right sidebar?? That’s EXACTLY what I want/need. Thank you!

    Yes, the Codex seem to be dow, sorry.
    In your sidebar.php or whatever is displaying that right side thing… there is a code like:
    <ul>
    <?php wp_list_pages('title_li='); ?>
    </ul>

    Make it
    <ul>
    <?php wp_list_pages('exclude=XX,YY&title_li='); ?>
    </ul>

    where XX and YY are the page_id #s

    Thread Starter sherie

    (@sherie)

    YES!!! That worked perfectly! Thank you so much moshu. I have a number of pages I need to do this with. I really appreciate your help!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Links on menu.php’ is closed to new replies.