WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Add Meta keywords for archives custom post type (3 posts)

  1. creativexperience
    Member
    Posted 1 year ago #

    Hi,
    thanks for your plugin ! Could you add support Meta keywords for Archives custo post type ?

    Thanks a lot

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. sireneweb
    Member
    Posted 1 year ago #

    Add this line at 131 in metas.php

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

  3. sireneweb
    Member
    Posted 1 year ago #

    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];
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.