Web Design that taps into the haromny and vision of your dreams.

PHP

The scripting language of choice for most web designers. It’s free, easy to learn and above all there are many thousands of scripts and packages that you can run (also free!). These articles feature code snippets, tips and techniques and full scripts to help you advance your PHP powered website.

26Jan2009
WordPress has a nice feature that converts the standard quotes ( " ) to pretty "curly quotes" or "smart quotes" as they are called. This is all well and good on a textual blog, but when it comes to programming code, it can be a real pain in the proverbials.
Removing Smart Quotes from WordPress Posts

 

 

24Jan2009
The WordPress template tag the_excerpt and get_the_excerpt are great for showing a short summary of a post, in fact, this paragraph is the excerpt for this post.
Wordpress Get the Excerpt Outside the Loop

 

 

24Jan2009
This quick PHP snippet will return the first sentence of a specified string. Very useful for generating post or page abstracts, extracts or descriptions.
Get First Sentence from a String in PHP

 

24Jan2009
Wordpress 2.7 introduced paged comments out the box, however, you will probably be wanting to prevent search engines from indexing these pages to prevent duplicate content. You may also just wish to determine if a user is viewing a paged comments.
How to Determine Paged Comments in WordPress 2.7

 

24Jan2009
We all know that it is good to have links posts and categories throughout your site, but maintaining hard coded links can be a pain, especially when things like permalink structure or domain name change. These two functions will allow you to create flexible dynamic links in your posts or pages.
Creating Links to Posts and Categories in WordPress

 

24Jan2009
This is a collection of extremely useful functions for working with Wordpress categories. Get parent category, and detect if current category is a subcategory or child category of the specified.
Useful Wordpress Category Functions

 

Copyright © 2001-2018 Tim Trott, all rights reserved. Web Design by Azulia Designs

This web page is licensed for your personal, private, non-commercial use only.

Disclaimer, Privacy & LegalSitemapContact Me