‘WordPress Tips’ Category

Scaling WordPress Part 1: Using MySQL Replication and HyperDB

21
responses
by
on
March 27th, 2010
in
WordPress Tips

Everyone loves to get loads of traffic to their websites, however, websites get timed out or respond very slowly when many users try to access it at the same time. WordPress does a pretty good job of handling lots of users at once, however it in itself cannot help you manage all the traffic, and you need proper server setups and cache setup to scale to accommodate more users.

[Continue Reading...]

Passing Parameters as Variables vs Passing Parameters as An Array

22
responses
by
on
February 25th, 2010
in
WordPress Discussions, WordPress Tips

Improvisation is the name of the game, and we tend to do a lot of it with plugins and themes. In that process we tend to modify functions by adding more variables to incorporate changes in them. However, unlike most of the other languages, PHP allows users to set default values for variables passed to a method too.

[Continue Reading...]

Migrating From WordPress.com to WordPress.org

14
responses
by
on
February 18th, 2010
in
WordPress FAQs, WordPress Tips

WordPress.com is a wonderful platform and it provides users with an option to create free blogs without spending a single cent. However, a time comes when you might want to move to your own domain name which is a continuance of your WordPress.com blog. A few days ago Jeff posted some links on steps to move from the Blogger platform to WordPress and now Amit Agarwal from Digital Inspiration has written a comprehensive guide on moving from a WordPress.com domain to a WordPress.org domain. You will find lots of posts which are similar to this one, but I found this guide to be comprehensive and to the point, so if you are planning to move to your own domain now or in the near future, don’t forget to bookmark the article. How to Migrate your Blog from WordPress.com to a Personal Domain

[Continue Reading...]

Real-Time Find and Replace Plug-in Review

13
responses
by
on
January 16th, 2010
in
WordPress Plugins, WordPress Tips

According to the WordPress.com support page on short codes they are defined as follows: A shortcode is a WordPress-specific code that lets you do nifty things with very little effort. Shortcodes can embed files or create objects that would normally require lots of complicated, ugly code in just one line. Shortcode = shortcut. Many WordPress plug-ins make use of short codes to easily make a call to a plug-ins functionality.  This can make maintaining your WordPress based site very easy but what happens if you decide to shift from one plug-in to another and that specific short code is not used in the new plug-in? Let me give you an example.  I used to use the WordPress Adsense Manager Plug-in on WindowsObserver.com to place my Google Adsense ads.  It allowed me to build the ad and then use a short code to place it on a page or in a […]

[Continue Reading...]

is_home(), is_archive() not Working? Here is a Fix

13
responses
by
on
January 16th, 2010
in
WordPress Tips

Quite recently, is_home() and is_archive() stopped working for me. I mean, that these conditional tags stopped working for me and the intended code I had was not performing as expected.

[Continue Reading...]

Preventing WordPress Plugins From Loading

21
responses

There may be times in WordPress where you would like to load the WordPress environment manually, and prevent plugins from loading. Two instances where this is ideal are: When loading an inline frame with Thickbox or Colorbox. When parsing AJAX requests in an external PHP file. To further give justification for this technique, I had a major plugin conflict with another plugin. My Ajax Edit Comments plugin had failed to work for one of my clients. After doing some troubleshooting, I determined it was a plugin conflict with “xyz” plugin. When I looked at the conflicting plugin’s code, I was able to pinpoint the problem to one patch of code, but failed to determine a fix. The conflicting plugin was causing my nonces to fail, as well as my AJAX processor to fail (since that uses nonces as well). Since my plugin’s editing options are all in a Colorbox inline […]

[Continue Reading...]

A Simple Mistake Could Cause You Priceless Headaches

11
responses
by
on
January 9th, 2010
in
WordPress Discussions, WordPress Tips

As a developer it is always easy to overlook minor things, some of them may not cause you much headaches, but some of them could eventually build up to give you nightmares because they are hard to spot.

[Continue Reading...]

WordPress 2.9 Feature Focus Batch Plug-in Updates

19
responses

WordPress 2.9 (Carmen) has been officially released and has quite a few new features.  Some are visible and right on the page while many others are under the hood.  One of the features that I really like is the ability to bulk update my plug-ins.  In previous versions of WordPress you had to update each plug-in individually by clicking on the automatic upgrade link in the WordPress plug-in, entering your FTP credentials and then waiting for the update to happen. If you had a lot of plug-ins this process could take a while to do. To utilize the new bulk update process go to the Tools>Upgrade menu in the admin panel:    There you will find a screen that looks something like this": Select the check boxes for all the plug-ins you want to update and then press the Upgrade Plug-in button at the bottom and you will then be […]

[Continue Reading...]

How To Track Outbound Links From Your WordPress Blog

11
responses
by
on
November 29th, 2009
in
WordPress FAQs, WordPress Tips

As a webmaster we are all concerned about the number of links that are coming into the blog and all the other stats that usually concern the traffic to the blog. However, another important thing we all miss to see is the number of outbound clicks from our blog to other websites.

[Continue Reading...]



Obviously Powered by WordPress. © 2003-2013

css.php