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

30 Comments

  1. 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.

  2. 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.

  3. 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.

  4. 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!

  5. 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.

  6. 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?

  7. 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!

  8. 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

Leave A Reply

Please enter your comment!
Please enter your name here