WordPress.org

Support

Support » Plugins and Hacks » Not adding IDs

Not adding IDs

  • Ryan Hellyer
    Participant

    @ryanhellyer

    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 :/
    http://ryanhellyer.net/test2/

    http://wordpress.org/plugins/add-ids-to-header-tags/

Viewing 4 replies - 1 through 4 (of 4 total)
  • J.D. Grimes
    Participant

    @jdgrimes

    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.

    J.D. Grimes
    Participant

    @jdgrimes

    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();

    joerhoney
    Participant

    @joerhoney

    Thanks @jdgrimes! Great solution, worked for me.

    still not picking it up after the change above?

    I use: http://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.