How to remove theme generated Meta description from the website
-
Hi Guys, I hope somebody helps me.
I recently Found Multiple Meta descriptions issues through the AHrefs site audit. theme is generating one meta description and my SEO plugin(SEOPress) is generating one meta description. Can you please help me with how to remove the theme meta description code from the website? I am not good at the technical stuff. It will be great if you help me. Thanks in advance.
Here is the screenshot of the issues. https://prnt.sc/ze6Cko6kIYZo
FUnction.php code
/* Push google analytics code in head area */ function qoxag_meta_des_viewport(){ ?> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5"> <meta name="description" content="<?php if ( is_single() ) { single_post_title('', true); } else { bloginfo('name'); echo " - "; bloginfo('description'); } ?>" /> <?php } add_action('wp_head', 'qoxag_meta_des_viewport', 1);
Please tell me how to remove that meta description alone.
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to remove theme generated Meta description from the website’ is closed to new replies.