Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other WP-Trying to pull page excerpts onto my front page

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #28362
    godonholiday
    Member

    Hi all, I am trying to pull 3 page excerpts onto my front page.
    I have been directed down the array road but I am not getting any results.
    I didnt think it would be so hard to pull data from a page?
    This is the code I have so far:
    http://wordpress.pastebin.com/fpTPYdPH

    #61666
    godonholiday
    Member

    I am close to a solution if anyone is interested. I have got this far:

    
    'post_type' => 'page',
    'post__in' => array( 2, 5, 12 )
    );
    query_posts( $args ); ?>


  • " class="articletitlepic" alt="" align="left" />

    ">


  • #61648
    jamygolden
    Member

    What is still the problem?

    #61534
    godonholiday
    Member

    Now the title is not a link, well it works as a link but is not an a style link, it just uses a span and none of my rollovers work?

    #61468
    jamygolden
    Member

    I can’t see a problem, but just incase, try this working example of my h2 tag:

    " title="" rel="bookmark">

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Other’ is closed to new topics and replies.