Archive results for: Wordpress Tips

WordPress Tip: Styling for Specific Page

An easy way to have styling for unique Pages is via CSS on the unique page id that is generated for every Page in WordPress:

wordpress_page_styling

Reference: http://codex.wordpress.org/Template_Tags/body_class


WordPress Tip: Web Analytics

If you want your blog’s audience to grow, you need to do more than publish great content, network, and build relationships. You also need to keep track of what is and what isn’t working on your blog.

In other words, by analyzing traffic trends and the behavior of the users when they visit your blog, you can create more of the content they want, continually meet their expectations, and build your audience.

Most web analytics tools offer similar types of data for you to track. In fact, when you create a new account with a web analytics tool, you’ll be bombarded with links, tabs, and data overflowing with terminology you may not be familiar with. Read more ›


WordPress Tip: Protect against SQL injections

SQL injections are one of the more common forms of attack on WordPress sites. Most web hosts take every precaution to protect against these exploits, but you can add your own check by inserting this code into the htaccess file.

Place it just underneath RewriteBase /, below # BEGIN WordPress


WordPress Tip: Templating Posts vs Pages

Posts and pages have a lot in common, and although most themes will have separate templates for these, they rarely differ all that much.

First of all, as with every template that deals with the things between the header and footer, you need to include said header and footer. This is done with the get_header() and get_footer() template tags. Read more ›


WordPress Tip: Setting a Front Page

Not all themes allow you to use the Front page option in WordPress. Manually choosing a Front page in those cases will break the default Home page for the Theme.

Many themes have a unique home page design and often that was a major reason for getting the Theme, but users are sometimes disappointed because they can’t get their home page to look like the original. Read more ›


WordPress Tip: What is a Favicon?

faviconsA favicon is a small image that appears before your blog’s URL in a visitor’s web browser s bookmark listing in their browser bookmarks or favorites  drop-down lists.

Favicons help people who have a lot of saved bookmarks or favorites  easily find your blog in a long list. They also make your blog look a bit more professional.

To add a favicon to your blog, you first need to create your favicon file, which is a 16×16pixel  image. Once you have your favicon file, you need to convert it into .ico format and name it favicon.ico. Fortunately, a number of websites automate the conversion process  for you such as the Dynamic Drive FavIcon Generator.

Once your new favicon.ico file has been created, log in to your web hosting account, s root directory, and upload the file to that directory.

For example, your favicon file should be accessible at yoursitename.com/favicon.ico after it’s uploaded

Reference: http://codex.wordpress.org/Creating_a_Favicon


WordPress Tip: Tags vs Categories

To put it simply, categories are your table of contents, tags are your index.

Another way to think of it is this: you should have fewer Categories and more Tags.  But when it comes down to it there are no hard and fast rules about any particular Category or  Tag structure. The key is to make the structure useful to your visitors.

For example on a site about Home Care, a Post entitled “Five tips for a greener lawn” could be  in the Category “Lawn Maintenance” with tags such as “grass, fertilizer, weed control, seeding,  nitrogen, clover, aerating, soil test, watering.”

But let’s say the same Post is on a site which deals only with Lawn Care, then Weed Control,  Seeding, Fertilizer, and Watering could be Categories, since you’re likely to have several  detailed Posts on each of those subjects. And your Tags would be even more detailed with brand names of fertilizers, different grass and clover species, etc.

When you’re writing a Post, ask yourself if the Title could be applied to at least one other Post.  For example, a title like “Weed Control” could be applied to any Post that’s going to deal with  controlling weeds.

What you’ve got there is a Category name. The Title of a single Post should  be far more specific, like “Weed control for shaded areas”.


Page 1 of 212