In this video from Zac Gordon's short course on AJAX in WordPress, Zac introduces how AJAX in WordPress works. Course javascriptforwp.com/product/a... Source Code github.com/zgordon/wordpress-...
Пікірлер: 34
@seniorvikita38024 жыл бұрын
So I look around the web but eventually come back here. This man is the best.
@sashasasha6525 жыл бұрын
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!)
@edhead765 жыл бұрын
Dude, thank you! I was given a project that has been hell. lol. This was very clear and easy to follow.
@iwanwilaga5 жыл бұрын
Nice teaches, thank you, Zac (bro:). Also quite adequate cultural background is being sported behind ya! :D Keep going!
@hello_mandi5 жыл бұрын
Dude you speak so fast (compared to other tutorials) I tought the video was at 2 velocity, that's amazing. Thanks for the video!
@Edu4Dev2 жыл бұрын
Djembé, coolest percussion
@GuptaTreePoint4 жыл бұрын
Where should I create hook and ajax function please explain file also bcz I am new in WordPress
@guadalupeornelas15274 жыл бұрын
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?
@ahmedmusawir4 жыл бұрын
Great stuff! Would be better if your face wasn't blocking the code ...
@aurelianspodarec26294 жыл бұрын
Maybe a bit smaller would be fine
@kornelijekovac97934 жыл бұрын
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?
@cinthia76175 жыл бұрын
I'm having a Status Code: 400 Bad Request. What could be wrong?
@linkup901ify4 жыл бұрын
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.
@superjaykramer3 жыл бұрын
where do you put your javascripts?
@damindadineshimaduwagamage9044 Жыл бұрын
can you put the code that goes on the plugin in functions.php file ?
@spectreross36935 жыл бұрын
just a question where should i put the localize_script?
@SalmanRavoof5 жыл бұрын
@Michael Lau He has a separate video on how to do it. Look it up. kzfaq.info/get/bejne/pdOEqKWGuJe4pqM.html
@manticore9784 жыл бұрын
where is the next video with the examples?
@kristijanluksic23413 жыл бұрын
This video would have so much more value if you demonstrated it with a simple example.
@edhead765 жыл бұрын
what font do you use when you code? I want that "f" lol
@ZacGordon5 жыл бұрын
Dank Mono :) javascriptforwp.com/vscode-settings/
@samybaxy4 жыл бұрын
I also wanted that font! I'm coming for ya Dank Mono 🤪
@studywithrobin27153 жыл бұрын
Please consider adding captions for the hearing impaired. :)
@muhammadfarooqi3 жыл бұрын
did somebody try moving his picture by dragging on screen???
@kottkottsan5 жыл бұрын
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!
@DavidLeighAlsace5 жыл бұрын
I believe it's preset if you're logged in (?and in admin?), but not if you're logged out.
@Moreno60002 жыл бұрын
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
@tubebility3 жыл бұрын
I see! 🤔
@jimderonde81555 жыл бұрын
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 ;(
@ZacGordon5 жыл бұрын
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 :)
@KailashKumar-cy1yz3 жыл бұрын
Hii For the AJAX filter for blog post and custom post time check this plugin: wordpress.org/plugins/category-ajax-filter/
@tagfat4 жыл бұрын
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.
@tagfat4 жыл бұрын
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.