• Resolved bluegum

    (@bluegum)


    My client has a one page website, so I have created this code (this code only represents one section for the pages):

    $latestedition_page_post_id = 40;
     $latestedition_page_post = get_post( $latestedition_page_post_id, ARRAY_A );
    $content_latestedition = $latestedition_page_post['post_content'];
    echo $content_latestedition;

    Please tell me if I have about five pages, which I have had to create in WordPress itself, how can I link to those pages to be displayed in page.php? Thanks in advance.

Viewing 16 replies (of 16 total)
  • yeah you can place that code in index.php and edit the page.php to suit your needs. It depends how you want to set it all up.

Viewing 16 replies (of 16 total)
  • The topic ‘Showing multiple pages in the page.php, finding the link’ is closed to new replies.