Tag: file
Get All the Files from a Directory Using PHP
I was developing a WordPress site for a client who required multiple images for each of the products that they offered. Instead of uploading each one through the WP uploader,…
Making Cookies with PHP
I’ve been going nuts over the past month trying to complete a project for a large retail store and it seems like every new request they make requires me to…
Check if a Page is a Child of Another Page in WordPress
This post has been updated in “is_child() Conditional Function for WordPress”. WordPress has some default conditional tags that are really helpful when developing themes and plugins that need specific functions…
Quick & Easy Excerpt Mods Coming in WordPress 2.9
I just stumbled across these two little pieces of code and thought that they might be useful to some people out there who want to mess around with the default…
Custom Template for Single Posts in WordPress
If you take a look at the template hierarchy in WordPress, you will notice that you have the ability to create custom templates for different category pages by simply…
Remove the WordPress Generator
WordPress automatically places a line of text between your <head> tags which states the version you currently have installed. I have read that it is there for statistical reasons which…
Validate Your Web Designs
When it comes to programming and designing web sites we should all aspire to create sites that conform to current W3C standards. Luckily enough, there is a great tool available…


