Set default keywords
-
I was trying to make easier the selection of keywords and I thought default keywords would be great. The idea is have a pre-selected keyword including the wp_title and the option to add new ones.
For example: (aioseop_functions.php)
<?php _e('Keywords (comma separated):', 'all_in_one_seo_pack') ?></th> <td> <input value="<?php echo $keywords ?>" type="text" name="aiosp_keywords" size="62"/></td>
I have this:
<?php _e('Keywords (comma separated):', 'all_in_one_seo_pack') ?></th> <td> <input value="<?php echo $keywords ?> <?php echo wp_title ?> <?php _e('keyword 1, keyword2:', 'all_in_one_seo_pack') ?>" type="text" name="aiosp_keywords" size="62"/></td>
All I have is this: (aioseop.class.php)
and works good but I have to type at least one keyword to make ti work.
} $keywords = str_replace('"','',$keywords); $meta_string .= sprintf("<meta name=\"keywords\" content=\"%s, consultora it, consultora it rivas\" />", $keywords); }
Help please.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Set default keywords’ is closed to new replies.