How do you add more "latest news" on the homepage. Currently it displays three items.
Latest News on homepage
8 posts from 4 voices-
Posted 2 years ago #
-
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;Posted 2 years ago # -
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;
}Posted 2 years ago # -
James, I found the code in "functions.php" ... thank you.
Posted 2 years ago # -
Hi!
Sorry, referenced the wrong file...
Had them both open and got mixed up, I'm glad you found the right place!
Best regards,
JamesPosted 2 years ago # -
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.
Posted 2 years ago # -
nevermind, it would help if there were more than 3 blog entries.
sorry :)
Posted 2 years ago # -
Glad that you solved your problems...
Posted 2 years ago #
Reply
You must log in to post.














