The second ajax call sends me to wp-admin/admin-ajax.php page. How to redirect to original page (where from 1st ajax call was sent) and make 2nd ajax call from there with new variables?
Why doesn't WordPress have all of this setup by default? Even when I've used JS editors plugins I kept running into problems trying to get an ID to fade in/out and update/change content...never quite worked hence I'm here trying to figure out why. I'm using Elementor so that could be causing problems.
Wow perfect! I'm recently thought, that finally, I've started understand how does AJAX works in WordPress after I've done some small features in different projects. Dude! Excellent explanation, great job!, but now I h8 u!)
I totally do not understand what i need to put into my url like i have been trying this for serval months and it still does not work. I followed 1000 tutorials they all say the same but no results
Hey there! Excelent tutorial, it worked for me. I have one question. Is it possible to print the result into the theme (php) with echo or something like that?
Two questions: Why address the source code in form of a plugin (wouldn't it be better to use without plugins)? Why don't you actually show the functionality in this video (getting errors when I implement your code in clean WP install)? Unfortunately this is not a method that can be easily implemented within every WP install ;(
Yes! Always start a guide or a tutorial with a four minute technical rambling with as many different concepts that you can think of. You can then safely explain what you plan to make and what the benefit would be. If you feel that is too soon, then just go on another rambling about the specific code that you want to use.
Where should I create hook and ajax function please explain file also bcz I am new in WordPress
So I look around the web but eventually come back here. This man is the best.
Great stuff! Would be better if your face wasn't blocking the code ...
Maybe a bit smaller would be fine
Djembé, coolest percussion
can you put the code that goes on the plugin in functions.php file ?
Dude, thank you! I was given a project that has been hell. lol. This was very clear and easy to follow.
The second ajax call sends me to wp-admin/admin-ajax.php page. How to redirect to original page (where from 1st ajax call was sent) and make 2nd ajax call from there with new variables?
Why doesn't WordPress have all of this setup by default? Even when I've used JS editors plugins I kept running into problems trying to get an ID to fade in/out and update/change content...never quite worked hence I'm here trying to figure out why. I'm using Elementor so that could be causing problems.
Wow perfect! I'm recently thought, that finally, I've started understand how does AJAX works in WordPress after I've done some small features in different projects. Dude! Excellent explanation, great job!, but now I h8 u!)
Dude you speak so fast (compared to other tutorials) I tought the video was at 2 velocity, that's amazing. Thanks for the video!
where do you put your javascripts?
Please consider adding captions for the hearing impaired. :)
This video would have so much more value if you demonstrated it with a simple example.
I totally do not understand what i need to put into my url like i have been trying this for serval months and it still does not work. I followed 1000 tutorials they all say the same but no results
where is the next video with the examples?
I'm having a Status Code: 400 Bad Request. What could be wrong?
Nice teaches, thank you, Zac (bro:). Also quite adequate cultural background is being sported behind ya! :D Keep going!
did somebody try moving his picture by dragging on screen???
just a question where should i put the localize_script?
@Michael Lau He has a separate video on how to do it. Look it up. ruclips.net/video/omTuBUS1Tvo/видео.html
Hey there!
Excelent tutorial, it worked for me. I have one question. Is it possible to print the result into the theme (php) with echo or something like that?
what font do you use when you code? I want that "f" lol
Dank Mono :)
javascriptforwp.com/vscode-settings/
I also wanted that font! I'm coming for ya Dank Mono 🤪
Two questions: Why address the source code in form of a plugin (wouldn't it be better to use without plugins)? Why don't you actually show the functionality in this video (getting errors when I implement your code in clean WP install)? Unfortunately this is not a method that can be easily implemented within every WP install ;(
Did you try using the code in the repo linked from the video? AJAX should be something you can add to any WordPress plugin or theme :)
Hii For the AJAX filter for blog post and custom post time check this plugin: wordpress.org/plugins/category-ajax-filter/
Yes! Always start a guide or a tutorial with a four minute technical rambling with as many different concepts that you can think of. You can then safely explain what you plan to make and what the benefit would be. If you feel that is too soon, then just go on another rambling about the specific code that you want to use.
And if you at the end forget to mention why you would do all this, it is not a problem. Most people will have left the video long before that.
Awesome video, smooth explaination~
I used >url: ajaxurl< before since it's ougth to be the same (well, preset). Is it? :P
Helped big, thx again!
I believe it's preset if you're logged in (?and in admin?), but not if you're logged out.
I see! 🤔
I wish I could see the code beyond your face