Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #642

    How do you add more “latest news” on the homepage. Currently it displays three items.

    #32294

    Open up sidebar.php and find this code:

    #constructor, change variables here
    function kriesi_list_post_items()
    {
    $this->showposts = 3;
    $this->list_class_name = "latest_news";
    $this->split_post_at = 400;
    }

    Change the 3 here to change the number of posts which show up:

    $this->showposts = 3;

    #32295

    I do not see ANY of this code anywhere in sidebar.php…

    #constructor, change variables here

    function kriesi_list_post_items()

    {

    $this->showposts = 3;

    $this->list_class_name = “latest_news”;

    $this->split_post_at = 400;

    }

    #32296

    James, I found the code in “functions.php” … thank you.

    #32297

    Hi!

    Sorry, referenced the wrong file…

    Had them both open and got mixed up, I’m glad you found the right place!

    Best regards,

    James

    #32298

    Hi there,

    I went ahead and changed this code to “6″ but “3″ are still showing up.

    Is there something else that i may need to change?

    toomanycommas.com/test

    Thanks in advance.

    #32299

    nevermind, it would help if there were more than 3 blog entries.

    sorry :)

    #32300

    Glad that you solved your problems…

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Latest News on homepage’ is closed to new replies.