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...

Keeping Things User Friendly and Flexible

Whatever customizations you have done to your theme by yourself or someone else always remember to make them user-friendly. That reduces the need for calling someone in again at a later date. That really means thinking ahead when making modifications and asking if they could be used in other contexts, though maybe not right away. As a result, you might want to make certain elements into variables that are easily controlled by WordPress users, such as through custom fields or even with a custom...

Whats on the DVD

You've read about how WordPress can make creating and maintaining a website much easier time to see it in action. I love working with my clients online or in person to help train them in the use of WordPress, and that's how I've approached this DVD to be your virtual coach. So let's get started. This appendix provides you with information on the contents of the DVD that accompanies this book. For the most up-to-date information, please refer to the ReadMe file located at the root of the DVD....

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...