Archive for category WordPress

Creating Themes: Introduction

Posted by Drakenhart on Wednesday, 10 June, 2009

Welcome to Themes

Themes, also known among some as “skins”, consists of the html, css, and images that make a site look the way it does. Those UI (User Interface) designers who do not do a lot of back-end coding can, feasibly, work up a Theme. One doesn’t need a lot of design skill, not with all the tutorials and help sites out there today. But taking that Theme from Image Mock-up to final product requires a little bit more effort.

What it requires is the ability to understand a given CMS (Content Managemnt System) and how it outputs the data it manages. The level of difficulty in doing this depends entirely on what you are trying to accomplish.

Levels of Complexity and Difficulty

Making a skin using the defaults that come with a CMS is the easiet way of handling this. Because so many designers want something unique, the defaults are rarely seen as much as one might come to believe. But this doesn’t make the site look or feel unique even if the defaults aren’t used as much. It still seems like a re-colored clone.

The next level consists of designing an entire site the way you want it to look, while taking into consideration the “parts” that the CMS Outputs. For instance WordPress outputs a header, footer, content area, and sidebars (if they are enabled). Since this is automatic to any given CMS, you need to design with these sections in mind and determine what goes where as you work.

The next level consists of tweaking the existing code either by applying small hacks or re-arranging how things show up on a given page. You may wish to change the front page into a semi-static landing page with RSS feeds that show up in the sidebar, for example. This requires an understanding of how the CMS’s system handles such extras, if it does at all, and how outside code might effect the final output. Any good designer knows well that a small bit of stray code can cause havoc in how a site looks when it is viewed!

Beyond this is the Intermediate to Advanced coding techniques that can transform how a given CMS outputs entirely. This often requires an innate understanding of how the system handles data, and may well require a non-coding designer to learn more then their fair share of coding. The options here for most UI designers are to either learn how to code in depth, learn the basics and stay away from the more advanced coding tricks, or hire someone else to do it for you! What a designer chooses is entirely up to them and there is no “wrong way” of doing it, as long as the site looks good and does what you want it to do!

Wire Frame FIRST!

Even before the Mockup comes the Wire Frame. What this looks like is entirely up to the one doing the design. Personally I work out a flow chart first, and as I work on this I doodle ideas into the corner of my notes. From this flow chart and doodles I make a rough wireframe that gives me an idea of the general layout and feel of the site.

Wire frames helps you to see the flow of the site, and to get an idea of what you are going to need in what areas. It is essential for the final mockup in the same way an outline is essential for a good research paper!

Once you have your wireframe (and notes!) then you can get to working on the mock up itself!

Mockups

A mockup is a graphic representation of what you want to site to look like. This includes the base body design (the elements that won’t change), the look of the individual pages and their content (Lores Ipsum fills in text nicely in case you aren’t sure of what to write), and what images are being used for each! Each individual page should have a mock up. Layer them all properly and name them (if the graphics program you have allows you to name your layers). This will reduce the wasted time from searching for a particular element later.

Mock ups should be of the final size, and take into consideration the different browser sizes. Yes there are some people who still use older monitors whose max resolution for websites are 600×800. Thankfully they are in the minority now, but you need to keep in mind that they do exist and keep the important information in the center. Anything non-essential to your site (advertisements, links outside of the site, etc) can be on the “wings”, but the main product and content needs to be easily accessible.

Make the Mock Up into Code

So now that you’ve decided on what to do, and how far into the code you are going to go, what’s next? Take the mock-up and write the base markup and CSS. I cannot stress enough how important this step is for keeping organized and focused on the final goal! Do all of your mark up first, make sure it works, try to break it to find out what happens, test the css in different browsers, get friends to test it in other browsers, do what ever you need to make sure the design code itself is functional.

Why? When something goes wrong later you can be certain, at least, that it’s not something in the design code that is malfunctioning! Also, this framework gives you the foundation you need for making Themes look good. This is what the site is suposed to look like after all, right?

After this, then you can get into the nitty gritty of dividing up the sections of a site into the parts needed as per how the CMS handles outputting. This part can be a little bit tricky depending on what your overall scheme for a site is and how you are going to handle it. Generally many sites rely on PHP in order to output. Understanding how PHP works will be a great help to any designer who finds themselves working with it.

W3Cschools section on PHP is a great place to start! There is also PHP.net which is more of a walk-through tand explains a lot more in plain language (until you get into the more technical stuff). Tizag has a lot of beginner tutorials and explanations. I found them to be slow, mostly because I was too excited to start with the basics. But I have to enforce, baby steps, learn the basics first. When you are looking at the CMS output code you’ll at least be able to read it! That is the first key to successfully tweaking the PHP output code!

Once you get the repeating sections done (header, footer, and sometimes but not always the sidebar(s)) you can work on how the content in the main content section will output. This can change from page to page. So keep in mind what your intents for each page are, and always refer back to your wireframes and mockups! I relate this habit to checking my algerbra notes during a test! By checking your mockups and wireframes you keep focused on the end result rather then get lost in the code.

By the time you get all the sections coded, it’s time to test it. (If you have a Windows Vista Machine I highly suggest you DO NOT try to install a virtual server unless you KNOW exactly what you are doing!) Best way to do this live is to have a mock-site set up, with a live database, et al. This way you can test it in a live environment.

It is highly suggested that one does NOT just upload the site to it’s final home for testing. This can cause problems on a number of levels! It can interfere with user experience, as well as cause problems with the site’s database in case something in the code is messed up. The Search engine spiders and bots could crawl your site and come up with poor reactions, and you wouldn’t even know it until later when you check your statistics! You could even drive traffic away from your site as well.

It’s a messy process. Find a place or way to test it before setting the site live.

Generally most computer OS (Operating Systems) can’t or won’t parse PHP. Windows NT was the server version of Windows and will display PHP. There are virtual servers you can set up and configure on your machine, but in such cases you should always back up the computer you will be using to do this in case something bad happens.

Once things are tested and working, it’s go-time. You should have a functional site that looks good and works!

More in this Series:
(tba as posted)

  • Share/Bookmark

Review: Platium SEO Pack Plugin

Posted by Drakenhart on Wednesday, 11 February, 2009

As I learn more about SEO and Plugins in general, I decided to trim down some of the multiple-use plugins for ones that were all inclusive. In short, fewer plugins helps the site run faster and load more quickly. So I want the power of many of these SEO Plugins without the need for so many downloads.

The Platinum SEO Pack offers this and is a pretty powerful tool. So far I like what it offers and have disabled other SEO Plugins. But I did discover something.

After visiting the Site Grader, it informed me that I had not site description or meta tag keywords. I double checked the settings of the Platium SEO Pack and everything looked fine. Then I checked my Pages. That’s when I realized what had happened.

Platinum SEO is set up so that the Blog page is your main Page. So all the settings for site description, etc, are attached to the Blog Page. Using WordPress as a CMS then requires you to do a few additional steps. You’ll need to hand-add the tags, keywords, and descriptions to each Page of the site.

Is this a major issue? Not for the majority of WordPress users who focus on blogging over CMS usage. For those using WordPress as a CMS, well it just requires a little extra work in order to make sure everything is set. As it stands it is best if you label, tag, describe, etc all your site’s Pages anyway. So this isn’t as big of a concern as it may seem.

Over all the Plugin works Great and I haven’t had any problem with it so far. :)

  • Share/Bookmark

AdRotate Banner Flexibility!

Posted by The Artist on Sunday, 25 January, 2009

One of the problems I had with AdRotate was that the widget form doesn’t allow for multiple widgets to show different groups of banners in a sidebar. (At the time of this writing.) At least, not using the WordPress admin panel.  But, after reading through the site I realized you can ad banners everywhere. No really…, everywhere!

Thinking about that I realized we can even add them to our headers, or better yet use it to replace the header image entirely! *shock*

Now one thing I’ve always wanted to do is to have my “skins” change for the seasons. More over the images (that would be an amazing plugin!) would change while the structure of the site remained the same. I’m sure this could be done by using a PHP script that changes a CSS document per a certain time period. But I’m not PHP wizard… yet.

But then I got to thinking, and that is a dangerous thing as I begin to experiment. I may not be able to use AdRotate that way straight out of the box, ( although with the new “timed” ads it -may- be possible to at least change the header per season, there is an experiment to do to be sure) but it can be hand-coded into the theme of the site. The Plugin’s support website offers a list of code snippets. You can even add individual or random rotating ads to a post or page, inside the post or page! It doesn’t have to stay inside the widget!

Amazing.

How so?  Easy!

First you’ll need to install the plugin. You can either do this by hand by downloading the plugin, or if you have WordPress 2.7 installed you can go into the Plugins Panel and do a search for banners, ads, adrotate, or other such words and look for it in the list. Installing it through the Plugins panel is a lot faster.

Now the next thing you may want to do, if you can, is add the \banners (<– note the ’s’) folder to you wp-content folder. (wp-content\banners ~ don’t forget that ’s’). This is where you can put all kinds of banners that you will want to use.  How ever, sadly, you cannot organize them into sub-folders in order to keep like-images together. You must label them in a way that you will be able to distinguish them.

What’s this do? AdRotate can attach images to the banner rotate code so you don’t have to type out a huge line of code. Not to mention you can -change- what the image is with a simple few clicks if you use the %image% inside of you image tag. (<img src=”%image”>) All you have to do is upload the images into the banners folder and then pick the image from the Banner Admin Panel.

Sweet.

Next you need to log into WordPress and add your banners and links. These can be affiliate links, or they can be general links, it doesn’t really matter.

Set up your groups first, this is done under the mainPlugins Panel under the Manage Banners link. Create groups to help keep yourself organized.

Then under the Posts Panel you can find the Write Banner link where you can start adding your banners!   So, next is to start adding banner code and images!

Under the Settings Panel is an option for AdRotate. This is the opt-in / opt-out to help the creator with determining how the plugin is being used and what the creator can fix it to be more beneficial. It’s a study, nothing more. But, you can opt to not have your specific information sent. None of the information is sold and may only be shared in a stsitical analysis. Make sure you set these settings to what you are most comfrotable. Me. I left myself opt’ed -in. ;)

Once this is done then you need to decide where your banners are going to go. Doing a quick design prior to this will help you get an idea of what it will look like. If the banners are too big, you’ll need to re-size them and re upload them. Far as I know AdRotate doesn’t re-size banners for you, you still have to do that by hand in general.

Each of the tags or PHP snippets goes into specific locations. The first number in the PHP code displays banners from a specific group, where the the second is the specific banner ID number. In the shortcode the group and banner numbers are a bit more obvious as you have to type them out.  You can find these group and banner ID numbers in the Manage Banner link in your main Plugins Panel.

Make sure you book mark the install list for future reference!

~

Side note: In the most recent update (as of this posting) the creator has added a CTR (Click Through Ratio) to give you and idea of how your banners are doing!

Suggestion: Donate to this man if you use this Plugin and make money from it. It’s such a powerful and useful plugin, even a dollar or two is a nice thank you. It’s kind of like tipping your waiter. ;) ~ Drakenhart

  • Share/Bookmark

WordPress.tv? Yes! Video Tutorials Ahoy!

Posted by The Artist on Monday, 19 January, 2009

WordPress got wise, real wise. They’ve started to populate their new domain, WordPress.tv, with videos. This tickles me in ways I can barely begin to describe.

First: I’m a person who is very much supportive of people using the proper ending to their domains. The endings were created to help differentiate between content types. This way people would know from first glance just what the company is, does, and it’s intents.

  • .com –> Commercial Business (Drakenhart Studios.com is being held by a friend currently. Lost contact.)
  • .net –> Network (We are in our own way a network. Rather then just offer you our business end and sales pitch, we offer a form of community and continued service. Links to places that benefit our clients and viewers, and connections to our clients’ sites for people to check out!)
  • .org –> Organization, like the World Wild Life Fund or the Red Corss, etc.
  • .tv –> Television of other form of video media. (Thus WordPress.tv offering a site Full of helpful, online walkthroughs and tutorials. Bonus!)
  • .biz –> General Business
  • .us –> General Web Site located in the United States
  • .info –> Informational site, often like a wikipedia and the like.
  • .me –> No joke, this is a website that is about you.
  • .mobi –> Mobile phones. Yep.

And so forth…

Why else? Video Tutorials rock in my book! Reading a manual and jumping back and forth between pages, versus  actually seeing what is being describe are two very different ways of learning. “Visual” people learn best by watching or interacting. “Abstract” people learn best from reading or looking at diagrams. I am a visual leaner rather then an abstract-text learner. So watching the videos as they -show- me what to do is exceedingly more helpful then slogging through pages after pages of Codex – of which some of it is not up to date!

Down side / Up side: It is not a “community” per say. Only certain people are allowed to post videos, unlike YouTube. This means a greater quality. This also means slower wait times as they put up more and more specific tutorials. They have to put the basics up first!

Go check it out! :)

  • Share/Bookmark

Designing a WordPress Theme (2.7)

Posted by The Artist on Tuesday, 13 January, 2009

Welcome viewers.

If you are like me, you’ve scoured the web for more information in a more concise and basic form. The WordPress Codex is great, but huge and bulky. Buying the next “how to” book may only leave you behind as the CMS upgrades over time.

So what I offer here is the most up to date listing of information, tutorials, links, reviews and pointers to try and help you along in your designing needs. WordPress may seem daunting, with all of it’s php code and not-quite stero-like instructions. But once it is broken down, yuo are good to go.

There are two paths that diverge from here. Basic Theme editing and more Advanced Theme editing. Basic Theme editing uses WordPress’ general settings, and some plugins. A slightly more techincal (Intermediate) aspect of Basic Theme editing  is using the WordPress internal editor and some knowledge of either php code or WordPress’s Template Tags. The Advanced Theme-styling requires a bit more boldness as you either convert a current theme to fit your needs by editing the php code, css files, and the templae tags, OR you start from scratch, using other themes as your reference point.

Choose your preference!

  • Basic Theme Styling.
  • Intermediate Theme Styling
  • Advanced Theme styling I
  • Advanced Theme styling II

*note* Updated as I am able. Keep this page bookmarked, or subscribe to my rss for site updates.

  • Share/Bookmark