How can i load a page content in Wp to my Homepage?

Discussion in 'WordPress' started by mrmax, May 16, 2012.

  1. #1
    How can i insert a page content to my Home Page in WP,
    this is the function: get_page ; but i dont know how can i use it, it does not work for me.
    Please help me.
    thanks
     
    mrmax, May 16, 2012 IP
  2. Smartyy

    Smartyy Peon

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    explain it plz..so i can help you
     
    Smartyy, May 16, 2012 IP
  3. kiramanic

    kiramanic Peon

    Messages:
    205
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Sharing your problematic code would be very helpful.
     
    kiramanic, May 16, 2012 IP
  4. mrmax

    mrmax Well-Known Member

    Messages:
    389
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    140
    #4
    i found it, here is the code:
    <?php get_page_data(); ?>
     
    mrmax, May 16, 2012 IP
  5. raoraj

    raoraj Well-Known Member

    Messages:
    849
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #5
    goto Dashbord > Settings > Readings
    and Select "a Static Page"
    and choose the page/post you want to display on homepage.
     
    raoraj, May 17, 2012 IP