• Resolved tarahiboard

    (@sitepeyman)


    Hi, I want to use the title tag where I need it
    When using the add_filter command (‘wpseo_title’, ‘__return_false’);
    All title tags are removed.
    I want to load the <title> title post </title> in a more appropriate place and the Yoast tool does not generate a title tag

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @sitepeyman

    If you want to modify the <title> tag output from the Yoast SEO plugin, you may want to check out our Metadata API here – https://developer.yoast.com/customization/apis/metadata-api/

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi,

    This thread has been marked as resolved due to lack of activity by original poster.

    If you are not the original poster but have a similar issue, please open a new request.

    Thread Starter tarahiboard

    (@sitepeyman)

    Hi,
    No, there was no answer to my question.
    I need a function that removes the <title> tag that yoast SEO generates Because I want to call the following code after the <Head> tag:

    <!doctype html>
    <html <?php language_attributes(); ?>>
    <head>
    MY code: <title><?php wp_title(”); ?></title>
    _______________________________________________________
    If I do not remove the Yoast SEO plugin that creates the <title> tag, I will have two <title> tags inside the site.
    I also used the following code but it deletes all the title tags.
    add_filter( ‘wpseo_title’ , ‘__return_false’ )
    _______________________________________________________
    Help me remove the <title> tag created by Yoast SEO with a function. I did this by editing the Yoast SEO code, but the my changes will be removed after update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘remove tag title’ is closed to new replies.