Forums

[resolved] Creating Links to Pages (3 posts)

  1. boblan66
    Member
    Posted 2 years ago #

    I am quite versed in creating webpages and using CSS. However this is my first attempt at creating a CMS site using WordPress. When creating a link to a page on the web, you use the page name. Do you do the same thing here?

    Can you create an include file and link it to a post or page?

    All logic tells me yes, but I had some funny things happen when I attempted to do it.

    Thanks...
    Bob... :-)

  2. syncbox
    Member
    Posted 2 years ago #

    use the wp_list_pages() function, and the include=n parameter where n=the post id of the page

    You can read about it here:

    http://codex.wordpress.org/wp_list_pages

    hope that helps.

  3. boblan66
    Member
    Posted 2 years ago #

    Thanks for the heads up.

    Bob...

Topic Closed

This topic has been closed to new replies.

About this Topic