• Resolved macangelo

    (@macangelo)


    Hi

    I don’t want to show the page title on the glossary term page. Here’s the reason why:

    I have short terms, for example “SERP”. To get better results on Google I want to use longer H1 in question form, for example “Was ist ein SERP” (in English: What is SERP). So when the page title is displayed I have two H1.

    I tried css (display: none;) for the entry title but Google still seams to recognize it (see example above).

    How can I do that?
    Thanks a lot

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi macangelo,
    I am not sure if you are talking about “Was ist ein SERP?” that you want to hide.
    If you are talking about this it is something that you should handle in your theme. It is something that is printed by the theme itself and we cannot do anything with it.

    Thread Starter macangelo

    (@macangelo)

    Hi Daniele

    No, that’s not what I’m talking about. “Was ist ein SERP” is the title I want to use (I put it in <h2></h2> but I want this to be in H1. If you look into the source code of https://eyelikeit.com/fachbegriffe/serp/ you also see the line:

    <h1 class="entry-title">SERP</h1>

    This is presumably generated by the glossary term page template I assume. I made it invisible via CSS but my Google Tools still notice it as a H1 title … and complain when I make the wanted title “Was ist ein SERP” a H1 title …

    No it is generated by the theme.
    The plugin doesn’t generate the html page but only the content itself (and not the title).
    If you search inside the plugin code you won’t find the entry-title class as example.

    This CSS class is added by themes and differs by theme also if it is a standard in WordPress.

    Thread Starter macangelo

    (@macangelo)

    Hi Daniele

    Thanks, that helped! I found the code line in a file “single.php” in the template folder.

    Thanks a lot!
    Uwe

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hide page title on glossary term page’ is closed to new replies.