Viewing 6 replies - 1 through 6 (of 6 total)
  • Have you tried putting in an img tag?

    <img src="/path/to/image.jpg" alt="description" class="some-class" />

    -Eric

    Thread Starter macyero

    (@macyero)

    Where do I make those changes? I am not sure which line to edit without breaking anything else.

    You should be able to add it on the SimpleModal Contact Form Configuration in your WordPress admin Settings.

    Thread Starter macyero

    (@macyero)

    I tried to adding it in the admin -> settings -> SMCF form within the “Contact Link Title” field but it does not take it. After clicking update the field gets truncated. I tried putting quotes but it still does not work. Not sure, it seems the input field takes in a text value so I was not sure if it would accept code but I gave it a try. When I view the “page source” I understand what it should be changed to but don’t know where or what line to change it to.

    Then in smcf.php, change:

    echo "<a href='$url'class='smcf-link'>$title</a>";

    to:

    echo "<a href='$url'class='smcf-link'><img src='' alt='' class=''/></a>";

    -Eric

    Thread Starter macyero

    (@macyero)

    Excellent, thank you so much for your help

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: SimpleModal Contact Form (SMCF)] Modifying the “Contact Link Title” w/image’ is closed to new replies.