Learn how to create custom post types in WordPress. Display content in a different area than just your posts and pages. Completely customise the way content is added into your WordPress website.
In this video series, you will be learning about all of the parts of building your own WordPress theme. It is structured to help someone who doesn’t know WordPress to simply understand the core concepts of WordPress and build a simple WordPress theme, or even integrate an HTML theme you’ve created into WordPress.
This WordPress theme development tutorial is tailored for people who understand HTML/CSS and some basic PHP. Javascript is not really needed as we will be using it minimally in this WordPress theme development tutorial.
This WordPress theme development tutorial from scratch will not be the best tutorial if you are intending to create the next million dollar them on ThemeForest, however, it will teach you the core concepts and features so you can evolve into an awesome Web developer in WordPress theme development.
source
FWIW, I had to change the categories part of section-blogcontent.php from get_categories as it was displaying just a list of all existing categories, to:
get_the_category , as in:
<?php
$categories = get_the_category();
if($categories):
foreach($categories as $cat):?>
<a href="<?php echo get_category_link($cat->term_id);?>" class="btn btn-success">
<?php echo $cat->name;?>
</a>
<?php endforeach; endif;?>
Tags are not causing any issues.
Your job is perfect and complete!!! Thank you Boss!Thank you so much!
If you get a warning about tags, he actually explains how to fix that @ 13:30 🙂
Thanks for this Mr. Digital, am confused about what to do here. I'm converting my static website to WordPress, this website is an entertainment site that has many pages with posts related to the pages. How can I publish sports news on the sports page and so on? I will be looking forward to hearing from you. Thanks.
where does all this data get stored? Is there a database (spreadsheet) that we can manage more directly? Or is it possible to create one (future tut??)
Thank you so much
A lot of good description of CPT creation, but not the way to create CPTs in sustainable WP development. CPTs should be added via Plugin so they are available with different themes. Also, there is no reason to be adding CPTs or other theme features directly in `functions.php`. Please teach these concepts the right way so viewers do not need to unlearn bad technique.
Amazing tutorial. You helped me solve a big issue so thanks a lot.
should have kept watching until this point, took me a long time to figure out what the error was, been doing mostly JS the past several years lol
This series is outstanding!
I am just wondering if this method is still valid now that it is nearly 3 years old?
Thank's fo video tutorials wordpress development. Could you do tutorials about development custom plugins and themes wordpress? Continue this please
Grazie! Thanks for this great tutorial: now I have make my first custom post type 🙂
by the way: do you have the code – somewhere!? -this would be great
awesome – looks great. Plz keep up doing more videos like that! The WordPress-community is looking forward to your next video
If you want an image in google image search results instead of Open link choose Open image
How could this same thing be done with API data so that if my client has their data in a different database? Then I would not need to add every car manually.
Sooo much whitespace…! 😶
im using a mac and XAMPP. i don'y get error messages when theres an error, i just get a generic, click to trouble shoot wordpress, or in the tag error situation, nothing happened.
the dashicons bit does not work for me. can anyone help?
"dashicons-car" fyi…
On the single-cars.php it gives me this:
Warning: Invalid argument supplied for foreach() in ../section-blogcontent.php on line 16.
But however in single.php there's nothing wrong.. Am I missing something here?
First of all, great video man, thank you so much! I have a question about Custom Post Types. I came across a website that used custom post types to create a Gallery, it looks like the Cars post type from your video, but they are only used for images. When I was updating that section, it was literally over 20 post types that I had to single handle and updating each image individually and it just took so much time… So I was wondering, was that bad design, or in these cases, should we just opt for a Gallery plugin that allow us with 2 clicks to bulk update/change pictures, for example? I just couldn't see what they were thinking as far as maintainability, I mean, what if the gallery had 200 images? Is it reasonable for it to have 200 custom posts? Cheers!
Juste un grand merci pour votre vidéo qui est super !!! vous êtes un excellent pédagogue 😉
7:23 They actually added a car now lol
Thank you for this video!
I'm so lost.. You create a taxonomy, yet so did I and I've followed everything you have and it's not showing up lol
i make from this but when i add field from ACF plugin its not showing there i think we need some code here can anyone help me please?
Hey are you searching for wordpress course video in youtube .. and ate you confuse which teacher's video choose to learn … you are in right place …. this is one of the best best best best video class for me cheersss
thanks man. simply the best
This is amazing. Thanks so much!