WordPress is one of the most popular open source free CMS blogging software which is easy to setup, easy to use and is very extensible via plug-ins and widgets. It also has a large community of users that helps to support and develop new versions of WordPress software. It comes in four versions:
This tutorial will cover only the first two versions (hosted and self-installed/self-hosted). If you update WordPress posts regularly, search engines (e.g., Google) will love your site. You can create personal blogs, blog networks. Using the BuddyPress suite of plugins, a WP site can be transformed into a social networking site (www.buddypress.org). Businesses, colleges and universities are all using WP.
WORDPRESS.COM | WORPRESS.ORG | |
---|---|---|
Free Hosting | Yes | No |
Disk space | 3G Free, more Cost | Use your own server |
CSS | Cost ($15/yr) | Yes |
Easy Setup | Yes | Depend |
Automatic Backup | Yes | Cost |
Themes | Limited (<100) | Yes (>1000) |
Create your own themes | No | Yes |
Avoid Automatic ads for users | Extra cost | Yes |
Choose from existing widgets | Yes | Yes |
Choose from existing plug-ins | No | Yes |
Create your own plug-ins | No | Yes |
Run your own ads | No | Yes |
TIP: If you set up a WP.com website it will have a name of yourblogname.wordpress.com. It is best to get your own domain name as soon as possible. If someone sees that your WP site is successful, nothing can prevent them from registering your domain name as www.yourblogname.com and directing traffic to their website instead of yours. If you are starting a business, it is best to use Wordpress.org because there are some restrictions for commercial purposes (e.g., making money) when you use WordPress.com.
You can get help from the WordPress Community either on:
Below is a list of features that you get with most versions that will be explained in detail throughout this lesson:
WordPress requires PHP 4.3+ and a mySQL 4.0+ database to store all content (i.e., posts, comments, administrative settings) of your site. It can be run on the Apache or IIS web servers. For clean URLs (a URL rewriting module that understands .htaccess directives (i.e., mod_rewrite on Apache or URL Rewrite on IIS)). Theme design is NOT part of the database content but part of the file system.
NOTE: You should backup both the database and the them on a regular basis.
WordPress is known for its five-minutes installation. Many ISP offer an installer program from their account control panel usually using the Fantastico application installer. You can also upload WP files to your web directory yourself. You can then complete the installation using the web interface or modify a sample configuration files (sample_wp_config.php) that is included with the download with the correct settings and save it as wp_config.php.
Choose only one of the option below based on ISP capability:
Fill out the information that Fantastico need to create a database and a site. You can change any of these settings later so if you are not sure just add something:
If your ISP doesn't not have an application installer (i.e., Fantastico) or if you prefer to install WP yourself on your own computer or another server, you need to create a blank MySQL database, upload the WP files to the server, run the WP installer and then log in:
If your host already created a database for you, all you need is the database name, username, and password that were provided to you when you signed up for an account. If you are creating a database on your local computer or you want to install it yourself on a host remote server, follow the general steps below (using phpMyAdmin) or your host's instructions:
NOTE: phpMyAdmin is the most popular MySQL web interface tool on the market that is used by many ISPs.
CAUTION: DO NOT PRESS THE GENERATE BUTTON for this tutorial as it will create a custom password. You can do so for a production website though.
If you are creating the WP site on your computer, download the WP package software and install it. If you are creating the WP site on a remote server, you still need to download the WP package and install it locally on your computer and then you will upload it to your remote ISP server later.
Once you have downloaded and unzip the WP files locally or uploaded the folder after it has been unzipped to a remote server, you are ready to install WP.
If the web interface option did not work or if you prefer to do edit the configuration file yourself to include the BASIC settings, you don't have to write the complete configuration file yourself. You can edit a sample file and rename and save it as wp-config.php.
define('DB_HOST', 'localhost:3303');
$table_prefix = 'wp2_';
* WordPress Localized Language, defaults to English. * * Change this to localize WordPress. A corresponding MO file for the chosen * language must be installed to wp-content/languages. For example, install * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German * language support. */ define('WPLANG', ' ' );
Typically, PHP errors are logged into a file rather than displayed on screen because of security. It prevents you from inadvertently exposing your database sensitive information (e.g., password, username) if you don't have the configuration file set up correctly. If you know where the error file is located, you could open it; however, you could set a debug setting to see errors on screen.
Normally, if you have errors, you are presented with a blank screen, to "see" the errors if you need to debug your WP installation, you can turn on the debug option by setting it to true. If you should visit the site again, you should see the error on screen.
define('WP_DEBUG', true);
NOTE: It is important to change this setting back to false when you are finish debugging your installation.
After you have created a database connection and install the files, you are ready to log into your WP site:
Remember, we only created a blank database before we installed WP. However, after we install WP you can see that WP automatically created a lot of tables in the database you created.
If you forget your password, you can open myPHPAdmin and then:
NOTE: You have two views of the Dashboard panel in the left side bar. The default view show icons and their labels. Once you are familiar with all of the icons, you can switch to the icons only version, click the Collapse Panel link at the bottom of the sidebar. Then when you hover over a icon you will see the corresponding category submenus.
NOTE: If you click the Screen Option link at the top-right of the Dashboard page, you have the option to show/hide specific widgets by checking or unchecking the corresponding options. You can also specify the number of columns you would like to display on screen. You can also drag-and-drop the widget panels around as you see fit. In addition, you can click on a widget panel title bar to collapse or expand its content.
If you hover of the arrow on some widget panels, you will see a Configure link appear. Click on it and you will be presented with option to configure the widget:
Before clicking on the Configure link:
After clicking the Configure link you will see the configuration option for that widget. Make change and then click the Submit button or click the Cancel link to not change the widget.
Let's discuss some of the widgets:
Once you are logged in and change the password, you will see the Dashboard page where we will set some global settings upfront. You should initially click on the Settings > General Settings tab. We will focus on settings that are not intuitively obvious to fill out or that may need additional clarification.
Click on the Settings > General Settings tab:
Click the Settings > Writing tab: (See page 48 of the Beginning WordPress 3 Book for more info)
Click the Setting > Reading tab:
This is how you display your front page.
Click the Setting > Discussion tab:
Allows you to control articles, comments, e-mail, etc. The first three checkboxes are designs to minimize unwanted comments.
NOTES OF AVATAR, ETC:
Click the Setting > Media tab:
You can change the image size, how image is embedded and how images are uploaded. This setting is only for images, not audio or video.
Click the Setting > Privacy tab:
Here you set the site visibility. You may want to create a private site only for members.
NOTES ON PRIVACY:
Click the Setting > Permalink tab: (See pg 57-59 of the Beginning WordPress 3 book)
By default WordPress uses web URLs which have question marks and lots of numbers in them, however WordPress offers you the ability to create a custom URL structure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links. A number of tags are available. If you insert permalink, you will see a permalink on each post or page. You can only add the yellow highlighted portion of the permalink.
Click the Setting > [Other Settings] tab:
You make see other settings under the Settings tab (i.e., XML-Sitemap). There are from plugin that you have installed.
Click the Users tab and update the Profile settings as you see fit:
Creating posts is like creating a guestbook for your site or a news feed for your site. When you create a post, you can give it a category as well so that your users can select topics from specify categories that you have set up. WordPress has a autosave option that can save your work at regular intervals.
NOTES:
Unlike a post, a page:
Unlike post, publication date is not displayed for pages in most themes and they are not organized by date. In addition, you don't have categories or tag.
With all of this, pages makes your WP site looks more like a standard website instead of a blog
NOTES:
There are other ways to post:
Categories are like a table of content for your site. Categorizing posts provide an organizational structure. Each post that is assigned a category is grouped with the other posts in the same category. After a few months, these categories provides a topical directory of your posts for your readers. You can also create subcategories. Each category can have its own RSS feed.
All posts must have at least one category selected. However, you can selected as many as you need. Once you have selected categories, they will be moved to the top of the list---outside the normal hierarchy---the next time you edit the post. If you're hierarchy is important and you like to preserve the normal, indented view, use the Category Checklist Tree plugin.
TIP: By styling your categories differently and publicizing the otherwise hidden feeds for individual categories, you can create the illusion of multiple blogs for your visitors even though behind the scenes you are maintaining just one.
NOTE: You can also delete categories if you need to.
Once you created several categories, you need to assign them to your posts. To do this:
While categories may be like the table of contents for your site, tags are like the index for your site. Tags are keywords you can assign to your posts. Unlike posts that must be assigned a category, tags can be created at any time and are used to provide "keywords" for searches. You can get feeds for each tag.
NOTE: You can also Delete a Tag or a series of Tag by clicking on the drop-down menu above the tag list and then clicking on the Apply button. You can also edit a tag by selecting the Edit button below the tag and making the necessary changes and then clicking the Update button.
You can view comments by clicking on the Comments tab and then decide if you want to approve, unapproved, mark as spam or move to trash the selected comment(s). If you approve the comment, it will show up on your site. Comments and trackbacks can be set in the Settings > Discussion tab.
Trackbacks are comments left on your blog by other blogs–this occurs when you provide a link in your post of another blog (called network ping) which in turn post a receipt in a comment to the post that you linked to. Trackbacks are lists alongside of your posts. Keep in mind the list of sites you chose to ping for all your posts in the Update Services section of Writing > Settings. Also, if you chose on that screen to pin linked sites, any links included in your post will be pinged automatically. If you want to ping any sites in addition to your Update Services list and the sites lined in your post , you can add the URL in the Trackback section. IF your post has already been published, this box will display a list of the sites that have already been pinged. (Except from Beginning WordPress 3--Apress pg 76).
Like categories, you can also categorize links in the Blogroll. A Blogroll is a list of links displayed on your blog. (ADD NOTE FROM PAGE 59-61 OF THE WORDPRESS FOR DUMMIES BOOKS.)
WP install several links in the Links tab by default. While useful, you may want to delete these are replace them with you own. Links do not use the same categories as posts. After installing you will have one link category call Blogroll.
To delete all of the current links, click on the top checkbox to select all link and the select delete from the drop-down menu at the top or bottom of the page and then click the Apply button. To add links simply click the Add New button at the top of the page on in the sidebar.
Add notes here later.....
You can have multiple users and authors on your blog.
WordPress comes with a few default themes to get you started. However, you can change the default at any time and even create your own. Themes determine how content is displayed using HTML with WP specific PHP functions. Themes are composed of standard HTML with WP template tags (i.e., the_title(), the_content(), the_author(), the_tags(), etc.). If you want to view different themes, point your browser to: www.wordpress.org/extend/themes/.
You have two options to install Themes:
NOTE: You can also delete any theme by clicking on the Appearance tab and then clicking on the Delete link under the theme preview image in the Manage Themes tab.
Plugins add PHP functions (template tags, widgets, etc.) to your site.
You have two options to install Plugins:
NOTE: You can also edit or delete any plugin by clicking on the Plugins tab and then clicking on the Delete link under the plugin name.
Below is a list of a few popular plugins that you may want to include in your site:
NOTE: You can also upgrade plugin as new version become available that fixes security issues, bugs, new features, etc. You will see a number next to the plugin menu. You can upgrade plugin one at a time or in bulk. To perform a bulk upgrades, place a check mark next to each plugin that are available for upgrade and then choose Upgrade in the Bulk Action drop-down menu. WP will place your site automatically in maintenance mode until all plugin are installed.
Widgets are drag-and-drop components (snippets of code) that can be added to your site's sidebar.(e.g., Polls, Twitter streams, etc.). Archives, Categories, Blogroll are all examples of widgets as well. Most themes support widgets.
You should backup your WordPress site on a regular basis as well as BEFORE you upgrade or move your WP site. You have two options to backup:
Add info here....
Add info here...
It is important to upgrade whenever there is an official release of WP to keep up with new features, security updated, etc. When a new version becomes available, you will see a banner message on every admin page. You will also see an announce in the WP blog.
IMPORTANT NOTE: You should backup your WP site before you upgrade your WP site.
NOTE: If you don't update your WP site often to see when update are available, you may want to subscribe to the RSS feed (wordpress.org/development/category/release/feed/ ) or an e-mail announcement.
You have two options to upgrade:
(See page 37-38) in the Beginning Word Press 3 Book– Note will be added later.
There are occasions when you need to to move a WP site from one server to another.