Title: support for class ?
Last modified: August 21, 2016

---

# support for class ?

 *  Resolved [Matt](https://wordpress.org/support/users/mattgast/)
 * (@mattgast)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/support-for-class/)
 * Hi Steven,
 * just a quick question … would it be possible to include support for the class
   attribute?
    I added it local but would be great to keep it if there is a new 
   update (if an update is coming)…
 * i just added from line 62:
 *     ```
       if(strpos($key, 'class') === 0) {
           $output .= ' '. $key .'="'. $att .'"';
       }
       ```
   
 * Cheers,
    Matt
 * [http://wordpress.org/extend/plugins/seo-internal-link-shortcode/](http://wordpress.org/extend/plugins/seo-internal-link-shortcode/)

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

 *  Plugin Author [Steven Vachon](https://wordpress.org/support/users/prometh/)
 * (@prometh)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/support-for-class/#post-3867899)
 * Hi Matt. Why not just use `attr_class="something"`?
 *  Thread Starter [Matt](https://wordpress.org/support/users/mattgast/)
 * (@mattgast)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/support-for-class/#post-3867903)
 * Man, i didn’t even think about that … sometimes it’s just too simple.
    Cheers
   🙂

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

The topic ‘support for class ?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/seo-internal-link-shortcode.svg)
 * [SEO Internal Link Shortcode](https://wordpress.org/plugins/seo-internal-link-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/seo-internal-link-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/seo-internal-link-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seo-internal-link-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seo-internal-link-shortcode/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Matt](https://wordpress.org/support/users/mattgast/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/support-for-class/#post-3867903)
 * Status: resolved