TAILIEUCHUNG - Hướng dẫn tạo themes cho wordpress part 3

Sau khi bạn đã chọn một khuôn khổ chủ đề, đó là thời gian để tạo ra một chủ đề dựa trên khuôn khổ đó. Để làm như vậy, bạn sẽ sử dụng kỹ thuật mô tả trong Tạo một chủ đề trẻ em. Sau khi bạn đã tạo ra các chủ đề con cơ bản, bạn có thể bắt đầu tùy chỉnh nó. Trong hầu hết trường hợp, bạn ghi đè lên các đánh dấu của một chủ đề phụ huynh bằng cách cung cấp các file mẫu trực tiếp trong chủ đề con của bạn. . | Chapter 1 After you ve chosen a theme framework it is time to create a theme based on that framework. To do so you ll use the technique described in Creating a child theme. After you ve created the base child theme you can start to customize it. In most cases you override the markup of a parent theme by supplying template files directly in your child theme. With a theme framework things generally work a little differently. You supply your custom markup by attaching callbacks to custom action and filter hooks as defined by the theme framework. To find out what the custom hooks are you need to read the theme framework s documentation. To add appropriate functionality via the custom hooks you create a file inside your child theme and use the Plugin API to add callbacks to the theme framework s custom hooks. How it works. A theme framework is a theme created for the sole purpose of being extended by child themes. They are built to be modified by users for use on their own websites. Although most theme frameworks can be used out of the box it is the personalization and customization that end users and developers perform that really allow their particular use of the framework to shine. There s more. There are several quality theme frameworks in existence at the time of writing this book. The best are as follows Thematic http thematic Hybrid http archives 2008 11 hybrid-wordpress-theme-framework Carrington http Vanilla http p vanilla-theme Whiteboard http 2008 05 20 whiteboard-a-free-wordpress-theme-framework WPFramework http See also Installing and activating a theme Creating a child theme WordPress Theme Basics----------------------------------------------------------- Adding expected WordPress hooks WordPress themes should possess a number of different hooks by default allowing active plugins to alter or add output when pages are rendered. WordPress .

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.