Initial commit: Atomaste website

This commit is contained in:
2025-12-10 12:17:30 -05:00
commit 0b9e5d1605
19260 changed files with 5206382 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
<?php
/**
* Yoast SEO Compatibility File.
*
* @package Astra
*/
/**
* Astra Yoast SEO Compatibility
*
* @since 2.1.2
*/
class Astra_Yoast_SEO {
/**
* Constructor
*/
public function __construct() {
add_filter( 'wpseo_sitemap_exclude_post_type', array( $this, 'sitemap_exclude_post_type' ), 10, 2 );
}
/**
* Exclude One Content Type From Yoast SEO Sitemap
*
* @param string $value value.
* @param string $post_type Post Type.
* @since 2.1.2
*/
public function sitemap_exclude_post_type( $value, $post_type ) {
return 'astra-advanced-hook' === $post_type;
}
}
/**
* Kicking this off by object
*/
new Astra_Yoast_SEO();