WordPress.org

Support

Support » Plugins and Hacks » Add Meta keywords for archives custom post type

Add Meta keywords for archives custom post type

Viewing 2 replies - 1 through 2 (of 2 total)
  • Add this line at 131 in metas.php

    echo $wpseo_admin_pages->textinput( 'metakey-ptarchive-' . $name, __( 'Meta keywords template', 'wordpress-seo' ) );

    In class-frontend.php, add this line at 776


    $post_type = get_post_type();
    if ( isset( $options['metakey-ptarchive-' . $post_type] ) && '' != $options['metakey-ptarchive-' . $post_type] ) {
    $metakey = $options['metakey-ptarchive-' . $post_type];
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add Meta keywords for archives custom post type’ is closed to new replies.