WordPress.org

Ready to get started?Download WordPress

Forums

Viewing Pages in 1.3a5 (8 posts)

  1. ryker
    Member
    Posted 9 years ago #

    I've created a new page using the new pages feature in 1.3. I can't figure out how to get a link to the page to display on my main page. It doesn't show automatically like a post does. I've searched the forums and can't find any info on it. If this is common knowledge for WP users, please go easy on me. I'm a WP newbie. :)
    Thanks.

  2. ryker
    Member
    Posted 9 years ago #

    I added a link on the front page. I clicked on manage and then pages. Then I clicked on view. I copied the URL and then pasted in a web link in a section I created called Articles.
    Is this the way that I am supposed to do this or is there a more straight forward way (not that it was difficult to do).

  3. Mark (podz)
    Support Maven
    Posted 9 years ago #

    I think there's a 'wp_list_pages' function ?

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    <li id="mypages">My Pages

      <?php wp_list_pages(); ?>

  5. That'll keep it all looking good :)

  • ryker
    Member
    Posted 9 years ago #

    I tried your suggestion, but it just shows the the line of php code. I assume that I need to find a plugin that allows wordpress to run inline php code. Is this correct?

  • Ryan Duff
    Member
    Posted 9 years ago #

    where did you put the line of code? you should have put it in the menu section of your index.php file, sounds like you put it in a post.

  • ryker
    Member
    Posted 9 years ago #

    Your right. I did put it in a post. I don't know what I was thinking. Works great in index.php of course. Thank You.
    How did you find out about wp_list_pages function? Is there an up to date resource with the functions for 1.3?

  • melyviz
    Member
    Posted 9 years ago #

    if you want to link a page from your post, you should check the page's ID (in the manage menu), and create a link like this:
    http://yourhost.com/index.php?page_id=X

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.