1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to display wordpress home page as featured items with photo?

Discussion in 'Content Management' started by charlyms21, Jan 15, 2010.

  1. #1
    Hello I tried so hard to find out how to make my home page look like this website
    http://www.harvesteating.com/ where in the home page,the post items are arranged and showed along with the picture associated with the post and if the user go to the website,they will see the post titled the various posts along with the picture.In this case it is Whole Wheat Baguettes,How To Make Cream of Tomato Soup etc being shown along with the picture.Can someone tell me what page or plugin should I add for displaying my home page like this.Thanks in advance.
     
    charlyms21, Jan 15, 2010 IP
  2. internetmarketingiq

    internetmarketingiq Well-Known Member

    Messages:
    3,552
    Likes Received:
    70
    Best Answers:
    0
    Trophy Points:
    165
    #2
    If you view the source code you can see the plugins they use.

    Brian Gardners Studio Press Themes are set up like this with the Featured Content Gallery for the main image. "Lifestyle Theme" is similar.
     
    internetmarketingiq, Jan 15, 2010 IP
  3. adsensenewb

    adsensenewb Peon

    Messages:
    129
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Customizing your home page is easy. Simply create a template page called home.php, and Wordpress, according to the template heirarchy, will check to see if such a page exists. If it does, it will use whatever HTML + PHP + even a different CSS template, if you so choose.

    http://codex.wordpress.org/File:Template_Hierarchy.png

    If it does not exist, it will use whatever stuff is found in the index.php template page.

    Once you create a home.php page, you can use regular HTML/CSS to do any visual layout you want. If you want more dynamic features, I would start learning more about the use of custom fields, as well as functions like query_post & conditional tags, which you can use to selectively display content.

    For example, when you make posts, you could add a custom field called "homepage" to it. Instead of a standard loop, you could use a function like query_post to say "Display only the posts and/or pages that have the custom field value "homepage". Conditional tags add even more flexibility.

    Here's some reading to get you started. :)

    http://www.smashingmagazine.com/2009/05/13/10-custom-fields-hacks-for-wordpress/
    http://www.smashingmagazine.com/2009/06/10/10-useful-wordpress-loop-hacks/
    http://www.smashingmagazine.com/2009/04/15/10-exceptional-wordpress-hacks/

    http://codex.wordpress.org/Template_Tags/query_posts
    http://codex.wordpress.org/Conditional_Tags
     
    adsensenewb, Jan 16, 2010 IP
  4. charlyms21

    charlyms21 Peon

    Messages:
    178
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I checked that website,it seems like I am seeing a teaser box.Can you explain to me what is a teaser box?Between can I customize my home page irrespective of what the template is.The problem for me is the teaser box is not showing any option even if I tried selecting it.
     
    charlyms21, Jan 17, 2010 IP
  5. smub

    smub Notable Member

    Messages:
    3,443
    Likes Received:
    375
    Best Answers:
    0
    Trophy Points:
    230
    #5

    I think you made this post twice, check my reply in WordPress category post.
     
    smub, Jan 17, 2010 IP