jtwright
Forum Replies Created
-
This worked perfectly for me. Download the following plugin:
http://guff.szub.net/downloads/head-meta-desc.zip
Extract the head-meta-desc.php, upload it to your wp-content/plugins directory and then activate ‘Head Meta Description’ under Plugins in the Dashboard.
Insert the following code into your <head></head> section (generally found in the header.php file):
<?php head_meta_desc(); ?>
This will generate the following code:
<meta name=”description” content=”(whatever the first X number or words you have for that page’s post)” />
There are a couple variables in the plugin: $desc_length sets the number of words of the post or Page to place in the meta tag. Very useful if you want to add more or less info for the description’s content. I personally have mine set to 50 words.
Forum: Fixing WordPress
In reply to: how to auto generate description meta tags?This worked perfectly for me. Download the following plugin:
http://guff.szub.net/downloads/head-meta-desc.zip
Extract the head-meta-desc.php, upload it to your wp-content/plugins directory and then activate ‘Head Meta Description’ under Plugins in the Dashboard.
Insert the following code into your <head></head> section (generally found in the header.php file):
<?php head_meta_desc(); ?>
This will generate the following code:
<meta name=”description” content=”(whatever the first X number or words you have for that page’s post)” />
There are a couple variables in the plugin: $desc_length sets the number of words of the post or Page to place in the meta tag. Very useful if you want to add more or less info for the description’s content. I personally have mine set to 50 words.