Posts Tagged ‘Php’

Array Click client code com Creating css css3 download everything file free Function google idea Images jquery line link Lt magazine name page Php piece plugin post search Sidebar site solution something Style Stylesheet tag text theme time use version way web website WordPress Wp
Oct
24
2011
vote

A Better Voting System for WordPress

I published a tutorial quite a while back called Simple Voting for WordPress with PHP and jQuery. It was not without its problems, and recently I needed to improve...

Read More

20 comments

Aug
24
2011
colorboxes_sml

Convert Hex Color to RGB using PHP

Converting certain values back and forth is often necessary when developing functions to help your website work the way you want it to. I needed a function that would...

Read More

7 comments

Jul
21
2011
numbers_sml

Count Page Hits in WordPress

This is just a little snippet of code I wrote to count the number of hits on a specific page. I only wanted it to work on single post...

Read More

7 comments

Apr
04
2011
database

Access Another Database in WordPress

When accessing the database in WordPress, you need to use the global variable $wpdb. This will take the constants you set in wp-config.php to connect to your database and...

Read More

22 comments

Mar
25
2011
post-curl

Post to a URL Using cURL and PHP

A client needed me to write a script that would collect information from their database and post it to a specific URL, just like it was being submitted by...

Read More

3 comments

Site5 Affiliate Link

Oct
18
2010
PHP Errors

Turning On PHP Errors

For security reasons, most web servers have PHP errors turned off. This makes sense on live sites since you really wouldn’t want people to see all your root paths...

Read More

0 comments

Jul
16
2010
Shorten Your Post Titles

Shorten Your Post Titles in WordPress

This is not a function that you would need to use often, but I came across a reason to use it recently and I thought it might be a...

Read More

2 comments

Jul
08
2010
WordPress Search

Excluding Pages from WordPress Search

When people visit my site and do a search, I assume they’re looking for results within my posts and not in any of my static pages. Too bad WordPress...

Read More

6 comments

Jun
22
2010
customtheme

Using get_theme_data() when Developing a Custom Theme for WordPress

If you are building a custom theme that you would like to add to the WordPress directory or start to sell online somewhere, a great function that can help...

Read More

1 comment

Jun
16
2010
php

Defining a Constant with PHP

Defining a constant in PHP can come in handy when working with a value that will be used throughout your script. What is a constant exactly? According to PHP.net,...

Read More

2 comments