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.

wordpress home page help

Discussion in 'WordPress' started by babu21, Aug 11, 2012.

  1. #1
    I need help about wordpress home page content. How to load contents depends on a category? I need help.
     
    babu21, Aug 11, 2012 IP
  2. damian_p

    damian_p Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Your question doesn't say much. Please be more specific. If you want it to display only content from a specific category, then create a template file in which only that category is being displayed and use that template as your homepage.
     
    damian_p, Aug 11, 2012 IP
  3. superrichguy

    superrichguy Well-Known Member

    Messages:
    2,225
    Likes Received:
    78
    Best Answers:
    0
    Trophy Points:
    195
    #3
    I am not quite sure what you mean? What theme are you using?
     
    superrichguy, Aug 14, 2012 IP
  4. ashishkg

    ashishkg Active Member

    Messages:
    233
    Likes Received:
    8
    Best Answers:
    3
    Trophy Points:
    68
    #4
    Hello,

    This will help you...

    <?php query_posts('category_name="Cat NAME"&showposts=10'); ?>
    <?php while (have_posts()) : the_post(); ?>
    <?php the_title(); ?>
    <?php endwhile;?>

    Thanks
     
    ashishkg, Aug 15, 2012 IP
  5. nufox

    nufox Peon

    Messages:
    749
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Or you can use a wordpress category plugin?
     
    nufox, Aug 17, 2012 IP
  6. affilorama

    affilorama Active Member

    Messages:
    1,896
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    80
    #6
    Do you mean how to add categories to the sidebar and assign articles under a category? If so, then you can go to the Post Editor, look to the right sidebar, there should be a category box there. If there is none, then click on the Sreen Options drop–down menu on top of the Wordpress Dashboard and make sure the Category box is ticked. Get back to the Post Editor and you will see a Category box on the right sidebar. You can add categories there as well as tick the category the current article you are writing will be added.

    The categories can be displayed usually through a widget. This would depend on the theme you are using and how it displays categories. Check your theme's settings.

    Hope that helps. Have a good day!
     
    affilorama, Aug 17, 2012 IP
  7. vaayaaedu

    vaayaaedu Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    There are many plugins available to achieve this.
     
    vaayaaedu, Aug 17, 2012 IP
  8. vaayaaedu

    vaayaaedu Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    create index.php and get the content that you want to display. Category pages are different. This will make your home page according to your requirement.
     
    vaayaaedu, Aug 17, 2012 IP
  9. anupamrekha

    anupamrekha Banned

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    Digital Goods:
    7
    #9
    Hi,
    If you are using wordpress as a CMS then you can check in settings-reading which page is set as home page.

    After that you can go to pages and edit that particular page.


    If you are using wordpress as a blog then you can use a plugin like sticky post which allows you to make a page sticky i.e stay on home page.
     
    anupamrekha, Aug 18, 2012 IP