WordPress.org

Ready to get started?Download WordPress

Forums

Showing More Posts On My Blog Homepage (6 posts)

  1. robobobo100
    Member
    Posted 4 years ago #

    Hey Guys,

    On my blog Techinfo-4u Its only showing the 5 most recent posts on my homepage. As a result my homepage is fairly short.

    Ideally I'd like to have 10 or so, making my homepage longer.
    I'm using the Arthemia theme and it's perfect apart from this and the small issue that the middle widget in the footer shows Most commented whether i want it to or not! I have nothing in that space in my widgets and it still shows up, If i add something to that widget space though it goes away and is replaced with what i want. Anyone know how i can stop it showing up when there is nothing their? I have tried changing pieces of code in the footer but got nowhere

    Thanks and the first problem is my main priority

    Thanks again

  2. Peter Boosten
    Member
    Posted 4 years ago #

    -Admin Panel-, -Settings-, -Reading-,

    'Blog pages show at most' [insert your number of posts here] posts

    Peter

  3. kiano.ro
    Member
    Posted 4 years ago #

    default you have 10 posts on your home page. if your default is set to 10 and you don't show this much it means that your theme doesn't allow you to.

  4. robobobo100
    Member
    Posted 4 years ago #

    Yes it is set to 10 as default, there must be some way to edit the theme to show more, it just looks silly so short,

  5. yzzy
    Member
    Posted 4 years ago #

    Did you figure this out because I can't have more either and it isn't ruled by the:

    -Admin Panel-, -Settings-, -Reading-,

    'Blog pages show at most' [insert your number of posts here] posts

    I've tried!

  6. yzzy
    Member
    Posted 4 years ago #

    Ok I'm back with teh solution... had a good hunt around and fixed it.

    If you are using the ARTHEMIA theme then this is for you.

    The theme is set to only show 5 posts on the home page. You can change this by going to:

    themes>Arthemia>Index.php

    Find Line 74:

    `<?php
    $page = (get_query_var('paged')) ? get_query_var('paged') : 1;
    query_posts("cat=-1,-12,-16,-27,-28&paged=$page&posts_per_page=5"); ?>`

    Where is says: posts_per_page=5..... change the 5 to whatever you want!

    REMEMEBER to keep a back-up of the original file before you fiddle!

Topic Closed

This topic has been closed to new replies.

About this Topic