Archives for June, 2011
If you are a professional web developer and develop site in wordpress, you could remove options's pages from your customers wordpress's dashboard. You can use this simple snipped; you need to customize it using the right name for each option page.
Just paste the code on your theme's function.php
If you need to add extra menu to your theme you could use this snippets. This is two steps tutorial, in the first you just need to add the code to your function.php; in the second you need to add the code of the menu in your new menu location, for example the header.
Before your start please make a full backup of your theme.
If you have a multiauthors blog, and use the "contributor" role to moderate articles you could add this snippet to allow your users (contributors) can add also media.
By default the add post interface doesn't include the media selection for the contributors. To do this just paste the following snippet on the theme's function.php
Using this snippet, you will be able to exclude google analytics tracking code for logged in users.
You just need to past the following code to your function.php or use as standalone plugin with the proper customization
In this wordpress tutorial i'll show you how to add posts formats to your wordpress theme. Using the post formats you will have the ability to create different kind of post, such as gallery, links or status message.
You need to customize not only your theme, but also your css, your home page and your archives pages to display published posts format.
For a long time i've used on my wordpress blog plugins to display related posts at the bottom of the content, but some days ago I've noticed of a certain slowness of my websites, somethings like 20-30 seconds to generate post preview, browsers error while post charges.
I thought that was a hosting's problem, and really was. After 2-3 days hostgator solved that problem, but blog was also slow, very slow.