Wordpress Tutorials Category
22nd
March
2009
2009
Adverts in AmberGreen Pro
In our AmberGreen Pro theme, space has been added into the template for Google Adverts or whatever kind of adverts you want really. At the moment those spaces are filled with dummy Google Ads, just to show you where they go.
To add Google Adsense to your theme you need to do the following.
Open index.php from ...Read more.
13th
March
2009
2009
Uploading images for use in custom fields
Inserting images into posts is easy, sometimes inserting images via a custom field can be a bit tricky. Well not with our themes! Its actually pretty simple. There are two ways this can be achieved. Either works just as well.
When you are uploading images, please be aware of the structure of the folders and how ...Read more.
13th
March
2009
2009
Images in Custom Fields
A lot of our themes make use of custom fields to display images alongside posts. These are easy to use, but are a little different to how you would normally add an image to a post, so we will go through the changes here.
The first thing to make note of is that all the images ...Read more.
13th
March
2009
2009
Organizing your WP Uploads folder
Wordpress by default organizes your uploads into folders labelled by the year and month.
So if you upload an image in January 2009 with a file name of sample-image.jpg to call that image using custom fields then you would need to use;
2009/01/sample-image.jpg
Which is a bit complicated if you forget which month you added an image and want to add ...Read more.
20th
February
2009
2009
Wordpress: Security 2: Hide your Wordpress version
Were gonna do a a whole series on Wordpress security over the coming months, some points you may know, some you may not, some we may not know! In which case why dont you use the contact form or the comments and send them in! For a list of all our WP security posts so ...Read more.
19th
February
2009
2009
Wordpress: Security 1; Put an index.html in your Plugins folder
Wordpress allows direct browser access to a lot of folders in the WP installation. This is not an immediate security threat, but if people can see what plugins you have installed then it could lead to problems if one of those plugins is later compromised.
With the image folder, its not really security, but its nice ...Read more.
19th
February
2009
2009
Using a seperate template for pages in Wordpress
Pages in Wordpress can have different styles and layouts by way of using different templates. This can be really useful if your using Wordpress as more of a static website, or even if your just using it as a dynamic blog and want a different layout for some static pages.
First thing to do is to ...Read more.
19th
February
2009
2009
Finding a category number in Wordpress
Wordpress categories can be defined as either numbers or names. Due to the ease of using numbers against names (A number is never confusing, its either one or another, where as one category may be named “dog” and another “my dogs”- this may become confusing.) on all of our themes we use Category numbers as ...Read more.
19th
February
2009
2009
Hiding a category listing completely
Sometimes you may wish to hide a category name completely, hidden from the category lists and to hide the cat name from the printed out post.
I use this sometimes on blogs to have a category for layout purposes only, rather than to categorize something for the reader.
Firstly find the category number you wish to blank ...Read more.
15th
February
2009
2009
Add a print page/post button to Wordpress
Adding a “print now” link or icon allows your visitors to print of any post and read it offline.
Open single.php in your theme folder and add the line;
<a href=”javascript:window.print()”>Print this Article</a>
Personally I add it to the post meta data, keeping all the extra post info in one place.
If you want to add a button rather ...Read more.





