Page 1 of 212
Apr
25

Redirect the index file to the root

A quick piece of code to redirect your index file (i.e. index.html or index.php ) to your domain root using htaccess. So instead of having two url’s for the same page e.g. www.mydomain.com & www.mydomain.com/index.php you just have one (www.mydomain.com).

The Code:

Options +FollowSymLinks
RewriteCond %{THE_REQUEST} ^.*/index.php
RewriteRule ^(.*)index.php$ http://www.domain.com/$1 [R=301,L]

Put the above code in your .htaccess file in your root folder (create one if you don’t have it using a text editor). Obviously change index.php to index.html, index.htm etc. depending on your setup.

Tags:

Apr
10

How To Hide The WordPress Editor For Custom Post Types

Sometimes it can be useful to hide the editor for custom post types. For example if you only need to have text fields it can really clean up the admin page.

I know you can specify the fields if you manually register your custom posts (see the WordPress codex). However if it is a custom post type generated by a plugin etc. you can use some simple CSS to hide it. Read the rest of this article

Tags:

Mar
29

WordPress – Display post excerpts in the sidebar

Display recent posts in the sidebarI’m sure there are a few plugins which will accomplish this… but for those of you, who like me, don’t care for installing extraneous plugins to carry out relatively simply functions this simple snippet of code will display your recent posts excerpts.

Simply put the following code in your ‘sidebar.php’ template file (or anywhere else you wish to). Read the rest of this article

Nov
02

How to customise WP e-Commerce Breadcrumbs

I’m posting this here as there doesn’t seem to be any documentation on how to do this. The WP e-Commerce plugin is a decent shopping cart plugin for WordPress, unfortunately it’s documentation is rather poor! Read the rest of this article

Feb
15

Choosing website colours

Choosing Website ColoursThe colours of your Web site are important because they will define the mood and emotions of your visitors as well as reflect your identity and image branding.

It’s no accident that a lot of fast food restaurants use vivid red & orange colours.  Studies have shown that these colours tend to stimulate appetite, and large corporations spend vast sums on colour research for marketing purposes. Read the rest of this article

Category: Website Design
Jan
26

How to display browser specific widgets in WordPress

BrowsersThe huge array of plugins available for WordPress is one of it’s most appealing aspects. Unfortunately not all are cross-browser compatible especially with older versions of Internet Explorer.

CSS can fix most visual problems however sometimes the javascript used by a plugin throws up an ugly error message, a common one in IE6 & IE7 versions is: “An error has occurred with a script on this page”. It prompts the user to choose whether to stop running all scripts or not. Read the rest of this article

Jan
08

Google Local Business Listings… How to rank highly

What is a Google Local Business
Listing?

Google Business Listings is basically Google’s version of the yellow pages. These listings appear on the top left hand side of Google search results, typically when a user types a service followed by place or city name. The image below shows the search results for the search phrase “dry cleaners york”. The search results page lists Local Business results at the top of the page alongside a map with a link and telephone number beside up to ten listings. Below that the regular search results are displayed. Read the rest of this article

Dec
09

What to consider when setting up an online shop

E-commerce plays an increasingly important role in the way in which products and services are purchased.

E-commerce systems such as a website can be used to market and sell to customers, and to provide after-sales support. E-commerce can also be an important part of strengthening relationships and improving the efficiency of your dealings with suppliers and other key trading partners. Read the rest of this article

Page 1 of 212
Our Prices RSS Feed