Wordpress Plugin: GK Form Contact Saver

in #utopian-io9 years ago

Today I present to you another wordpress plugin - GK Form Contact saver, which allows any wordpress solution to obtain the capability to save the data from front end forms via AJAX script.


image.png

Purpose of the plugin

The plugin can be used as an alternative means for standard POST and GET form submissions, through using AJAX to send over the form data values to be stored into wordpress posts / Contacts. The plugin can also be using as a sure way to save filled data if the visitor also decides to leave without submission, post cofirmation.
Data will be stored within a custom post type that we created for this purpose, called contacts (wordpress internal name would be gk_unload_contacts)

Coding the plugin

As a standard wordpress plugin, again the language used was PHP. The front end functionality relies on the custom form data as provided by your custom form, but needs to adhere to the form values supported by the plugin.
Storing database values is also via standard wordpress interfacing functionalities. Standard functionalities used for data storage include wp_insert_post for creating the initial entry, but also add_post_meta to insert individual custom values into the post.

Utilizing the plugin

The plugin's functionality is hidden in the back end, and relies on the form created by the user as highlighted above. Yet the outcome of all the data being saved is visible under the contacts custom post type which is accessible via the left menu tab


image.png

The screen for the actual data would have the following header


image.png

Further details will be shed on the plugin in the official documentation once released.

Downloading the plugin

The plugin can be obtained from the official GitHub repository
Being the sole contributor (and creator) of the plugin, there are currently no branches/forks/gists/pull requests, and all the code is openly accessible via above link.
Feel free to check it out, and let me know should you have any questions :)

Thank you

@mcfarhat



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

well done brother. you are doing very well. thanks for sharing informative and educational content.

So you a hacker?!

hahaha yes! just hacked ur key due to this comment of yours :P

Very interesting thank you so much.

Thank you bigbear :)

Hello and welcome to STEEMIT! Please follow and upvote me, as well as all your other friends you connect with here. Have a great day!

This contribution has been approved.

Thanks.

[utopian-moderator]

Qurator
Your Quality Content Curator
This post has been upvoted and given the stamp of authenticity by @qurator. To join the quality content creators and receive daily upvotes click here for more info.

Qurator's exclusive support bot is now live. For more info click HERE or send some SBD and your link to @qustodian to get even more support.

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by mcfarhat from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews/crimsonclad, and netuoso. The goal is to help Steemit grow by supporting Minnows and creating a social network. Please find us in the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

Congratulations @mcfarhat! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes received

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Hey @mcfarhat I am @utopian-io. I have just upvoted you at 16% Power!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.076
BTC 64056.44
ETH 1676.52
USDT 1.00
SBD 0.41