Tự xây dựng Wordpress - Theme: Building Your Own Theme

Tự xây dựng Wordpress - Theme: Building Your Own Theme

Viết tiếp backend và frontend ứng dụng Live Streaming thời dịch bệnh Covid-19

Average: 5 (2 votes)

Xây dựng hệ thống Live Streaming viết từ Node.js và React để dạy học thời dịch bệnh Covid-19

Average: 5 (3 votes)

Tự xây dựng Wordpress - Theme: Building Your Own Theme

Wordpress theme step by step tutorial - part 1: Although thousands themes available, You may want to create your own theme. Make something different from others. You can customize from exist theme or build from zero. In this post, we will learn about wordpress theme from zero. from blank page. Let's do it.

Ok, in this post, we create blank page. We just want to look very basic file structure at wordpress theme. We don't write any code. Don't worry, next post, we begin to write some lines code.

  1. Create a folder named "crown" within \wordpress\wp-content\themes. It means we will create a theme named "crown". Don't ask why I choose this name. Just catch what slide from my mind.
  2. Create a file named "index.php" within \wordpress\wp-content\themes\crown.
  3. Create a file named "style.css" within \wordpress\wp-content\themes\crown.

    Tự xây dựng Wordpress - Theme: Building Your Own Theme

  4. Open style.css use your text editor. Add some description like following image:

    wordpress theme - describe about this theme

  5. Now, activate your theme.

Don't worry if you just get blank page.

wordpress theme - activate new theme

Bạn thấy bài viết này như thế nào?: 
No votes yet

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Cách bật Disqus module trong Drupal 7
Cách bật Disqus module trong Drupal 7

First, Disqus is free to use and works on virtually any type of website. You can easily import all your existing comments

Sự vi diệu của Drupal's Extra Fields module một loại Field API
Sự vi diệu của Drupal's Extra Fields module một loại Field API

One of the challenges front-end developers face is adding new components to entity templates that exist outside of what is defined in the Field API; or in other words

10 Tips for Publishing Accessible Content
Giới thiệu 10 Tips tuyệt hay cho 1 bài viết khi Publishing

Content editors can help make the web a more accessible place, one published moment at a time.