Title: adding the class?
Last modified: August 19, 2016

---

# adding the class?

 *  [screenshot](https://wordpress.org/support/users/screenshot/)
 * (@screenshot)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/adding-the-class/)
 * Can you be a little more specific on the instructions for adding the contact 
   link to the theme? I’m using WordPress 2.3.2 and the default theme. I just want
   a link or something that opens the form.

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

 *  [Eric](https://wordpress.org/support/users/emartin24/)
 * (@emartin24)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/adding-the-class/#post-677420)
 * If you already have a contact link in your theme, all you need to do is add class
   =”smcf_link”. Example:
    `<a href="/contact" class="smcf_link">Contact</a>`
 * If you want the plugin to automatically add a contact link for you, you can just
   add the following to one of the files, sidebar.php, for example. Example:
 *     ```
       <?php if () : ?>
            <?php smcf() ?>
       <?php endif; ?>
       ```
   
 *  [zotium](https://wordpress.org/support/users/zotium/)
 * (@zotium)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/adding-the-class/#post-677563)
 * Hi,
 * I tried to put the plugin but it doesn’t pop up when I click it.
 * Tried both methods A and B. Can you help me check to see what’s wrong? at [http://ongster.com](http://ongster.com)
 * thanks!
 *  [Eric](https://wordpress.org/support/users/emartin24/)
 * (@emartin24)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/adding-the-class/#post-677564)
 * It looks like all of the smcf files are returning a 404 – not found.
 * Example:
    [http://www.ongster.com/wp/wp-content/plugins/smcf/js/jquery.js](http://www.ongster.com/wp/wp-content/plugins/smcf/js/jquery.js)
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/adding-the-class/#post-677565)
 * [http://www.ongster.com/wp/wp-content/plugins/](http://www.ongster.com/wp/wp-content/plugins/)
 * explains any 404s related to that.
 *  [Eric](https://wordpress.org/support/users/emartin24/)
 * (@emartin24)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/adding-the-class/#post-677568)
 * Indeed =)
 * [@zotium](https://wordpress.org/support/users/zotium/) – you need to rename the
   folder to smcf.
 *  [Amit Mandaliya](https://wordpress.org/support/users/asony999/)
 * (@asony999)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/adding-the-class/#post-677588)
 * I have installed the pluign in wordpress test blog on my pc but it is not working.
   I have read readme.txt several times and added code as suggested but it is not
   working.
 *  [Eric](https://wordpress.org/support/users/emartin24/)
 * (@emartin24)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/adding-the-class/#post-677592)
 * Which part is not working?
 * If the dialog just doesn’t show:
    1) View the source of your page and make sure
   that the jquery and simplemodal js files are referenced and can be accessed. 
   2) Make sure the link has class=”smcf_link”
 * If the mail is not being sent/received, see:
    [http://wordpress.org/support/topic/150831?replies=3](http://wordpress.org/support/topic/150831?replies=3)
 * -Eric
 *  [mrhandley](https://wordpress.org/support/users/mrhandley/)
 * (@mrhandley)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/adding-the-class/#post-677651)
 * I tried to add it to a testsite of mine.
 * I tried both the php if and the href variant, with no success.
    When I click 
   the link, all I get is a lightbox style shade over my site, but no contact form.
   Am I missing something obvious or doing something wrong?
 * /Mattias
 *  [Eric](https://wordpress.org/support/users/emartin24/)
 * (@emartin24)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/adding-the-class/#post-677652)
 * Mattias – [this post](http://www.ericmmartin.com/projects/smcf/#comment-230) 
   should help. If not, let me know.
 *  [mrhandley](https://wordpress.org/support/users/mrhandley/)
 * (@mrhandley)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/adding-the-class/#post-677653)
 * Sweet, looks like he had the exact same problem as me. Thanks a bunch, I´ll look
   in too it.
 * It took me about a minute to read the instructions in your comments:
 * “If you have a footer.php page, add the following before the </body> tag:
 * <?php wp_footer(); ?>”
 * I then added the footer call and it works like a charm.
 * Thanks again!
    /Mattias

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

The topic ‘adding the class?’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 10 replies
 * 6 participants
 * Last reply from: [mrhandley](https://wordpress.org/support/users/mrhandley/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/adding-the-class/#post-677653)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
