WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: autokeyword] Manula placement of keywords (3 posts)

  1. houseofstrauss
    Member
    Posted 4 years ago #

    I want to place the meta keywords template tag manually in my header.php

    Can you tell me how what template tag to use?

    Thanks.

    http://wordpress.org/extend/plugins/autokeyword/

  2. tfsi
    Member
    Posted 4 years ago #

    The initial version of Autokeyword does not support that option. I will integrate it in next version.

    Meantime, to place the meta keyword manually, please follow these steps:

    1. Open the plugin file autokeyword.php.
    2. Go to line 61
      61 add_action('wp_head', 'autokeyword');
    3. comment it out
      61 //add_action('wp_head', 'autokeyword');
    4. Edit your template header.php and insert this code
      <?php autokeyword(); ?>
      on the location you want.

    I hope this answers your question.

    Thank you for your interest in the Auto Keyword plugin.

  3. houseofstrauss
    Member
    Posted 4 years ago #

    Thank-you! that was just what I wanted to do. This enables me to manually place this tag in the correct position in the header.

    This is a very useful plugin. I will gather some information together on my setup where I use auto-excerpt for the description tag and maybe post here to show users how to make a full meta tag section for WP

Topic Closed

This topic has been closed to new replies.

About this Topic