How to Work with Custom WordPress Page Templates with Custom Post Types & Custom Fields

preview_player
Показать описание
In this tutorial, you are going to learn how to create a full custom WordPress page template using custom post types and custom fields.

We shall be creating a custom post type called Movie and also a custom taxonomy titled Genre. We shall also create 3 custom fields attached to this custom post type for displaying different types of content.

We will then proceed to create a custom page template for displaying the excerpts of our movies and then finally proceed to create a another page template for displaying all the contents of each individual movie review.

Use my code

** Supplemental Videos **

Рекомендации по теме
Комментарии
Автор

What do you guys think about more advanced topics like this?

TheWebMonkey
Автор

Dropbox link doesn't work

This item was deleted

alukret
Автор

Hey, amazing tutorial! Congrats from Brazil

Kryzbordallo
Автор

hi, is there training program on basic php for wordpress?

HaifengZhu-pnuq
Автор

<?php

/** Template Name: Training Courses */

?>

i put that code but it doesn't visible at Page Attributes as template, why? any body can help me?

MohammedMotazHasnawi
Автор

I use Astra and I make child theme why the CSS doesn't work

fafamiggy
Автор

unbelievable, I used "the_title();". On the frond end, It just show "movie" NOT show "A Quite Place 2". Help me please Sir.

haidangquang
Автор

I don't want custom fields on my posts, does it mean that ACF is unnecessary for me?

HaifengZhu-pnuq
Автор

Thanks for the video .... I've always had a hard time wrapping my head around Custom Post Types and Templates. Would like to see using these with Elementor too.

loreauvillephil
Автор

I don't speak English and I don't know anything about php but I manage to understand what should be very difficult for a non-English speaker. You take your time to make yourself understood, you detail everything, I manage to reproduce it in a test and count on applying it on my blog to make it more professional and I would like you to make another video in which you show how to Add Categories and Tags anywhere in the single-movie.php page
And open on a archive page all the post that associated to a specific category or tags when clicking

nitovkolivanovmeus
Автор

Can you make a video on this topic : How to full backup of cpanel and restore on another hosting...??

dhirendrakumarrai
Автор

why this page can't be edited in Elementor? BTW, excellent video

darouss
Автор

Very helpful! I wonder how to add a featured post in a custom post type. :)

aioea
Автор

Working with notepad++... Top man! Vim next?

astratow
Автор

Very very thanks for your
Please can you teach to make a directory listing classified ecommerce website in WordPress without coding. The real fun will be when the site will be absolutely free of cost. If you make such a website, I hope your YouTube channel will grow more as nobody has ever made such a site free from any type of payment.

nakriviraacademy
Автор

this is exactly what i need. thanks a lotttt

mustaa
Автор

That is an awesome tutorial! So clear! Thank you!

Elsteck
Автор

Awesome tutorial, super clear - thanks! I am wondering if there is intellisense support for wordpress methods in

michaelfoerster
Автор

I'm from Brazil and I could learn a lot with your tutorials. You are amazing! Another subscriber :)

RicardoIvanov
Автор

Great tutorial Alex. However, I am thrilled to know why append and prepend did not work automatically?

saifurrehman