is there any way to sort url alphabetically?
]]>Hi, need to set individual priority values for pages, posts, categories, tags, can you show an example how can i implement this?
this work fine but this work for all post type… Thanks for help
add_filter( 'wp_sitemaps_posts_entry', 'add_sitemap_tags', 25, 2 );
function add_sitemap_tags( $entry, $post ) {
$entry[ 'priority' ] = '40%';
$entry[ 'changefreq' ] = 'Monthly';
$entry[ 'lastmod' ] = $post->post_modified_gmt;
return $entry;
}
]]>
may be need update
]]>I updated to version 5.5 but the sitemap does not display.
Please advise
]]>Please show exactly for beginners how to do it when you want to disable.
p.ex. I want to have posts and pages only, NO authors (I’m the only one) NO categories, NO tags and NO feeds!
where to put the hooks? Fuctions.php?
and BTW why no control page???
]]>add_filter(
‘wp_sitemaps_posts_entry’,
function( $entry, $post ) {
$entry[‘lastmod’] = $post->post_modified_gmt;
return $entry;
},
10,
2
);
Should the above really get translated ???
]]>For your plugin to work, there is not enough administrative panel and explanations on setting up (for example) nginx
thx
]]>