Technology Insights

WordPress: Getting WP Super Cache to Work With WordPress PDA & iPhone

I struggled with getting WP Super Cache in full caching mode to work with a mobile device plugin such as WordPress PDA & iPhone for a long time. Awhile back I actually had given up because everything I was doing appeared that it should work but it wasn’t working properly. Needless to say I recently moved the site to a new server and decided to give it another shot. This time I was able to get WP Super Cache working with WordPress PDA and iPhone with ease.

Please realize that this method makes it so all of the mobile browsers do not cache┬ápages but they also do not retrieve pages from the cache. To configure the below properly you have to realize that there are two different things happening which are the fact that mobile browsers should not cache files and they should not read from the cache. Basically if they didn’t cache files but read from the cache they would be reading the cache of the default template that you see in IE. If mobile browsers cached files then they would be caching the mobile template so when typical browsers such as Internet Explorer or Firefox visited the same pages they would be viewing the mobile cache instead of the default template you have configure.

Technology Insights

WordPress Not Sending Mail After Moving Site to a New Server

There could be a couple issues causing WordPress to not send mail however in a server move the most likely is that the previous server was using Sendmail and the new server is using a different mail server like Postfix or vice versa. There also are a couple ways to resolve the issue and I will explain each method below however I recommend installing a WordPress Add-on to resolve the issue versus modifying a core WordPress file that could inadvertently be overwritten in the future.

The two ways which are described in detail to resolve this issue are to either install the WP-Mail-SMTP WordPress plugin or to modify the pluggable.php file located in the /wp-root/wp-includes directory. Each method will change the way that the $phpmailer function sends mail.

Technology Insights

Post an Image From NextGen Gallery Into a WordPress Post

Posting a single picture from a NextGen Gallery into a WordPress post is easy to do though I always seem to forget the actual syntax to do so. There are two ways in which you can display the image within a post which are to use the NextGen Gallery button from the kitchen sink interface within WordPress or you can simply use the syntax listed below.

WordPress NextGen Gallery Button:

Technology Insights

Use WordPress to Block Comments From a Certain Domain

It is easy to use your default WordPress admin interface to block comments from a certain domain. You can either have these comments require moderation or you can have the comments immediately marked as spam. My suggestion would be to initially have the comments require moderation just to make sure you are not also catching legit comments.

To block comments based on a certain domain follow the steps below.

Technology Insights

Simpleviewer Pro: Move Arrows To Each Sides of Thumbnail Rows

SimpleViewer offers a great way to display your photo albums on WordPress combined with NextGen Gallery in an easy to browse format. The arrows display out to the sides of the thumbnails when you only have one row configured however you must have the source code that comes with purchasing the product to modify the source and move the arrows to the sides if you have multiple rows of thumbnails configured. I figure it is worth the money if this is a gallery you are using as it would cost much more in time to develop the gallery yourself.

The default location of the arrows is shown below in the image.