Title: If statement and mail() function
Last modified: March 16, 2021

---

# If statement and mail() function

 *  Resolved [inkypaper](https://wordpress.org/support/users/inkypaper/)
 * (@inkypaper)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/if-statement-and-mail-function/)
 * Is there a way to get dynamic plugins like a contact form with “mail() function”
   or php code like “if statement” for mobile visitors in the static site or are
   there alternatives for these?

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

 *  Thread Starter [inkypaper](https://wordpress.org/support/users/inkypaper/)
 * (@inkypaper)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/if-statement-and-mail-function/#post-14191916)
 * Site search not working too.
 *  Thread Starter [inkypaper](https://wordpress.org/support/users/inkypaper/)
 * (@inkypaper)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/if-statement-and-mail-function/#post-14193449)
 * and tabs in posts pages not working
 *  Plugin Author [patrickposner](https://wordpress.org/support/users/patrickposner/)
 * (@patrickposner)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/if-statement-and-mail-function/#post-14198309)
 * Hey [@inkypaper](https://wordpress.org/support/users/inkypaper/),
 * thanks for your message.
 * This is pretty much the problem of static sites.
 * For any kind of dynamic solution, you have to use external services due to the
   fact, that there is no server to handle dynamic requests.
 * The pro version of Simply Static (which is not available yet) will tackle some
   of these things (like search and forms).
 * Anyway, a little google search should help you with all of that (Algolia Search,
   StaticForms..)
 * Best regards,
    Patrick`
    -  This reply was modified 5 years, 2 months ago by [patrickposner](https://wordpress.org/support/users/patrickposner/).
 *  Thread Starter [inkypaper](https://wordpress.org/support/users/inkypaper/)
 * (@inkypaper)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/if-statement-and-mail-function/#post-14214410)
 * I solved search problem with a plugin that caches the search. and used formspree
   for a contact form.

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

The topic ‘If statement and mail() function’ is closed to new replies.

 * ![](https://ps.w.org/simply-static/assets/icon-256x256.png?rev=2443263)
 * [Simply Static - The Static Site Generator](https://wordpress.org/plugins/simply-static/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simply-static/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simply-static/)
 * [Active Topics](https://wordpress.org/support/plugin/simply-static/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simply-static/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simply-static/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [inkypaper](https://wordpress.org/support/users/inkypaper/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/if-statement-and-mail-function/#post-14214410)
 * Status: resolved