In wordpress themes some tags are very important for SEO purpose. Here are some important wordpress tags for wordpress. If some of them tags are not included then you should modify the theme or you need to choose another wordpress theme.
Most important wordpress tags for wordpress themes and template
Here I created the list of wordpress tags which must be added in the header.php file of your wordpress theme.
- <?php language_attributes(); ?> found in header.php if not present then put in that file.
- <?php bloginfo(‘html_type’); ?> found in header.php if not present then put in that file.
- <?php bloginfo(‘charset’); ?> found in header.php if not present then put in that file.
- <meta name=”description” content=”<?php the_excerpt_rss(); ?>” /> found in header.php if not present then put in that file.
- <link rel=”shortcut icon” href=”/favicon.ico” type=”image/x-icon” />found throughout the theme and header.php if not present then put in that file.
- <?php bloginfo(‘name’); ?> found throughout the theme and header.php if not present then put in that file.
- <?php if ( is_singular() && get_option( ‘thread_comments’ ) ) wp_enqueue_script( ‘comment-reply’ ); ?> found throughout the theme and header.php if not present then put in that file.
- <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats –> found in header.php. If you’re using a 3rd party stats program (like Google Analytics) then you’ve nothing to worry about, and if your version of WordPress is out of date, you won’t want hackers knowing that.
- <?php bloginfo(‘stylesheet_url’); ?> found in header.php.
- <?php bloginfo(‘rss2_url’); ?> founder in header.php, sidebar.php and footer.php. Be careful if you switch to FeedBurner after doing this. Make sure you remember to update the feed URL here manually (The FeedSmith plugin won’t do it anymore).
- <?php bloginfo(‘pingback_url’); ?> found in header.php.
- <?php bloginfo(‘stylesheet_directory’); ?> found throughout the theme.
- <?php bloginfo(‘description’); ?> found throughout the theme. Your site’s slogan
- <?php wp_head(); ?> found in header.php in head section
- <body <?php body_class(); ?>>found in header.php.
Here is list which functions and tags need to include in functions.php file.
- if ( ! isset( $content_width ) ) $content_width = 500; found in functions.php
- add_filter(‘the_content’, ‘make_clickable’); found in functions.php
- add_theme_support( ‘post-thumbnails’ ); found in functions.php
- add_theme_support( ‘automatic-feed-links’ ); found in functions.php
- add_shortcode(‘wp_caption’, ‘fixed_img_caption_shortcode’); found in functions.php
- add_shortcode(‘caption’, ‘fixed_img_caption_shortcode’); found in functions.php
Above tags are very important and you need to include the this tags in your theme files.
wordpress template tags are very important for creating the wordpress theme. Thanks WebMaster