• 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)
  • 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; ?>

    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

    thanks!

    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/

    explains any 404s related to that.

    Indeed =)

    @zotium – you need to rename the folder to smcf.

    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.

    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

    -Eric

    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

    Mattias – this post should help. If not, let me know.

    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.