Hi,
I have the wpml language switcher in my main menu, and since the languages are separated by domain, one of the links looks like this
<li class='av-language-switch-item language_en '><a href='https://www.domain.my' class="external" rel="nofollow" target="_blank"> <span class='language_flag'><img title='English' src='https://cdn.domain.my/wp-content/plugins/sitepress-multilingual-cms/res/flags/en.png' /></span></a></li>
I want to get rid of the target=”_blank” and the rel=”nofollow” but just can’t find where it is introduced in the first place.
Thank you!
Hey tinderella,
Looking at the code above I would guess it is coming from the plugin that is adding the flag
“/wp-content/plugins/sitepress-multilingual-cms/”
If this doesn’t help, please include a admin login in the private content area so we can take a closer look.
Best regards,
Mike