What topics of PHP should I know to design a WordPress template?

michelshakur

Junior Member
Joined
Dec 9, 2021
Messages
120
Reaction score
27
hi
What topics of PHP should I know to design a WordPress template?
tnx
 
Install WP locally and open the yearly template (it's called twenty twenty something) in an editor like vscode and read it.

As you read the source code you'll understand how templates work.

It's not so much about PHP, it's about knowing how WP templates work. Most templates are just adaptations on each other. The PHP is pretty much the same or very similar.
 
Install WP locally and open the yearly template (it's called twenty twenty something) in an editor like vscode and read it.

As you read the source code you'll understand how templates work.

It's not so much about PHP, it's about knowing how WP templates work. Most templates are just adaptations on each other. The PHP is pretty much the same or very similar.
and its easy to make templates That can work whit visual composers or elementor ?
 
Yep. It's a matter of knowing HTML, CSS and JS. The php code is just there to fill the contents. Everything around it is just vanilla HTML 5.
This is great i am a front-end developer so that should be easy for me. thanks a lot
 

Attachments

  • 1678713789264.png
    1678713789264.png
    312 bytes · Views: 76
Install WP locally and open the yearly template (it's called twenty twenty something) in an editor like vscode and read it.

As you read the source code you'll understand how templates work.

It's not so much about PHP, it's about knowing how WP templates work. Most templates are just adaptations on each other. The PHP is pretty much the same or very similar.

Exactly!
 
Install WP locally and open the yearly template (it's called twenty twenty something) in an editor like vscode and read it.

As you read the source code you'll understand how templates work.

It's not so much about PHP, it's about knowing how WP templates work. Most templates are just adaptations on each other. The PHP is pretty much the same or very similar.
I agree, I learned PHP first but then when I looked at WP code I was like wahh... where do I start
 
PHP is a big part of WordPress and it's good that have a understanding of it when working with WordPress.
I would also recommend to look into theme's of other developers and learn from it.
 
Back
Top