• This plugin is not working very well for me. The ID’s are not being added.

    I initially had it network activated, then thought maybe it would work better as a single activation (not that I could think of any reason why it would work better that way), then I thought maybe my social sharing plugin was causing problems, so I deactivated that, but none of these things seem to help make the plugin work.

    Any ideas on what might be causing this?

    Here’s a page with headings which I assumed would get ID’s on, but sadly they are not :/
    https://ryanhellyer.net/test2/

    https://www.ads-software.com/plugins/add-ids-to-header-tags/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m also experiencing issues. I think it added the IDs sometimes before, but most of the time it doesn’t. I’ll see if I can get to the bottom of it.

    Ah, I’ve found the problem. I was expecting it to work on pages, but because it uses is_single(), it only works for posts. The solution is to switch is_single() for is_singular(), or if attachments should be excluded, just add || is_page();

    Thanks @jdgrimes! Great solution, worked for me.

    still not picking it up after the change above?

    I use: https://www.backlinkgenerator.net/seo-tool

    and still get:

    Title Headers This website had a total of 0 header tags used. These help engines categorize. 0%

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Not adding IDs’ is closed to new replies.