• HellO!

    Got my site running on my computer and making a homepage for a friend and the site has, to the right, a navigationbar where pages and subpages are displayed for easy axess. The problem I need help with is that I need one of the subpages to be shown under two pages in that meny. I can of course, and that′s done put it as a subpage for one of them by the pulldownlist to the right in the adminpanel. But now what? how do I get this subpage to be a subpage to anther page? Im a total noob so having been looking around the files and code gets me nowhere ??

    Help please!!

    Thanks in advance!

    Dave

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi

    WordPress does not allow a child page to have two parent pages. If you are using a WordPress function, like wp_list_pages, to create that nav, you can’t do what you want to do. You will have to supplement the auto-generated nav with some code you add.

    Thread Starter dangerousdave

    (@dangerousdave)

    Thanks for replying! You dont have any idea what kind of code I need? Otherwise I was thinking of just doing two pages with the same name and the same content, to make things easier : )

    Dave

    Your example is not clear enough to know what you are after, to be able to offer a code suggestion.

    If this page is online, you can post your URL and point out the exact case you are having trouble with, and what you would instead like to be happening.

    Thread Starter dangerousdave

    (@dangerousdave)

    Ah sorry, It′s not online yet. Still working hard to design it on my laptop. But I going to do this: for now there is two pages instead of one. When I go online I′ll come back and link and then we′ll see what can be done!

    Thanks for taking the time to reply!

    Dave

    Hiya.
    You need this plugin:
    Improved Include Page

    then all you do is the following:
    Say you have created a page with an ID of 6 called “cottage” with a parent A, and you want that same page to appear on another place as well with parent B, you just make a new page called “cottage” under parent B and instead of putting content in, you use the following shortcode:
    [include-page id=”6″]
    So then if you update the content on the original page, it is updated on the new one as well.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Need help with SubPage to be linked in two places’ is closed to new replies.