• I love this plugin and it does everything(except this one πŸ™‚ )

    I want to include blank categories to my sitemap.
    It will be even better if it can check for any draft posts(don’t want to include draft posts) inside the category before listing the category.

    Please post any possible hack to do this. Waiting for it.

Viewing 1 replies (of 1 total)
  • Thread Starter rabinbs

    (@rabinbs)

    Sorry to post this too early. I did this again by modifying the core plugin file.

    I edited line no 416 on wordpress-seo\inc\class-sitemaps.php
    changed the value from false to true
    $terms = get_terms( $taxonomy->name, array('hide_empty' => false) );

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WordPress SEO by Yoast] Include blank categories in sitemap’ is closed to new replies.