Last Saturday David and I took a one day “Introduction to WordPress” kind of class. It turned out to be an eye-opening event for me for several reasons:
- WordPress has come a long way in the last several years. I first learned about WordPress early on, and since then the number of improvements is impressive.
- WordPress can look complicated if you have never seen it before, but if you want to do simple things, all you need is for someone to show you the easy paths.
- The web sites you can now create in WordPress are so beautiful and full-featured, and it only takes a couple of hours to do it.
What I would like to do in this article is show you how I set up the web site HowGodWorks.com in just a couple of hours using WordPress. You will be able to apply these ideas yourself very easily and then extend your knowledge quickly.
Step 1 – Set up a basic WordPress site
There are 2 ways to set up a basic WordPress site:
- Option 1 – Go to WordPress.com and create a new site. WordPress.com will host it for you, so you really don’t have to do anything. In the free version, you can use the free domain name they give you, or you can pay a few dollars per year and use any domain name you like. For example, I could host HowGodWorks.com, with that domain name, on WordPress.com if I am willing to pay a few dollars per year for them to manage the domain name for me. Or I could have a completely free site if I am happy with the URL HowGodWorks.Wordpress.com.
- Option 2 – Go to just about any normal web hosting company like GoDaddy, HostGator, etc. and get a web hosting account. You will choose your domain name as you are setting up the account. They will have a tool to install/activate WordPress in just a few clicks (example: you will need to set the password for the admin account that lets you configure your new WordPress site). Once WordPress is installed you have created your new site.
I am using option 2 for this particular site – I went to a hosting company and installed WordPress there.
Once WordPress is installed, you can do two things:
- You can log in to your WordPress account as the administrator and add to or change your web site using the WordPress tools, or
- You can go to your web site through your domain name and view what your web site looks like to your visitors. For example, you can go to HowGodWorks.com and see the web site I have created using WordPress.
Step 2 – Pick a theme
WordPress supports the idea of themes, which control the look and layout of your site. There are thousands of themes available – some free, some with a price. Right now, a theme called Twenty Fourteen is the default theme that WordPress will install for you (this will change in 2015). Because it is the default theme, Twenty Fourteen has a lot of support, meaning you can find answers to questions easily.
If you do not like Twenty Fourteen as a theme, you can change it. In the WordPress administrator panel, click on Appearance, then Themes.
Click on Add New and you will see the WordPress theme browser. Search through that to your heart’s content. Or go to a place like ThemeForest.com, or go onto Google and type questions like “What is a good wordpress theme for…”. Type in your requirements and see what you get with queries like that.
I am using Twenty Fourteen because it is simple, powerful, easy to customize for my purposes, and well-supported. It is also responsive, meaning it responds rationally to different screen sizes. So your site will look OK on a phone, a tablet, a laptop and a desktop.
If there is a WordPress site out there that you like, you can write to them and ask about their theme. Or you can view the page source in your web browser and search for the word “themes”. Here is what you will find if you do that for HowGodWorks:
<script src="http://howgodworks.com/wp-content/ themes/twentyfourteen/js/html5.js">
The theme is declared right there on the page. The advantage of writing to them is that they might be willing to answer a couple of questions.
Step 3 – Write a little content
When WordPress installed your site, it created a sample page, a sample post and a sample comment. A page is just that – a static web page that you create with the WordPress editor. A post is a piece of content almost exactly like a page, but it will go into a blog.
In the Twenty Fourteen theme, here is the difference: By default, every page you create automatically appears in the menu bar along the top of the site. Every post that you create goes in the “well”, or the center area, sorted by the date/time of creation. In addition, posts can also be “featured” in a grid or slider that goes at the top of the site.
[A tangent for those who want a little more detail: That distinction between “page” and “post” is kind of important, and the distinction can manifest itself differently in different themes. As best I can tell, in Twenty Fourteen, only posts can go in the slider or grid. Not pages. If you don’t like that, pick another theme.
Here is another way it manifests itself. By default in WordPress, because of its history, it defaults to a blog. So by default, blog posts go in the well in sorted order and your web site’s home page will consist of a stream of blog posts. That is great if you are creating a blog site, not so great if not. You can change this easily. There is a setting to say, “Use this particular static page as the home page, instead of the blog.” Click Settings and then Reading to find the screen that lets you make the change. Then the static page you choose for the home page can link to other static pages. If you also want to have a blog for your site (but not on the home page), this page explains how.]
So, delete the sample page, post and comment that WordPress created at installation. Do this in the admin panel by, for example, going into the Posts menu and clicking on All Posts. Hover over the sample post and then click to send it to the trash.
Create your own post by going to the Posts menu and clicking “Add New”. Give it a title and then add a paragraph or two.
Now when you go to your site’s home page, the post will be there in the well.
Add a featured image
Go back and edit the post you just created. There is a place in the bottom right that lets you add a featured image. The way this works is you upload an image to the media library and then select it as the featured image. Try it. Now your home page has an image above your post.
Do the same thing by adding a new page. Create a title, a paragraph or two, and add a featured image. When you publish it, that page will have a place in the top menu bar.
If you use featured images, make sure they have enough pixels, as described here. Also note the difference between a featured image and an image below the title, as described here.
Play with the menus
If you look at the menus for HowGodWorks.com, you can see that the one on the top of the page is different than the one in the left sidebar. Also, several menu options link to things that are not WordPress pages. And they are not in alphabetical order.
The default menu for Twenty Fourteen will contain all of your pages, and only your pages, in alphabetical order.
To change the menus, Click on Appearance, and then Menus. Create a new menu, and add in what you like. You can add in pages, add links to external web sites, etc. In the area on the right, slide menu options around to change the order. Move a menu slightly to the right to nest it under another menu.
The top menu and the left menu can be identical, or they can be different. Create two separate menus if you want them to be different.
You can change the menu colors
By default, the Twenty Fourteen theme has a black sidebar and top menu, and the accent color is bright green. What if you do not like these colors? The you need to use a plugin called Fourteen Colors.
Look for Plugins in the admin menu, click on Add New, search for Fourteen Colors, install it and activate it.
Now, if you look in the Appearance menu, then click on Customize, there will be a new entry for Colors. You can change the sidebar and accent color to anything you like.
Adding a forum
I wanted to have a place on HowGodWorks.com where readers could ask questions. A traditional way to do this is to have a forum area on the site, so I went to Google and asked about WordPress forums. I found this article:
Best 5 WordPress Forum Plugins And Themes
After reading through that, and looking at a couple of other articles and reviews, I decided to use bbPress. This article taught me how to get it working:
A step by step guide to setting up a bbPress forum
It was amazing to me – the whole forum area was installed, configured and working in about 10 minutes.
Perhaps a month after installation, formum spam started and ramped up very quickly. A captcha plugin called Math Captcha solved that problem for me.
Adding Social Media Sharing
During my reading and investigating, I had noticed that some sites that use the Twenty Fourteen theme had buttons at the bottom of each article for social media sharing on sites like Facebook and Twitter. My site did not have them, and no amount of searching in the settings gave me a way to turn them on.
It turns out this this feature, and several others, are available in Twenty Fourteen on the wordpress.com site, but not when you use a different web hosting company. Since HowGodWorks.com is hosted elsewhere, I didn’t have access to these features.
If you find yourself in this same situation, the way to solve this deficiency is to install a plugin called Jetpack. It adds social media sharing and about 30 other interesting features. Take time to read through the list and learn about everything in the Jetpack package – it really is remarkable.
I had to register to activate Jetpack, but it is free otherwise.
Eliminating Comment Spam
One thing you will have to contend with on a WordPress site is comment spam. If you don’t do something about comment spam, people and robots will leave lots of irrelevant comments on your site and really junk it up. There are several ways to avoid comment spam:
- Disable all comments (easy to do in settings)
- Only allow registered users to comment (ditto)
- Moderate all comments
- Add some kind of spam blocker
A plugin called Akismet is one way that WordPress lobbies for, but it is kind of expensive if you are a business. This article describes alternatives:
Free Alternatives to Akismet for Spam Prevention
In the left hand column of HowGodWorks.com, there are several well-defined areas like the recent posts, recent comments, etc. These are made possible through widgets. You can access the widget area by clicking on Appearance and then Widgets. What you will notice is that you can easily add, delete and rearrange widgets. You can also use Google to find additional widgets that you install as plugins.
Jetpack provides some simple analytics to help you see how many page views you are getting and where your visitors are coming from. But if you need more information, Google Analytics is the place to be. A plugin called Google Analytics by Yoast will get GA installed on all of your pages in a minute or two.
As I mentioned at the top of this article, this whole experience was eye-opening. It is amazing to me that all of this functionality is available, and is so easy to use.
It is also amazing that just about any question I came up with can be answered with Google in just a few minutes.
Obviously what I need to do next is convert MarshallBrain.com over to WordPress. That will be a little more involved, but I will give it a try soon.
Have fun creating your own WordPress sites!