function sediment_get_view_count() {

	$post_id = isset( $_GET['post_id'] )
		? absint( $_GET['post_id'] )
		: 0;

	if ( ! $post_id ) {
		wp_send_json_error();
	}

	$count = (int) get_post_meta(
		$post_id,
		'_view_count',
		true
	);

	wp_send_json_success(
		array(
			'count' => number_format_i18n( $count ),
		)
	);
}

add_action( 'wp_ajax_sediment_get_view_count', 'sediment_get_view_count' );
add_action( 'wp_ajax_nopriv_sediment_get_view_count', 'sediment_get_view_count' );<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//sediment.blog/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://sediment.blog/post-sitemap.xml</loc>
		<lastmod>2026-07-16T14:13:32+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sediment.blog/page-sitemap.xml</loc>
		<lastmod>2026-07-16T19:25:32+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sediment.blog/knowledge-sitemap.xml</loc>
		<lastmod>2026-07-16T18:34:44+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sediment.blog/category-sitemap.xml</loc>
		<lastmod>2026-07-16T14:13:32+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sediment.blog/post_tag-sitemap.xml</loc>
		<lastmod>2026-07-16T14:13:32+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sediment.blog/author-sitemap.xml</loc>
		<lastmod>2026-07-15T19:25:36+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->