Utilizing the multisite capabilities of WordPress 3.0+ can have many applications and advantages. It substantially reduces the disk space required for multiple websites running WP. It also simplifies the process of keeping your WordPress installation, themes and plugins up-to-date.
As we have installed a couple of these on our HostGator reseller account, we can safely say that the process is relatively painless. But it helps to know in advance which steps are relevant to the HostGator environment. (more…)
Filed under:
Wordpress by Troy - January 5, 2011
A client recently tried to re-acquire a domain that had lapsed and was given an asking price of $36,000 (yes, thirty six thousand!) dollars. (more…)
So you want to watermark your images, how do you do this? In this technique we’ll show you how we serve our images with a watermark using PHP. We’ll be building on the Serve Resized Images with PHP tutorial we published previously, which explains basic re-size manipulation of your images.
Stepping through the code, we first get our previously created watermark (more…)
Thematic comes with a variety of shortcodes that can be added to the footer text in the Thematic Options. We wanted to add the Admin link to the footer, but there is no predefined Thematic shortcode to do this. This technique shows how to create a custom Admin shortcode for Thematic. It is accomplished with a few lines of code in your Thematic child theme’s functions.php file. You are using a child theme, aren’t you?
First define a new function, we used thmfooter_admin_link(). (more…)
In the interest of keeping our websites “future-proof”, I began investigating using the HTML5 DOCTYPE.
As it turns out, the switch for most WordPress themes will be trivial:
- Change the doctype declaration to:
<!DOCTYPE html>
- Remove the (now defunct)
profile="..." attribute from the opening <head> tag.
- Remove the unnecessary
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> tag.
- Add the
<meta charset="utf-8"> tag.
Normally, this would be easily found in the header.php file of your theme. In fact, the default WordPress theme (‘TwentyTen‘ as of WP3) automatically uses the HTML5 doctype declaration.
Thematic, however, uses the traditional “XHTML 1.0 Transitional” doctype (more…)
One of the best all-around additions to WordPress 3.0 is custom Menu management. So how do you implement custom menus into your WordPress site? Simply add a few lines of code in your theme’s functions.php file, then add the menus where desired in your theme. Yes, it requires adding php code to your theme’s files, but it’s simple and easy to understand.
First we register the ability for your theme to use custom menus using the add_theme_support() WordPress function. (more…)