Retrieving Data from MySQL and Displaying in Main Content Area
I need help in adding some content to my home page. I've set categories as the home page for my blog. Now I want to manually edit the template and show 10 popular discussions (base on views) above the list of categories. I'll be really glad if someone can guide me on how to achieve this? What query to write and how to get the data to display?