Skip to content

Instantly share code, notes, and snippets.

View claudioweb's full-sized avatar

Claudio Campos Furbino Rabelo claudioweb

View GitHub Profile
@claudioweb
claudioweb / yoast-seo-sitemap.php
Created November 24, 2016 18:38 — forked from mohandere/yoast-seo-sitemap.php
Wordpress yoast seo plugin, generate custom sitemap for custom URLS
<?php
/**
* Create a new custom yoast seo sitemap
*/
add_filter( 'wpseo_sitemap_index', 'ex_add_sitemap_custom_items' );
add_action( 'init', 'init_wpseo_do_sitemap_actions' );
// Add custom index