Add custom fields in user profile

Place the code below into your functions.php file to add custom user profile fields. Edit or add lines as you see fit.Remember not to remove the line: return $contactmethods; otherwise this won’t work. To display custom fields you can use one of the two methods listed below.Accessing fields Option 1:the_author_meta(‘facebook’, $current_author->ID);Option 2: In this way […]

Read More…

Using wordpress admin ajax

Using wordpress admin ajax is very simple. You need to follow this steps accordingly. Create a function to display your form in front end. You can use short code to include your form in post/page. Make sure you must have action filed in form, with the help of action value you can access wp_ajax hook. […]

Read More…