WordPress usually use a constant number of posts for all your category pages, index, and also search results pages. For search pages, 10 posts are not usually enough. To change this behavior, a simple query filter will do the trick.
I showed you how to use widgets using the_widget in your php templates before. Upon request, I am going to show you how to use WordPress RSS Widget with the help of WordPress the_widget function.
Random posts can be a great opportunity to generate hits for older content. Especially for gaming and portfolio sites this snippet will be great use. Here is how to set it up for your theme.
One of my visitors asked me how to get page id using page slug and I created a small snippet to easily achieve this in a simple loop. Follow read more link to see the snippet.