Help with making a change in widget.php
I have posted my widget.php below. Can someone please tell me what I need to modify to change the number of recent posts that show up in my sidebar. I see the widget icon for recent posts in the Design area, but it does not allow editing like the other widgets when you click on it.
Currently I have 5 posts that are showing in the sidebar. I read a post that said to go to an area of code that said something like wp_widget_recent_entries and look for else if ( $number > 15 )
$number = 15;
I am confused about what to change, since I don’t have 15 posts showing. I did see the number 5 in a few spots near the same area, but I am not sure if that is what I need to be changing.
Any help would be appreciated,
[code moderated – please post in a pastebin and report the link back here]
- The topic ‘Help with making a change in widget.php’ is closed to new replies.