I checked the page, indeed it’s not working, we need to have a look at the WordPres debug.log file to see if any further info is available there.
We’ll need access to your site to check this, so please send us an email at support@pokatheme.com with your website FTP credentials to see what’s wrong.
When you are using a child theme (PokaTheme child), then all the functionality of the parent theme (PokaTheme) still remains, this is the purpose of the child themes.
So you should activate the PokaTheme child theme on your website.
You can do this by adding a meta tag to the HTML head section of that specific page. You can achieve this using this code. You could add it to your child theme’s functions.php or using a plugin like Code Snippets.
function add_noindex_meta_tag() {
// Check if it's the specific archive page you want to target
if (is_post_type_archive('affiliates')) {
echo '<meta name="robots" content="noindex, follow" />';
}
}
add_action('wp_head', 'add_noindex_meta_tag');