Found this yesterday and really appreciate your walk through on plugin dev. Finally had someone that could help a seasoned app developer cross into WordPressland development. Excellent presentation on all three vids!
@jherbison
3 жыл бұрын
Awesome.. Thank you for watching and commenting.
@bettadevindonesia9246
6 жыл бұрын
Hi Joshua i am from Indonesia, you are so great mentor! Your explanation make me easy understood what you actually mean. Just keep your style and give me more advance tutorial. Hats Off!!!
@jherbison
6 жыл бұрын
Thank you for the comment and nice words.
@stavroskefaleas6320
5 жыл бұрын
This amazing series of tutorials continue! Thank you sir for all your effort! You've got a real talent on this!
@jherbison
5 жыл бұрын
Thank you for the comment.
@urzakovich
2 жыл бұрын
Hello from Ukraine! It is a very good content. Thanks and good luck!
@jherbison
2 жыл бұрын
Thank you for watching and commenting. Welcome.
@SpiritMeaning
3 жыл бұрын
Amazing skills.. Really appreciate your kind efforts
@jherbison
3 жыл бұрын
Thank you for watching and commenting.
@technophile7024
5 жыл бұрын
Really awesome! I watched a lot tutorials on KZitem from different channels but I was not satisfied. But you depicted it well including live effect. A million thanks to you!
@jherbison
5 жыл бұрын
One of the best comments ever! Thank you!
@technophile7024
5 жыл бұрын
@@jherbison You deserve it! Thanks for genuine and swift response!
@C-MAG-Music
5 жыл бұрын
Hey Josh. :) Do you HAVE to write a separate function for the txt/html selector only because you always need to use a callback or cant you just put txt/html in as an argument, directly? (sorry, I only use other scripting languages) Thank you for this! I appreciate your time.
@jherbison
5 жыл бұрын
You do not need to use a callback. I do just in case I want to use it somewhere else.. Coding is about not repeating code. I typically write code to make things work, and then as I need it again, I write a function to be able to use it over and over.
@sajidhanif77
3 жыл бұрын
Hi Joshua, I am new to wordpress development. Your way of explaining is very nice. You give the concept without making it over complicated. Thanks for sharing this valuable information. I don't know if in this video series if somewhere you send an attachment too by email, if not if you could share that line of code simply in the reply, that will make my life easy, as I have CF7 to get some information but the styling of file chooser and submit button is quite ugly so I believe I should better follow your video to create a nice form through plugin :) I quickly visited your company website and that is excellent too. Anyway thanks once again for your efforts and sharing very useful information.
@jherbison
2 жыл бұрын
Thank you
@miromargineanu4712
4 жыл бұрын
Interesting video - but would you mind telling us why you remove the HTML filter on the WordPress mail afterwards? Wouldn't it be better to have it keep on supporting HTML tags throughout the website?
@jherbison
4 жыл бұрын
Yes and No. It is not required to do that, but you never know what other plugins are going to be sending information and it may cause a conflict with the other plugin or code. If that was the case, WordPress would build sending all emails using HTML into the core. You can reduce the amount of processing and code by removing that and see if it doesn't conflict with anything else.
@JilaniAhmed
6 жыл бұрын
Love you Joshua Herbison! Waiting for more advance from you. Your coding, talking is very clear. Thank you so much.
@jherbison
6 жыл бұрын
Thank you for the comment...
@jherbison
6 жыл бұрын
ideapro.com/url/wp4
@JilaniAhmed
6 жыл бұрын
Thank you thank you so so much...
@JilaniAhmed
6 жыл бұрын
Please keep continue....
@prarthanasharma6954
5 жыл бұрын
awesome.. i am core php developer and i really want to go with plugin development.. but always it seems harder but after this its not any more :) thanks
@jherbison
5 жыл бұрын
Nice! I love to hear that. Yes, documentation and other videos make it seem much harder than it actually is. I like to show the basics and keep it as simple as possible.
@prarthanasharma6954
5 жыл бұрын
@@jherbison I am eagerly waiting for more detailed videos
@0Apostata0
4 жыл бұрын
I love writing scrooters, as the scrooter is very important, right after the header!
@jherbison
4 жыл бұрын
Ha! Some of those words run together in my brain and come out as new words!!!! Thank you for watching and commenting.
@robburns7482
5 жыл бұрын
Hi Joshua. Diggin' the tutorial. I've actually been thinking about creating a form building plugin. Just wondering... Why did we create a whole new function to define the mime type? Couldn't we just have defined that in the "form_capture()" function?? Thanks for the vids. they're a tremendous help!
@jherbison
5 жыл бұрын
Thank you for the comment. Not fully understanding your question.
@taraf9460
6 жыл бұрын
Hello Joshua, thank you for your tutorials. They are great and easy to understand. I have been trying to figure out how to add the wp.media 3.5 uploader on the frontend and save the uploaded photo/content to a new post.
@jherbison
4 жыл бұрын
Great question. I will add this to the list of videos to make. I wouldn't suggest showing the media uploader to the public, but there is a way to get those files uploaded. Sorry for the delay in commenting, but thank you for watching and commenting.
@anirudhachakrabarty2050
4 жыл бұрын
Awesome mate.. Really super easy to follow your tutorials.. Can you create tutorials about custom plugins by which we can add custom options for woocommerce? Thank you in advance.
@jherbison
4 жыл бұрын
I haven't really dug into woocommerce that much as I don't like it. I will take a look at it and see if I can make a few videos about it.
@tomirving3287
6 жыл бұрын
Hi Joshua, Very good videos, Very well spoken and clear instructions. I have a question, let's say create a form with some texts and a file to upload an image that shows up on sidebars, footers etc, or it can be used with a shortcode?? Thanks
@jherbison
6 жыл бұрын
Not sure I understand what you are asking..
@tomirving3287
6 жыл бұрын
In your video Part Two where you explained about a form called header and footer scripts, I want that to show on the web page not in 'Inspect Element'? I hope I have made it clearer.
@juandelacruz2923
4 жыл бұрын
Quarantine be like thanks for sharing and good explanation sir joshua more power godbless staysafe:)
@jherbison
4 жыл бұрын
Awesome.. Thank you for the comment.
@babitaverma2591
3 жыл бұрын
Thanx for the amazing tutorial, could you please make tutorial on carousel plugin development also. Thank you in advance.
@jherbison
2 жыл бұрын
Great suggestion!
@pinpokura8562
5 жыл бұрын
Awesome tutorials. I like your videos. thank you very much!
@jherbison
5 жыл бұрын
Thank you for the compliment and comment.
@md.farukuzzaman3911
3 жыл бұрын
Yes, I need to know, conditional form and form for calculation based on selection/input in the form field
@jherbison
2 жыл бұрын
Hope you found a solution for this.. Trying to go through all the comments I missed. You trying to do it after form submit with PHP or before form submit using JS? Thank you for watching and commenting..
@yourworstnightmare1488
5 жыл бұрын
Hey josh you are my hero man!! YOU ARE THE BEST!
@jherbison
5 жыл бұрын
Awesome! Thank you for the comment. Please share the video with anyone that could learn from it. I want to start growing the channel so I can make more videos.
@bharathism6757
6 жыл бұрын
this video is very helpful to me Mr.Josh Thank you
@jherbison
6 жыл бұрын
Awesome! Thank you for the comment.
@christianjhona.singian959
6 жыл бұрын
Hi Joshua, can we add a simple array? The array contains a list of the pages and the user can choose from the checkbox. For example, I have a "Testimonial" and "Contact" page, and their ID, for example, 12 and 18. I will check their respective checkbox and the plugin will show the script in the Testimonial and Contact page only.
@jherbison
6 жыл бұрын
I would need to understand more about what you are trying to build to provide a best solution for the project.
@sevdamurat4455
6 жыл бұрын
Yes you can do with this: add_action( 'wp_head', 'wpsites_add_tracking_code' ); function wpsites_add_tracking_code() { if ( is_page(200) ) { echo'add your tracking code here.'; } } As the example above you can add plugin code after is_page(page_id) check. It will cost php a page number check everytime anew page is loaded, thats all. I am not sure if there is a better way exists
@rousselrojas3352
4 жыл бұрын
Hi Josh good day to you! Would you mine on how to create a custom field in woocommerce ? like add a custom field in adding a product page?
@jherbison
4 жыл бұрын
I am not a fan of woocommerce, but I will take a look at it and see about making a video for it.
@alexlove2012
3 жыл бұрын
Wordpress has a builtin library to send email without any local Mail config, etc. It is called PHPMailer. Not sure about wp_head hook...it will trigger on every page...Among others you could use a page template ...but yah thank you for these tutorials.
@jherbison
2 жыл бұрын
Yes, thank you. If you are not using an smtp server you email will probably go to spam.
@PulpFreePress
5 жыл бұрын
Great series of videos Joshua!
@jherbison
5 жыл бұрын
Thank you for the compliment and comment. Glad you like the series.
@sixchiller5191
6 жыл бұрын
Really nice tutorial series you did here :) - In the second part, you talked about sub-pages for your plugin, i would like you to show this and maybe talk a bit about where to find more information about the wordpress specifik functions as add_action add_filter and so on - so we are able to do our own research too :)
@sixchiller5191
6 жыл бұрын
Yeah sorry for that, i totally missed the description ;D - BUT i would love to see some tips about handling javascript and css specific for the plugin itself, just another idea proposal :)
@jherbison
5 жыл бұрын
Thank you.. I will be making some more videos soon.
@leonzeng4139
6 жыл бұрын
where can I get your file show on the youtube? I really enjoy your lesson, and hope to try it.
@jherbison
5 жыл бұрын
Awesome.. Thank you. I will start adding a downloadable file to the videos that I make.
@zeekashfaiz1480
4 жыл бұрын
hi sir!! i need a little problem in sending mail ... i dont know how to setup .Will u plz guide me in this matter ???
@jherbison
4 жыл бұрын
What is the issue you are having.. Sorry for the late response, I just found this comment.
@zipponvr7043
6 жыл бұрын
very good tutorial, thanks for your doing
@jherbison
6 жыл бұрын
Thank you for the comment.
@DarrylSullivan
5 жыл бұрын
loving your content mate. is there a reason you add the form by continually adding to the $content variable? Can you exit php and make a html form?
@jherbison
5 жыл бұрын
Not when you are using it as a shortcode. If you just write it as a function and include that function in a theme file, then you can exit php and write it as html. Exiting php and writing it as html in a shortcode will cause an error in the new Gutenberg editor and the page will not save.
@jherbison
5 жыл бұрын
Thank you for the comment. Glad you like the videos.
@jherbison
5 жыл бұрын
idp.bz/updating-failed
@husseinhusseiney9487
4 жыл бұрын
I followed your tutorial but i am not receiving any email. I am using a hosting provider. I tried a e-mail that i have wordpress installed to, its a gmail and i tried a email located on the server i am using. But i dont get the emails in inbox or in spam folder. Can you please help?
@husseinhusseiney9487
4 жыл бұрын
I found out that i used add_shortcode instead of add_action :D It solved now
@jherbison
4 жыл бұрын
Nice
@jherbison
4 жыл бұрын
Glad you were able to figure it out.
@techtrickswithdj295
6 жыл бұрын
Thanks for this tutorial about the form handling, when will you get time please make a tutorial about ajax handling and nonce validation and how to use it thanks again :)
@jherbison
4 жыл бұрын
Sorry for the delay.. Thank you for commenting.. I will make a video about that and talked about making one in the video I posted today.
@davidwithnalll2987
11 ай бұрын
The link for the example code doesn't work. I get 'Access Denied' every time. Other than that I really appreciate this series.
@jherbison
11 ай бұрын
Thank you for letting me know.. Weird, the CDN folder lost it's public permissions. Never had that happen before!
@a.shrinivasrao6952
3 жыл бұрын
Without adding shortcode to page, can plugin directly add contact form to a wordpress page
@jherbison
3 жыл бұрын
Yes, there are other ways. Including it in the footer, but it would be on every page. You could include it on any page that has a certain post type, post ID, category or add it to a certain page using a specific template. Shortcode allows a non developer the ability to easily add it to any page once it is built. You could also create a gutienburg plugin to include the form.
@a.shrinivasrao6952
3 жыл бұрын
@@jherbison Thankyou. But I want something like Yoast SEO Plugin, It directly comes in Add new post page. How to do it. Please Explain
@jherbison
3 жыл бұрын
You want it to add a new page or be a meta box on the post page?
@hasibulislam3783
2 жыл бұрын
Please keep continuing...
@keitharndt5403
5 жыл бұрын
I am having issues... I was able to create a plugin - created the example and showed data - created a form. The form data does not email, save to comments or to the database I created. Yes I had errors on the screen and I resolved them all. I watched the video over and over again with no luck.
@jherbison
5 жыл бұрын
Need more details. Are you building on localhost or webhosting. Typically emails won't send on localhost.
@pankajithape1218
3 жыл бұрын
@@jherbison Yes Joshua, I did not get mail. As I was running on localhost
@dinesharyal960
4 жыл бұрын
Thankyou sir but i am not able to get the mail on my website after fulfilling the form.. there is no any difference in code though i copied line by line
@jherbison
4 жыл бұрын
Are you building on your local machine and not on a hosting platform? Do you have and SMTP plugin setup for email? Those 2 things could be keeping you from being able to send email from within your website. Thank you for watching and commenting.
@serzhuk22
3 жыл бұрын
Hi, Joshua! What do you use to send updates to server? Thank you for answer!
Hi Joshua. is there a way to make the emails send while on localhost?
@jherbison
5 жыл бұрын
Yes, if you have a mail server running on the localhost. It is a tricky thing to make work. If you use an IMAP server with something like gmail, then it would send even from a localhost.
@theman7050
3 жыл бұрын
array_key_exists does the same thing as isset($_POST[...]) ? Great video as always ✌🏼😃
@jherbison
3 жыл бұрын
Yes it does! Thanks for watching and commenting.
@theman7050
3 жыл бұрын
@@jherbison wow thanks for the quick response, man. :) Could you by any means create a video or series on advanced custom plugin concepts like the __(), namespaces, and public functions etc. I find them very confusing and dont know abt their application and no decent tutorial exists imho.
@raakeshkapoor3702
6 жыл бұрын
Thanks a ton for the amazing tutorial. It is really nice. Can you please help me with the tutorial to create a plugin and add the content to all the posts without adding any short code manually. For example, I want to add a small code or content to all the posts of my blog on which I already have few posts. It is really tedious to add the code manually to all the posts.
@raakeshkapoor3702
6 жыл бұрын
Joshua Herbison Thanks a ton in advance.
@DA-md4lf
4 жыл бұрын
Great video followed it step by step but one problem it just wont send.
@jherbison
4 жыл бұрын
Thank you for the comment and watching. Are you working from a local machine or localhost? If so, you would need to configure an SMTP server or use an API to send out the email. Localhost from your local machine does not have the ability to send out email and if it does, the email is probably going to be rejected by most email service providers.
@vermeirenniels3464
3 жыл бұрын
Hehe writes a comment 'Content variable' above the content variable xD You should do that for every variable!
@jherbison
2 жыл бұрын
LOL... Yes.. I don't do that but it would be annoying for others.. Thank you for watching and commenting.
@mayankthakur3664
3 жыл бұрын
great tutorial
@jherbison
3 жыл бұрын
Thank you. Thank you for watching and commenting.
@Magistrado1914
3 жыл бұрын
Excellent course 06/06/2021
@jherbison
3 жыл бұрын
Thank you for watching and commenting.
@jeff-wo6mm
3 жыл бұрын
I'm surprised that no one is mentioning that the email is not being sent. I can't be the only one?
@jherbison
3 жыл бұрын
Are you using local machine to develop? Also, do you have an SMTP plugin setup? It does work, something isn’t configured correctly.
@jeff-wo6mm
3 жыл бұрын
@@jherbison Thanks for replying. I am using a local server (MAMP) and I have not installed an SMTP plugin. I watched the first three videos so far. Did I miss this in one of those videos?
@vivekdhandha3919
4 жыл бұрын
How to pass in input value within $content ?
@jherbison
4 жыл бұрын
Can you explain a little more about what you are trying to do? Thank you for watching and commenting.
@vivekdhandha3919
4 жыл бұрын
@@jherbison Thanks but got resolved
@TherealEmemay
3 жыл бұрын
Thabk you men, really thank you
@jherbison
3 жыл бұрын
You're welcome.. Thank you for watching and commenting.
@Michaeljordan-h7i
Жыл бұрын
learned a lot thanks
@bankhpk
4 жыл бұрын
Thanks man, really appreciate it!
@jherbison
4 жыл бұрын
You're welcome.. Glad you liked the video. Thank you for commenting.
@phartech5481
6 жыл бұрын
Thanks brother for make this tutorial
@jherbison
4 жыл бұрын
Thank you. Sorry for the delay.. Finally catching up on responding to comments.
@RajeshKumar-uw9qi
5 жыл бұрын
i have one words Wow and i am learning wordpress i have problem that how to show related custom post on single page. if you could help pl do help...have a good day
@jherbison
5 жыл бұрын
I am not sure what you mean by related custom post? A Custom Post Type or a post related to the post they are on?
@RajeshKumar-uw9qi
5 жыл бұрын
@@jherbison i am developing portfolio website on single page i want to show the portfolio categories Related Portfolio Items. which could be three items.....
@jherbison
5 жыл бұрын
First get the term (category) of the post of the page you are on with $terms = get_the_terms($post->ID,'category'); category being your taxonomy of that post type. It may be portfolio_categories. Once you have done that, get the posts for that category. With something like: $args = array( 'posts_per_page' => 3, 'category_name' => $terms, // you will need to see how many categories that post have and possibly use the first one 'post_type' => 'post', // post type maybe "portfolio" 'post_status' => 'publish', 'suppress_filters' => true, ); $posts = get_posts( $args ); If you want them to be random, then you can use shuffle($posts); Then loop through the posts using a foreach(). Hope that helps.
@jherbison
5 жыл бұрын
You could also do 'post_per_page' => -1 and get them all. At that point use random and then stop the foreach loop after it shows the 3rd post.
@RajeshKumar-uw9qi
5 жыл бұрын
@@jherbison thanks sir i am using your code that you have given then i will tell you. it is work or not. have a good day sir cheer from india
@RajibAhmad
5 жыл бұрын
Thanks a lot... U are simply awesome :)
@jherbison
5 жыл бұрын
Thank you for the comment and compliment..
@int5tech
6 жыл бұрын
Thanks for your effort.
@jherbison
5 жыл бұрын
Thank you for the comment.
@francotiravantiibilbao9324
5 жыл бұрын
Thanks a lot Jax Teller
@jherbison
5 жыл бұрын
Thank you..
@kashishmadaan3431
6 жыл бұрын
When will you upload a video for submitting data into database
@jherbison
6 жыл бұрын
Hopefully this week.
@jherbison
6 жыл бұрын
ideapro.com/url/wp4 WordPress Tutorial part 4, adding the information to the database.
@kavitharasu3825
3 жыл бұрын
Sir am using like same code but not send mail please give solutions to me
@jherbison
3 жыл бұрын
Can you explain your development environment? Local or hosting?
@kavitharasu3825
3 жыл бұрын
@@jherbison I am using local host sir...
@jherbison
3 жыл бұрын
You more than likely don’t have a mail server configured on your local machine so it has no way of sending. Even if it sends, it would go to spam if it even got that far. You could setup an SMTP plugin like postman, then it would send from your email like gmail.
@maazaqeel2313
4 жыл бұрын
my wp_email is not working ? what can i go
@jherbison
4 жыл бұрын
Were you able to get it working? Need more details. What hosting are you using? Do you have an SMTP plugin setup on your wordpress website? Thank you for watching and commenting.
@digitalprasar8515
6 жыл бұрын
Very useful video
@jherbison
6 жыл бұрын
Thank You! Thanks for watching and commenting.
@444samrat
4 жыл бұрын
what is difference betn = and .= ? please
@jherbison
4 жыл бұрын
Great question and I explain this in some of my newer videos. Just an = assigns a value to a variable. So $car = 'Ford'; The .= ( a dot and equal sign) concatenates a string variable. In easier terms: it adds to the string variable. For example: $car = 'Ford'; (this is an example of a string variable) $car .= ' is the type of car I like'; (Adds information to the car string variable) So this would output as: Ford is the type of car I like. If we didn't add the dot before the equal sign, we would have changed the variable from "Ford" to " is the type of car I like". So we can continue to add to a string variable by using .= but once you just use =, you then change the variable to the last string. I hope that makes sense!
@444samrat
4 жыл бұрын
@@jherbison great 👍😊
@PLUS-sj4sf
3 жыл бұрын
Thanx a millllion!
@jherbison
2 жыл бұрын
Awesome.. Thank you for watching and commenting.
@pandurangpnaik2701
4 жыл бұрын
will this work from "localhost" server????
@jherbison
4 жыл бұрын
Yes, you are limited on a local machine from having some configuration. Email will not work from a local machine unless you configure WordPress to send through and online SMTP server. Your local machine does not have a mail server unless you configure one which is not recommended.
@pandurangpnaik2701
4 жыл бұрын
i am using now easy-wp-smtp to configure my localhost to send mail and its works now
@RJ-hy4zz
6 жыл бұрын
How to insert contact field value into the database?
@jherbison
6 жыл бұрын
That depends on how you want to add them to the database. There are many ways. You can create a custom post type call "Submissions" and capture the data like that. Another option would be capturing the data as a comment, unless you show comments on your website.
@jherbison
6 жыл бұрын
ideapro.com/url/wp4 Add the information to the database.
@kulvindersingh2738
6 жыл бұрын
Awesome
@jherbison
6 жыл бұрын
Thank you for the comment.
@int5tech
6 жыл бұрын
i didn't use any filter. email not working..
@int5tech
6 жыл бұрын
Thanks a lot. I'm using local. ok checking email setting.. thanks again.
@jherbison
4 жыл бұрын
Yeah, local will be difficult to get the emails to work. I suggest using a cheap hosting for live testing.
@BALAJI_B04
Жыл бұрын
I didn't get the mail sir Please rectify this problem
@jherbison
Жыл бұрын
If you didn't get the email, your hosting may not be setup to send out email. You may need to install an SMTP plugin and connect an email to your wordpress installation for the email to send out.
@misskindred2904
5 жыл бұрын
I am not send email. Please help me!
@jherbison
5 жыл бұрын
Are you testing on using localhost or a hosting provider?
@misskindred2904
5 жыл бұрын
@@jherbison I am testing on localhost
@jherbison
5 жыл бұрын
Email is not going to work on local host unless you have a mail server installed on your local machine. Upload your code/site to a web server and see if the mail works then.
@rphuntarchive1
5 жыл бұрын
I'm forcing myself to use Vim as aI follow along :)
@jherbison
5 жыл бұрын
Awesome. Thank you for commenting.
@webwolffy
6 жыл бұрын
works great until I added the filters and set html function. I remove those and it emails again. No errors.
@webwolffy
6 жыл бұрын
no errors, I will try a different email address and let you know.
@webwolffy
6 жыл бұрын
I did that, no errors. it has something to do with setting the html.
Пікірлер: 177