SOLVED - Double Description (only if RANK MATH activated)

MrSam_1

Well-known member
Administrative
Trusted Seller
Dec 1, 2018
23,638
26,982
120
I'm not familiar with the theme you mentioned, but do you have any other SEO plugins installed?
 

Djamel

Member
Jul 13, 2020
61
19
8
Algiers, Algeria
No, i'm using just Rank Math. but when i delete RM and install Yoast the probleme is solved. But I must use Rank Math... "I know there a code whish use the tagline as a description.."
 

Djamel

Member
Jul 13, 2020
61
19
8
Algiers, Algeria
i mean the theme designers added the code to put the tagline as description to favor yoast. if anyone can help me find this code .. otherwise, I only want to use Rank Math.
 

NostraDumbAss

Well-known member
Babiato Lover
GiveAway Master
Trusted Seller
Trusted Uploader
Apr 25, 2021
294
280
63
Babiato
In your theme's settings, you should have an option as "description", see if there's anything there.
If not, where you add your description (in customization section), you can safely delete the one you have in RM.
 

Djamel

Member
Jul 13, 2020
61
19
8
Algiers, Algeria
In your theme's settings, you should have an option as "description", see if there's anything there.
If not, where you add your description (in customization section), you can safely delete the one you have in RM.
PLease, on my theme a code that i can't locate, uses siste's TAGLINE as site DESCRIPTION and I don't have the experience and knowledge to find this code... even on header.php.
 

Djamel

Member
Jul 13, 2020
61
19
8
Algiers, Algeria
Solved :
On the file functions.php of the theme search and delete this code :


/*if YOAST plugin activated, let it do its work*/
if (!defined('WPSEO_VERSION')) {
echo '<meta name="description" content="';
echo esc_attr(bloginfo( 'description' ));
echo '" />';
}
 

die2mrw007

Senior Developer
Jun 4, 2020
271
108
43
India
www.gizmolord.com
Solved :
On the file functions.php of the theme search and delete this code :


/*if YOAST plugin activated, let it do its work*/
if (!defined('WPSEO_VERSION')) {
echo '<meta name="description" content="';
echo esc_attr(bloginfo( 'description' ));
echo '" />';
}
Will be helpful for others who are using this same theme.
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu