[ Tag Archive ]
Securing Your Site’s Directories
If you store files or images in a folder called “images”, and people enter www.yoursite.com/images as a URL, they will see a list of all the files you have in that directory. A quick way to solve this is to create an empty index.html or index.php file and upload it to the directory. This will load an empty page instead of showing a content list.
How to List Your Most Popular Posts in WordPress
I decided my sidebar was looking a little plain. It needed something more than just ads, so I placed a list of my popular posts there. I think it looks pretty cool and it was very simple to do. I just created a PHP function and added it to my functions.php files and then added some styles to get it to look the way I wanted.
How to Widgetize your WordPress sidebar
WordPress widgets are great. They have tons of amazing functions and are extremely easy to use. The only problem is that not all themes support them. But that is a problem that is very easily solved with just a little bit of coding.
Using Bloginfo to Build a Custom Theme for WordPress
When you build a custom theme in WordPress that you would eventually like to share with the WordPress community, you can’t hard code certain elements like the blog’s name or images links. I know most coders use things like <a href="../link.php"> or <a href="images/pic.jpg"> but those might not work properly if your WordPress install is not in the root directory or if you are on a category page.
Getting Text in your WordPress Search Box
Have you ever wondered how some sites have text in their search box? This one is pretty easy. All you need to do is modify the searchform.php file, which can be found in your theme’s directory. Let’s use the default theme as an example to make it easier for everyone to see what to do.





