Title: Inserting spot code like link in template hardcode
Last modified: August 21, 2016

---

# Inserting spot code like link in template hardcode

 *  [jabbo126](https://wordpress.org/support/users/jabbo126/)
 * (@jabbo126)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/inserting-spot-code-like-link-in-template-hardcode/)
 * Hi,
 * first of all – i want to thank you for this awesome plugin, it makes some things
   really easy for me to set it for end client.
 * But – i can’t figure out, how to do this:
 * In my template file header.php i have in header this code:
 * `<a href="mailto:email@email.com" target="_blank"><li class="mail">Contact us
   </li></a>`
 * **note:** i need to have ‘<a href’ before ‘li’ becouse i’m using negative text-
   indent to hide text itself and replace it with icon.
 * And i want just the e-mail adress to be dynamic so client can simply change adress
   itself somewhere in admin menu. But when i use this:
 * `<a href="<?php if (function_exists ('icit_spot')) icit_spot ('Top-line-email');?
   >" target="_blank">`
 * Where ‘Top-line-email’ is the name of my Spot with only ’email@email.com’ in 
   it – it really break my code. First at all – it inserts <p> inside of <a href…
   value, so it can’t work. And it puts “edit” div also.
 * This is the output in my code then:
 * `<a href="<div class="icit-spot-content"><div class="icit-spot-edit-link-holder"
   ><a class="icit-spot-edit-link" href="http://oriongroup.jabbo.cz/wp-admin/post.
   php?post=37&post_type=spot&action=edit">Edit Spot</a></div>email@email.com</div
   >" target="_blank"><li class="mail">Napište nám</li></a>`
 * Is there a way to use Spots just like a holder of clear unformated text so it
   won’t put any other <divs> and tags?
 * Thanx
 * [http://wordpress.org/extend/plugins/spots/](http://wordpress.org/extend/plugins/spots/)

The topic ‘Inserting spot code like link in template hardcode’ is closed to new 
replies.

 * ![](https://ps.w.org/spots/assets/icon-256x256.png?rev=1025761)
 * [Spots](https://wordpress.org/plugins/spots/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/spots/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/spots/)
 * [Active Topics](https://wordpress.org/support/plugin/spots/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/spots/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/spots/reviews/)

## Tags

 * [unformatted](https://wordpress.org/support/topic-tag/unformatted/)

 * 0 replies
 * 1 participant
 * Last reply from: [jabbo126](https://wordpress.org/support/users/jabbo126/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/inserting-spot-code-like-link-in-template-hardcode/)
 * Status: not resolved