Monitoring Site Statistics

There is no built-in statistics system for WordPress, but you have a number of choices for finding out detailed information on who's visiting your site. The simplest method is to use the statistics provided by your hosting company. It will have at least one package such as Webalizer or AWstats that will give you lots of details about your site visitors. Sometimes you can access these stats through a URL or you may need to go through your web hosting panel (like Plesk or cPanel). Check the...

Social Networking

Connecting WordPress to other social media is one of the hottest areas of plugin development these days and it's hard to keep up with new offerings. In Lesson 24 I talked about how easy it is to display your latest Tweets on your WordPress site and plugins are available that can help make it even easier. Here, I want to talk about two other functions that plugins can provide with respect to social networking Letting visitors easily use social media to let others know about your site Letting you...

Dimensions

Most videos from sharing sites like YouTube will already be displayed in a good size for most purposes, but you can change the sizing in the boxes provided. Be sure the Constrain Proportions box is checked before you enter a value (if you forget, just click Cancel and start again trying to constrain proportions after you've changed one value is too frustrating). After giving width or height a value, click the Preview panel or press your Tab key and after a short time you should see a resized...

Adding a User

There are two ways to become a user on a WordPress site being added manually by an Administrator or registering through a registration form. The automated form is meant for easily signing up subscribers so they can view special content on your site, and you would use the manual process for adding any of the other roles. By default, the automated sign-up form is disabled. You activate it on the Settings C> General screen by checking off the Membership box. The word membership is a bit...

What You See Isnt Quite What You

On the surface it seems like Visual mode is supposed to show your content as it's going to look when you publish it, just as word processing programs show you what your page will look like when it's printed. However, there are two key ways in which the WordPress Text Editor is not WYSIWYG and I think it's important to get these out of the way early to avoid confusion and disappointment. 1. The Text Editor is not controlled by your style sheet. What you see on your live site is formatted by the...

Logo Plus Existing Title Text

The first option is to keep the default title text and add a logo to the right or the left of it. This will involve editing the header file, the style sheet, and uploading the logo to your server. All of this could be accomplished in a number of ways, but there's only space enough to show you one. The first step is to create a properly sized version of your logo in a .gif or .png format so its background can be transparent. To know the size, just look in your style sheet for the height given to...

Importing Text

Nobody likes typing when you're just re-entering things into a post, so copying and pasting is a popular sport. Quite often, though, you're copying from a source that can cause you problems by carrying hidden coding with it. I often have clients say to me that they can't change a certain part of their text, no matter what they try to do in the Text Editor. A look behind the scenes in HTML mode quickly reveals the problem hidden coding that's controlling the look of the text. In Figure 7-8,...

Template Hierarchy

Did you know that WordPress really only needs a single PHP file in a theme No theme builder would choose that option because it would be both limiting and complicated to code, but because of a concept called template hierarchy, WordPress could, if need be, function with just an index.php file (along with a stylesheet). When WordPress goes looking for instructions on how to assemble a particular HTML page, it has several lists of template files to look for. If it doesn't find one, it looks for...

Glossary

Activate a plugin The next step after installing a plugin. WordPress displays a list of plugins you've installed, but you need to activate them before they function on your site. You can de-activate a plugin but that still leaves it installed. Administrator The highest level of WordPress users. Administrators have full access to all administrative functions, as opposed to, say, Editors, who cannot change the theme of a site or do anything with plugins. Attachment Any file that has been uploaded...

Replacing the Title Text

If your logo contains the title of your site, you'll want to get rid of the header text and description altogether. I'll do that now for the Island Travel site. As in the previous section, I'll create a transparent logo, this time with the company title and description in it, and I'll upload it to the images folder of the theme. I'll need exactly the same HTML code for the image, but this time, instead of putting it before the headerimg division, it will go inside headerimg and replace all of...

Editing Moving or Deleting Categories

On the right side of the Categories screen you see a list of all your categories in alphabetical order. If you have a lot of categories, remember that under Screen Options at the top, you can change how many are displayed at one time. If you have subcategories, they're displayed with a dash beside them and in alphabetical order underneath their parent category. If you have sub-subcategories, each level is represented with an additional dash. If you're doing customization work on your WordPress...

Using the Theme Editor

No matter which theme you have, WordPress makes it easy to alter the style sheet (and other files) using the Theme Editor. Go to Appearance C> Editor and, by default, you'll see your current theme's style sheet ready for editing. You're looking at the actual file on the server, so remember that when you save changes here, they're happening live on the site. How do you know which CSS rules are controlling your theme's title The simplest way to find out is to right mouse click and select View...

RSS Feeds

RSS stands for, at least according to some, really simple syndication. Some TV shows, newspaper columns, and radio shows are examples of syndicated content the producers send out their shows to companies that pay to show or publish the content. The beauty of RSS is that other people just click a button on your website and they are subscribed (through an RSS reader, for example) to your content. When you publish new content, it automatically shows up on their machine or on another website, which...

Word Press 24Hour Trainer

Chapter 1 Thinking Like Chapter 2 Planning Your Site for Part II Firing Up WordPress 15 Chapter 3 Installing Chapter 4 Admin Area Chapter 5 Basic Admin Part III Working with Written Content 39 Chapter 6 Adding a New Post Chapter 7 Working with the Text Chapter 8 Laying Out Chapter 9 Advanced Post Chapter 10 Adding a New Part IV Working with Media Content 81 Chapter 11 The Basics of Handling Media Files 83 Chapter 12 The Upload Insert Window Tabs 89 Chapter 13 Image Options in Chapter 14 Editing...