Most people never need to edit the WordPress constants in wp-config.php but if you do then up until now there was no alternative but to edit the file manually.
However, the Config Constants Plugin changes this by allowing you to modify a select set of WordPress constants directly from the WordPress admin!
The Plugin options page looks like this:
You can only modify constants that are already defined in wp-cofig.php so you remain in full control of your configuration file at all times.
Just a quick post to let you know about a new Plugin we have just developed, called ‘Display PHP Version’. Read More
The other day I was looking for a way to get the URL to the installed WordPress admin folder. I was almost certain that I would have to ‘construct’ this URL manually. This wasn’t a problem I had done similar tasks many times before.
But to my pleasant surprise I found a nifty little function called
get_admin_url(), which I didn’t know existed. This is probably as it is a new addition to WordPress 3.0. The function can be found in the
/wp-includes/link-template.php file at line number 1950. You can see the full source code here.
Looking at the core code it is obvious that this function was written with a more general purpose in mind. In fact it returns the WordPress admin URL of multi-site blog with a specific ID. If you don’t specify a particular ID then it returns the current blog admin URL.
Interestingly, there is another closely related function called
admin_url() which returns the admin URL of the current blog only. The difference between the two is that you can’t specify a blog ID with this function.
If you only need to get the admin URL of the current blog (as I did) then you can use either function with no parameters, and they will both return exactly the same result. It’s just a matter of preference.
Looking through the
/wp-includes/link-template.php file I noticed that there were a few other new functions added to WorPress 3.0 for returning WordPress links.
Here is a quick summary (including links to the source code) of all the new link related functions in
This post covers the brand new multisite/network feature in WordPress 3.0, which was previously called WordPressMU (and was a separate project, the two have now been merged in WordPress 3.0). To follow along you will need to be running WordPress 3.0 or higher.
How many times have you added or searched for a WordPress plugin direct from the admin area of your blog? Well this is a great new feature which has been added to WordPress. As well as themes, plugins can now be installed directly from the admin dashboard. No more do you have the install cycle of download, unpack, upload, and activate of themes/plugins (you can still do it this way of course if you wish)! Read More