This Blog Are Share Computer Related Notes For Education Purpose. ( CCNA , MCSA , Red Hat , Ethical Hacking , A+ , N+ , Computer Programming , Animation , Game Development , Web Designing , Cloud Computing , Android , Tally.ERP 9, Windows Tips And Tricks , Online Courses , Commerce , Digital Marketing And Vocational Education & More )


Tuesday, April 4, 2017

How to Add Autocomplete for Address Fields in WordPress By WPBeginner - WordPress Tutorials

How to Add Autocomplete for Address Fields in WordPress By WPBeginner - WordPress Tutorials.

Autocomplete Allows Your Visitors To Quickly Select An Address Form Suggestions Generated In Realtime As They Type. In This Video We'll Show You How To Add Autocomplete For Address Fields In Wordpress Using The Google Places API.

Text Version of This Tutorial :-

For this Tutorial We will be Using the Plugin: Address Autocomplete Using Google Place API.

With The Plugin Activated You Will Go To Settings, Google Autocomplete To Configure The Plugin's Settings.

It Will Ask For Your Google Places API Key, The Key Allows Your Website To Connect With Google Maps And Retrieve Autocomplete Suggestions From Their Database.

You Will Want To Visit Google's Developer Console Website And Create A New Project, The Developer Console Website Can Be Found Here :-

Provide A Name Fir Your Project, We Would Recommend One That Lets You Identify What It Is For.

You Should Automatically Be Redirected To Your New Project Which Lists The Popular Google Apis You Can Use In Your Project.

Select The Google Places API Key And Press The Enable Link Near The Top Of The Page.

Click The Create Credentials For You To Be Able To Use The API, As Well As The What Credentials Do I Need Button, And You Should See The API Key You Need To Copy Over To Your Wordpress Plugin.

For Your Project You Will Also Need To Go To Your Library And Also Enable The Google Maps Javascript API And Press The Enable Link In There As Well.

You Can Add The Autocomplete To Any Field In A Form Plugin By Viewing The Page The Form Is On And Right Clicking To Inspect Element The Object.

Copy The Name, ID, Or CSS Values For The Field And Paste It Into The Settings Page.

If You Would Like To Select Multiple Fields Just Add A Comma For Adding The New ID/Name.


No comments:

Post a Comment