WordPress Expert » theme tips http://johnlamansky.com/wordpress Wed, 01 Jun 2011 18:58:49 +0000 en hourly 1 http://wordpress.org/?v=3.3 Is Your WordPress Theme Plugin-Friendly? http://johnlamansky.com/wordpress/theme-plugin-hooks/?utm_source=rss&utm_medium=rss&utm_campaign=theme-plugin-hooks http://johnlamansky.com/wordpress/theme-plugin-hooks/#comments Sat, 01 Mar 2008 20:26:29 +0000 John Lamansky http://wordpress.jdwebdev.com/blog/tips/plugin-friendly/ Did you know that the correct functioning of some plugins is dependent the “plugin-friendliness” of your WordPress theme?

The themes that come default with WordPress are okay. But if you’re using a theme designed by someone else, you might want to inspect it to make sure.

First go to the “Theme Editor” tab under the Design or Presentation section. You’ll see a list of files — click the files whose names are listed below, and look for these lines of code. (Of course, if any of this code isn’t there, you can always copy/paste it in yourself and click Save.)

  1. Header — Does your theme have this important line of code before the </head> closing tag? It’s used by plugins to insert JavaScript, CSS, meta tags, etc. WordPress itself even uses it to insert some header code.

    <?php wp_head(); ?>

  2. Sidebar — Although not as commonly used by plugins, it would be good for this code to be found in the “Meta” section of your sidebar:

    <?php wp_meta(); ?>

  3. Comments — This should go at the end of your comment form, before the </form> closing tag. It’s critical for the function of some plugins, such as the popular “Subscribe to Comments.”

    <?php do_action('comment_form', $post->ID); ?>

  4. Footer — This line of code should be at the bottom of your theme, before the closing </body> tag. It can be used, among other things, to insert JavaScript code or statistical information (spam counters, etc).

    <?php wp_footer(); ?>

Did your theme pass the test?

]]>
http://johnlamansky.com/wordpress/theme-plugin-hooks/feed/ 11
7 Tips for Choosing a WordPress Theme http://johnlamansky.com/wordpress/choosing-a-wordpress-theme/?utm_source=rss&utm_medium=rss&utm_campaign=choosing-a-wordpress-theme http://johnlamansky.com/wordpress/choosing-a-wordpress-theme/#comments Tue, 05 Feb 2008 14:17:43 +0000 John Lamansky http://wordpress.jdwebdev.com/blog/tips/7-things-to-look-for/ Doing some WordPress theme-hunting? Here’s a checklist of things to look for in a good WordPress theme that’ll hopefully help you narrow down the choices:

#7 — Does It Use Header Tags Correctly?

An SEO fine point: see tip #14 from my WordPress SEO post.

#6 — Does it Have Valid Code?

If possible, validate a default setup of the theme. If the theme itself has errors, the designer probably hasn’t taken the greatest care in its development.

#5 — Is It So 1990s?

A theme that uses tables, font tags, excessive inline styles, etc. (as opposed to external style sheets) will bloat the file size of your blog’s pages, increase rendering times, and eat up bandwidth more quickly.

Virtually all of the popular themes should be fine on this point, but it’s some of the more obscure ones you might have to check or ask about.

#4 — Does It Support the Latest WordPress Features?

Check with the theme’s documentation and see if it supports newer WordPress features such as:

  • Tags (added in WordPress 2.3)
  • Widgets (added in WordPress 2.2)

#3 — Is It Sponsored?

Sponsored themes are usually an SEO no-no. If the theme’s website says something along the lines of “don’t remove the links in the footer,” that should raise a red flag.

#2 — Is It Unique Enough?

If you’re trying to create a visual brand with your blog, then try to avoid using the WordPress Default Theme or another theme that everyone and their dog has seen on some other blog.

Try to find a theme that isn’t used on an excessive amount of blogs, or get a custom theme developed if you’re willing to hire someone.

#1 — Does it Look Good?

It goes without saying that if the theme doesn’t convey a professional image (and if a professional image is important to you), don’t use it, even if it means you have to go with another theme that doesn’t quite do all of the above.

Finding the perfect theme is a bit like shopping: try some out, see what looks best, and have fun with it!

]]>
http://johnlamansky.com/wordpress/choosing-a-wordpress-theme/feed/ 10