Тёмный

Custom Post Type WordPress Tutorial Part 1 | WordPress Plugin Tutorial 

Joshua Herbison
Подписаться 11 тыс.
Просмотров 11 тыс.
50% 1

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 63   
@ABDURRAHIM-jn2rm
@ABDURRAHIM-jn2rm 2 года назад
Great tutorials! How to create premium Drag & drop contact form plugin like gravity forms?? please help me. Thanks in advance, Joshua Herbison
@jherbison
@jherbison 2 года назад
Thank you for the question but that is a really large plugin to build with a lot of detail in it. You need to start by breaking it down into parts and getting each part done.. sorry for the delay, I hope you were able to get started on it and possibly finish it. Good luck.
4 года назад
You have great way of explaining things.
@jherbison
@jherbison 4 года назад
Thank you! Thank you so much for watching and commenting.
@ananthukd7732
@ananthukd7732 3 года назад
Now only EnotGlobal is left of the PF twists, the rest is lost ..
@jherbison
@jherbison 2 года назад
Ok. Thank you for watching and commenting.
@RahmanHaghparast
@RahmanHaghparast 6 лет назад
Thanks for the video. It was easy to follow. I expected to see how to add custom fields to custom post types. Maybe in another video?
@jherbison
@jherbison 6 лет назад
Thanks. Yeah, I like to keep it short and basic. All projects need different things. I can do a part 2 with custom fields.
@jherbison
@jherbison 6 лет назад
Check out part 2 here.. idp.bz/cpt2 and let me know if I missed anything.
@Magistrado1914
@Magistrado1914 3 года назад
Excellent course 16/06/2021
@jherbison
@jherbison 3 года назад
Thank you for watching and commenting.
@strawberryshortcode4788
@strawberryshortcode4788 2 года назад
I learned a lot from this tutorial.
@jherbison
@jherbison 2 года назад
Awesome! That is what I like to hear! Thank you for watching and commenting.
@komlanraider91
@komlanraider91 3 года назад
thanks you ! that helps me a lot
@jherbison
@jherbison 3 года назад
Awesome. Thank you for watching and commenting.
@MohamedMostafa-fw5jp
@MohamedMostafa-fw5jp 4 года назад
Fantastic Thank you.
@jherbison
@jherbison 3 года назад
Thank you!
@bhupendrashekhawat9185
@bhupendrashekhawat9185 3 года назад
thanks bro।।❤️❤️❤️❤️❤️❤️❤️
@jherbison
@jherbison 3 года назад
You're welcome. Thank you for watching and commenting.
@omtechnologies8656
@omtechnologies8656 5 лет назад
I am amazed how such complicated topics (or atleast made sound and appear complicated by others) you always explain so easily. And i must also praise your voice clarity and pitch. It brings harmony to my ears. I usually watch english movies with subtitles as i can't understand english so clearly but with your videos, no subtitles needed. God bless you man !
@jherbison
@jherbison 5 лет назад
Awesome comment. Thank you.
@jeff-wo6mm
@jeff-wo6mm 3 года назад
Great Lesson. How do you add the thumbnail to get_posts() ? The array that prints out doesn't even show a thumbnail value.
@jherbison
@jherbison 2 года назад
I hope you found a solution for this.. If not, let me know and I will make a video about it. Trying to catch up on comments that I missed. Thank you for watching and commenting. If you haven't already, please check out my latest video: A Day In the life of a software engineer. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Z8GluDQ2U-E.html
@abhisheksrivastava6006
@abhisheksrivastava6006 3 года назад
Hi, it's great content you have posted for Wordpress. I find it to be concise yet powerful and your style of delivery very effectively sends the message across. How would you choose between a custom post type approach or creating a new table in the database when developing a plugin?
@jherbison
@jherbison 3 года назад
Hi, thanks for the comment and question. I would only create new tables if you really know what you are doing with creating database tables. Most of the time, a custom post type will handle most types of data. I typically only create database tables when I need a taxonomy table to have more items indexed. I get annoyed when I install a plugin that has 4 or 5 tables. I recently worked on a site that had 27 plugins, which isn't that bad but had 72 tables. The other thing about adding tables, is you should remove them when the plugin is deactivated or you end up with a bunch of tables you don't need. I try to find a way to use the tables that come with WordPress but you can create them if you really need them.
@ananthukd7732
@ananthukd7732 3 года назад
Guys who know, is there such software EnotGlobal, did anyone work for them?
@jherbison
@jherbison 3 года назад
Never heard of them. Hope you are able to find out.
@ProlocalUkwebdesign
@ProlocalUkwebdesign 5 лет назад
Hi there, what is your preferred Wordpress page builder ? I use several though my builder of choice is generally Oxygen. Thanks for your hard work with this video production - fabulous stuff!! 🙂
@jherbison
@jherbison 5 лет назад
Thank you. I don't really use a page builder as they all are not built very well. I typically try to develop sites that do not need a page builder or build specific template pages for layouts.
@sevdamurat4455
@sevdamurat4455 6 лет назад
I think this level of teaching speed is good. We can follow easily. And you divide them into pieces easy to digest. I think this formation is good. If you are not an advanced wp coder than it becomes difficult to follow 200+ lines of code in a 20min video. Because there becomes several functions and teacher begins to scroll up and down among different functions everytime which makes audience tired.
@jherbison
@jherbison 6 лет назад
Thank you. I try to keep it as easy as possible.
@shaktigoyal1450
@shaktigoyal1450 3 года назад
Man, you deserve more subscribers! You’re the best!
@jherbison
@jherbison 3 года назад
Thank you. Would love more subscribers!!
@sevdamurat4455
@sevdamurat4455 6 лет назад
By the way listening a 2 min video doesnt take 2 min or listening to a 20min doesnt take 20min. It takes more lol :)
@jherbison
@jherbison 6 лет назад
I understand that.. Thank you.
@stavroskefaleas6320
@stavroskefaleas6320 5 лет назад
Josh you should do a udemy tutorial immediately! You are so talented as a teacher/tutor!
@jherbison
@jherbison 5 лет назад
Thank you for the comment and suggestion. I like to teach people and let advertisers pay for the video. Most people learning to develop don't have the money to pay for a course. I have had companies offer to sponsor my videos, but it would need to be something that I would actually recommend.
@mfaizanshahid3229
@mfaizanshahid3229 4 года назад
@@jherbison THE best comment i have read so far from the creator
@thewebproject
@thewebproject 4 года назад
New subscriber here. :) your tutorial is great. I have a question regarding the shortcode. How to display custom post by their specific categories?
@jherbison
@jherbison 4 года назад
I have added that to the list of videos to make.. I am going to make new videos over the next couple of days.
@thewebproject
@thewebproject 4 года назад
Great!!! Thanks :)
@kulvindersingh2738
@kulvindersingh2738 6 лет назад
Thank you Sir!
@jherbison
@jherbison 6 лет назад
You're welcome.. Thank you for watching and the comment.
@juliandarley
@juliandarley 4 года назад
very useful and helpful. thank you. now about to look at part 2.
@jherbison
@jherbison 4 года назад
Thank you for the comment.
@JohnAzarOmegaTech
@JohnAzarOmegaTech 5 лет назад
Hello, thanks for tutorial I am getting error at the backend (admin) at the post page (when editind the post) that has the shortcode: Warning: Cannot modify header information - headers already sent by (output started at *****deapro-custom-posttype.php:34) I think it is because the print function, how can I fix it?
@jherbison
@jherbison 5 лет назад
Yes, you should always return a shortcode and not print the information. Store the printable information in a variable, and then return that variable. Let me know if that helps. Check out my other videos as I have explained that.
@JohnAzarOmegaTech
@JohnAzarOmegaTech 5 лет назад
@@jherbison yes, it worked , thank you. the variable here is "content", how many posts can it handle, it must has a limitation as it is a sting, can we just return the posts as they are without storing them in a variable.
@faizandarwesh9606
@faizandarwesh9606 4 года назад
You are one of the finest teacher your explanation make complex things so easy. Thanks for making such rich content.
@jherbison
@jherbison 4 года назад
Thank you for such a nice comment. Please share the video with anyone that you think would enjoy it. The more views / subscribers, the more videos I can make.
@faizandarwesh9606
@faizandarwesh9606 4 года назад
@@jherbison Pleasure . Sure i'll.
@jherbison
@jherbison 4 года назад
Thank you.
@nancymikyska2832
@nancymikyska2832 6 лет назад
I like how you walked us through on the coding. But I’ve heard that the upcoming Gutenberg update to the WP core won’t handle short Codes? Maybe I’m wrong...any thoughts?
@jherbison
@jherbison 6 лет назад
I have tested Gutenberg and shortcodes work just fine. I have tested with posting them into just a plain text box and they work. I think it will be recommended to convert shortcodes to Gutenberg blocks, but the requirement for that if there ever is a requirement will be years down the road. Let me know if you have any issues with shortcodes in Gutenberg.
@jherbison
@jherbison 6 лет назад
Check out part 2 here.. idp.bz/cpt2 and let me know if I missed anything.
@jherbison
@jherbison 6 лет назад
Here is a video about Gutenberg that I just published. It talks about using shortcodes. idp.bz/gutenberg
@mulkproject687
@mulkproject687 4 года назад
Hello, thank you Mr. Idea Pro for this tutorial.. How do i approach if scenario data is from API and i want to do same as u did..
@jherbison
@jherbison 4 года назад
Really depends on the API. Would need to see what is returned from the API. Is it an object, array or json? What is the values that are returned? Thank you for the question.
@mulkproject687
@mulkproject687 4 года назад
@@jherbison this is the API jsonplaceholder.typicode.com/users
@jherbison
@jherbison 4 года назад
Ah... So this is user data? I wouldn't user a custom post type. I would add them as users like a subscriber. Users is setup to utilize this information already. First you would want to json_decode($data,true) the information, that would put it into an array that would be easy to work with. First argument for json_decode is the returned data from the API, and the second argument (true) is to make it an array. Then you can add that information as a user with code. I can make a video about that.
@md.abulkalamazad4965
@md.abulkalamazad4965 6 лет назад
Very basic, should be a bit more advanced buddy...
@jherbison
@jherbison 6 лет назад
Thanks. I like to keep it basic. Each project is unique and needs different things. I can do part 2 and add more details. I can add more settings to the custom post type, custom fields and meta boxes for the custom fields.
@jherbison
@jherbison 6 лет назад
Check out part 2 here.. idp.bz/cpt2 and let me know if I missed anything.
Далее
Катаю тележки  🛒
08:48
Просмотров 534 тыс.
Новый вид животных Supertype
00:59
Просмотров 211 тыс.
Creating Custom Post Types With Advanced Custom Fields
28:46
What are Custom Post Types?
7:33
Просмотров 57 тыс.