Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Giới thiệu Nếu bạn sẽ được tạo ra hoặc sửa đổi một chủ đề WordPress, nó trả tiền để bắt đầu với những vấn đề cơ bản. Đó là những gì chương này là tất cả về. Bằng cách xem xét các công thức nấu ăn chứa bên trong, bạn sẽ tìm hiểu làm thế nào để tìm tài liệu hữu ích, làm thế nào để tải và cài đặt các chủ đề từ những nơi khác nhau, và những gì là cần thiết nếu bạn muốn tạo ra chủ đề của riêng bạn ngay từ đầu | 1 WordPress Theme Basics In this chapter we will cover Finding documentation on WordPress.org Downloading themes from the WordPress theme repository Downloading themes from third-party websites Installing and activating a theme Displaying the blog name Getting the absolute directory path of the active theme Creating a theme from scratch Creating a child theme Creating a theme by using a theme framework Adding expected WordPress hooks Including PHP files from your theme Introduction If you re going to be creating or modifying a WordPress theme it pays to start with the basics. That s what this chapter is all about. By reviewing the recipes contained within you ll learn how to find useful documentation how to download and install themes from various places and what is required if you want to create your own theme from scratch. WordPress Theme Basics-------------------------------------------------------------- As you progress through the recipes in this book you ll need a theme to work with. If you re an experienced WordPress developer you ll probably want to create your own theme by using the recipe Creating a theme from scratch contained later in this chapter. If you re just starting out I recommend using either of the two themes distributed with the base install of WordPress. Both WordPress Default and WordPress Classic offer solid bases on which you can build your custom theme. Finding documentation on WordPress.org This book will help you through the most common tasks you may encounter when developing a WordPress theme. However you ll certainly have questions along the way that need further investigation. When these questions arise you should consult the official WordPress documentation. Getting ready A web browser with Internet access is required to access the documentation. How to do it. First fire up your browser and go to http codex.wordpress.org. This is the home page for the codex where you ll spend a lot of time as a WordPress developer. The page looks .