• Milan

    (@lipowski)


    Hello to everybody,

    can somebody help me please? I need to totally remove from wp_head title tag, because I want set up my own title and put it in my own order of lines in code manually. So what should be the code in function.php? I did lot of googling, no success. Thanks for help.

    Milan

Viewing 4 replies - 1 through 4 (of 4 total)
  • Pioneer Web Design

    (@swansonphotos)

    Generally the site title is output from the theme provided template header.php, and will be found between the title tags:

    <title>
    //theme specific code will be here
    </title>

    Note: If you edit your Parent Theme, it will be overwritten on theme update(s). Such work should be done using a proper Child Theme.

    Consulting theme provider prior is always a good idea.

    Thread Starter Milan

    (@lipowski)

    Yes, in that peiece of code is mine title.
    But wp_head is generating title also – and I need remove title from that place.

    In function.php I have something like this:
    remove_action('wp_head', 'wp_generator');

    I need something similar for title 🙂

    Pioneer Web Design

    (@swansonphotos)

    I am not convinced that your premise is correct:

    https://wordpress.org/support/topic/wp_head-adding-site-title?replies=14

    wp_head is not the likely issue. The likely issue is within your theme.

    The ‘title’ is used both as the H1 tag and also from (in most themes) wp_title
    as used in your theme.

    wp_title is what appears in the browser tab or header.

    Again, I encourage you to consult theme provider. They may have a method in place that uses some custom function(s). They are your point of support for your theme.

    Michael

    (@alchymyth)

    But wp_head is generating title also

    are you using any seo plugin(s)?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘How to remove title from wp_head’ is closed to new replies.