Posts Tagged ‘WordPress Tips’

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...]

Footer Stuff Allows You To Seamlessly Add Content to Themes

21
responses
by
on
February 20th, 2010
in
WordPress Plugins

The biggest reason many of us require to edit themes is to add JavaScript libraries, CSS codes or analytics tracking code. However, the problem with editing themes is that you will lose all your customization when you decide to change your theme or redesign it.

[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...]

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...]

How Often do You Use Functions.php in Themes?

20
responses
by
on
December 4th, 2009
in
WordPress Discussions

Functions.php should generally be used when you just want to add a minor feature that requires a single function or few lines of code. However, you cannot use functions.php to run code in the actions such as “plugins_loaded”. This is by design and should be too, as each theme will have their own functions.php file and should only perform functions that relate to displaying the website.

[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...]

How To Disable Delete Post Functionality For Everyone Except Administrator

6
responses
by
on
November 25th, 2009
in
WordPress FAQs, WordPress Tips

WordPress has a pretty decent role management in place, which allows you to create users and assign them certain privileges and functionality. However, there are few things which you cannot right now with it, for example, creating new roles, modifying role privileges and so on.

[Continue Reading...]



Obviously Powered by WordPress. © 2003-2013

page counter
css.php