wordpress ajax search posts

You are using post_permalink() that is deprecated. Please use get_permalink() or the_permalink() and also make sure that ajax function is called successfully by simply returning any string from ajax function.

Wp admin ajax load more

It sounds like you’re not super fluent with javascript/jQuery or PHP. if you’re not looking to learn how to code then I would suggest you pick a plugin to handle that for you. Otherwise there’s tons of tutorials out there on how to use ajax with wordpress to build that feature, like this one.

Registration form AJAX check for existing username (simple version)

You’re POSTing user_name but in your code you’re checking for register_name, you should instead check $_POST[‘user_name’] instead. You should also be checking to make sure a value is actually being passed as well, this is how I would do it instead (setting unavailable as default): function mpl_check_username() { $response = array( ‘status’ => ‘unavailable’, ‘text’ … Read more