Title: Adding to theme template
Last modified: August 21, 2016

---

# Adding to theme template

 *  Resolved [jasonwastaken](https://wordpress.org/support/users/jasonwastaken/)
 * (@jasonwastaken)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/adding-to-theme-template/)
 * How can I use this in my php page templates? Is there a class or ID I can assign
   to items in my template php pages?
 * Such as <span class=”tooltip tooltip15″>Hover to read more</span>
 * [http://wordpress.org/plugins/simple-tooltips/](http://wordpress.org/plugins/simple-tooltips/)

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

 *  Thread Starter [jasonwastaken](https://wordpress.org/support/users/jasonwastaken/)
 * (@jasonwastaken)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/adding-to-theme-template/#post-4085070)
 * Or a better example: [hover over me to see tooltip](https://wordpress.org/support/topic/adding-to-theme-template/?output_format=md#)
 *  Plugin Author [ClevelandWebDeveloper](https://wordpress.org/support/users/clevelandwebdeveloper/)
 * (@clevelandwebdeveloper)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/adding-to-theme-template/#post-4085357)
 * Hi Jason,
 * To define a tooltip:
    1. Add class “tooltips” to the target html element. 2. 
   The title attribute will be used for the tooltip content.
 * So for your second example, this would look like:
 * `<a class="tooltips" title="this will show in a tooltip" href="#">hover over 
   me to see tooltip</a>`

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

The topic ‘Adding to theme template’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-tooltips_cfcfcf.svg)
 * [Simple Tooltips](https://wordpress.org/plugins/simple-tooltips/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-tooltips/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-tooltips/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-tooltips/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-tooltips/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-tooltips/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ClevelandWebDeveloper](https://wordpress.org/support/users/clevelandwebdeveloper/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/adding-to-theme-template/#post-4085357)
 * Status: resolved