Title: Not adding IDs
Last modified: August 21, 2016

---

# Not adding IDs

 *  [Ryan Hellyer](https://wordpress.org/support/users/ryanhellyer/)
 * (@ryanhellyer)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/not-adding-ids/)
 * 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://ryanhellyer.net/test2/)
 * [http://wordpress.org/plugins/add-ids-to-header-tags/](http://wordpress.org/plugins/add-ids-to-header-tags/)

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

 *  [J.D. Grimes](https://wordpress.org/support/users/jdgrimes/)
 * (@jdgrimes)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/not-adding-ids/#post-4384173)
 * 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](https://wordpress.org/support/users/jdgrimes/)
 * (@jdgrimes)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/not-adding-ids/#post-4384174)
 * 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()`;
 *  [Joe Rhoney](https://wordpress.org/support/users/joerhoney/)
 * (@joerhoney)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/not-adding-ids/#post-4384182)
 * Thanks [@jdgrimes](https://wordpress.org/support/users/jdgrimes/)! Great solution,
   worked for me.
 *  [cowcow](https://wordpress.org/support/users/cowcow/)
 * (@cowcow)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/not-adding-ids/#post-4384217)
 * still not picking it up after the change above?
 * I use: [http://www.backlinkgenerator.net/seo-tool](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.

 * ![](https://s.w.org/plugins/geopattern-icon/add-ids-to-header-tags.svg)
 * [Add IDs to Header Tags](https://wordpress.org/plugins/add-ids-to-header-tags/)
 * [Support Threads](https://wordpress.org/support/plugin/add-ids-to-header-tags/)
 * [Active Topics](https://wordpress.org/support/plugin/add-ids-to-header-tags/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/add-ids-to-header-tags/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/add-ids-to-header-tags/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [cowcow](https://wordpress.org/support/users/cowcow/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/not-adding-ids/#post-4384217)
 * Status: not resolved