WordPress tips

Tips for using WordPress

WordPress.org vs wordpress.com

 

Wordpress

WordPress.org is the self hosted version of this open source blogging platform. The main advantages are that you can upload custom themes and plugins, and have complete control over changes to the code. Some technical knowledge is required to set up initially, and you need a good web hosting company. Also, you are responsible for stopping spam, backing up data and updating the WordPress software.

Using WordPress.com means that you don’t have to worry about the setup, backing up, security, spam and software updates. You are part of an online community. You can customise an existing theme, but you can’t upload themes or install plugin, or change the PHP code.

 

Backing up your WordPress website

Your website consists of PHP files and a MySQL database, both of which require backing up. You can backup your website’s database using a plugin called WP-DB-Backup. You can backup your entire site through your hosting control panel.

Installing themes

If you are using a free theme, you can install and activate it directly through your dashboard. Go to: Appearance > Add New Theme, search for it by name, then install and activate it.

If you purchase a commercial theme, you will need to upload it to your web site and activate it.

Some useful WordPress plugins

  • XML Sitemaps
  • Comment Control
  • Google Analytics Dashboard for WP
  • WP-DB-Backup
  • Contact Form 7
  • Akismet
  • Scribe
  • Soliloquy slider
  • All in One SEO Pack

Permalink structure

To make your WordPress website more search-engine friendly, make sure you use keywords in your permalink structure:

  • Go to Options
  • Select Permalinks in your Admin Panel
  • In the Custom Text box, enter /%category%/%postname%/%post_id

or just /%postname%.htm

Replacing the default theme favicon

  • Search for a free favicon generator on the web
  • Create your file (usually 16 pixels by 16 pixels)
  • Go to the images section of your theme
  • Replace the default favicon with your custom design

Mobile website options

You have two options. You can either customize your website for mobile devices by using a plugin like WPtouch. Alternatively you can use a ‘responsive’ WordPress theme that is designed to work well with smartphones, iPod touch and tablets.

Creating a static home page

Here’s a link for that:

http://codex.wordpress.org/Creating_a_Static_Front_Page

 

Removing ‘Powered by WordPress’ from footer.php

 

http://www.how-to-blog.tv/technical/how-to-remove-powered-by-wordpress-link-from-footer/

 

 

How to restore/delete from WordPress trash folder

 

http://en.support.wordpress.com/trash/

 

 

How to Override the Slug or Page Permalink in WordPress

 

http://wpgarage.com/shorties/how-to-override-the-slug-or-page-permalink-in-wordpress/

 

 

Modifying the CSS in a child theme

This link shows you how to create a child theme:

  • create a directory within your theme, eg wp-content/themes/twentytwelve/twentytwelve-child/
  • copy style.css there (must still be called style.css)
  • a ‘Template’ line is required in the child style.css file, eg
    Theme Name:     Twenty Twelve Child

    Template: twentytwelve

     

If you only have a few modifications to make you can use the @import rule. For example, to change the color of the site’s title from black to green …

  1. Make a new directory in wp-content/themes, and name it twentytwelve-child (or anything you like).
  2. Save the code below in a file named style.css, and drop this file in the new directory.
  3. Go to Dashboard › Themes and activate your new theme, the Twenty Twelve Child.
/*
Theme Name: Twentytwelve Child
Description: Child theme for the twentytwelve theme 
Author: Your name here
Template: twentytwelve
*/

@import url("../twentytwelve/style.css");

.site-title a {
    color: #009900;
}

There must be no other CSS rules above the @import rule.

The link also contains information on using functions.php (Unlike style.css, the functions.php of a child theme does not override its counterpart from the parent. Instead, it is loaded in addition to the parent’s functions.php) and template files.

http://codex.wordpress.org/Child_Themes

How to remove comments

http://www.thisismyurl.com/4488/remove-comments-wordpress/

 

Summary

Hope this has been useful. Good luck using WordPress. For more help telephone Jane Walker on 0777 169 1194.