WordPress.org

Ready to get started?Download WordPress

Forums

Simple SEO (Search Engine Optimization)
Needs some polishing (5 posts)

  1. waltervos
    Member
    Posted 3 years ago #

    Nice plugin. It's much more user friendly than All In One SEO Pack in the way that you can set custom page titles and menu labels. It does need some polishing however:

    When editing a post, there is still the option to supply a Custom Menu Label. This makes no sense since posts aren't part of a menu.

    Also, why not enable excerpts for pages? Those could be used for the meta description. Here is the code to enable the excerpt meta box when editing a page:

    add_action('edit_page_form', 'do_page_excerpts');
    function do_page_excerpts() {
        add_meta_box('page_excerpt', __('Excerpt'), 'make_page_excerpt_box', 'page', 'advanced', 'core');
    }
    function make_page_excerpt_box () {
        global $post;
        echo "<label for=\"excerpt\" class=\"hidden\">Excerpt</label>";
        echo "<textarea id=\"excerpt\" tabindex=\"6\" name=\"excerpt\" cols=\"40\" rows=\"1\"/>$post->post_excerpt</textarea>";
        echo "<p>Excerpts are optional hand-crafted summaries of your content. You can <a target=\"_blank\" href=\"http://codex.wordpress.org/Template_Tags/the_excerpt\">use them in your template</a></p>";
    }

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

  2. Pär Thernström
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks for the feedback! Got some good points there.

  3. waltervos
    Member
    Posted 3 years ago #

    No problem, I hope you'll update your plugin soon :-)

  4. Duilio
    Member
    Posted 3 years ago #

    Hi,
    I'd like to know why Custom Page Title doesn't works on my blog

    http://missrossella.netsons.org

    I tell you that blog below doesn't use any posts. It is made only of static pages.

    Thanks a lot for answeres.

  5. mcdonna
    Member
    Posted 3 years ago #

    There is a simpler way to enable excerpts for pages:

    add_post_type_support( 'page', 'excerpt' );

    WordPress will then add an excerpt meta box just as it does for posts.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic