Danh mục

thiết kế giao diện wordpress phần 8

Số trang: 24      Loại file: pdf      Dung lượng: 849.42 KB      Lượt xem: 9      Lượt tải: 0    
10.10.2023

Hỗ trợ phí lưu trữ khi tải xuống: 7,000 VND Tải xuống file đầy đủ (24 trang) 0
Xem trước 3 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

Tham khảo tài liệu thiết kế giao diện wordpress phần 8, công nghệ thông tin, đồ họa - thiết kế - flash phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả
Nội dung trích xuất từ tài liệu:
thiết kế giao diện wordpress phần 8WordPress ReferenceTemplate Tag Description Parameters Displays a date-based archives You can set parameters wp_get_archives() list. by separating them with Sample: an &—(type=monthl wp_get_archives(type= More Info: y&limit=12). monthly); http://codex.wordpress. The other parameters are org/Template_Tags/wp_ type, limit, format, get_archives before, after, show_ post_count. Default: No parameters will display a list of all your monthly archives in HTML format without before or after markup and show_post_count set to false. Displays the current month/ A Boolean value can be get_calendar() year calendar. set which will display Sample: a single-letter initial (S get_calendar(false); More Info: = Sunday) if set to true. http://codex.wordpress. Otherwise, it will display org/Template_Tags/get_ the abbreviation based on your localization (Sun = calendar Sunday)—(true) Default: No parameters will display the single- letter abbreviation.Include TagsThe following is a list of all the tags and file names you can include into your theme:Include Tag Description Finds and includes the file header.php from your current get_header(); themes directory. If that file is not found, it will include wp-content/themes/default/header.php in its place. Finds and includes the file footer.php from your current get_footer(); themes directory. If that file is not found, it will include wp-content/themes/default/footer.php in its place. Finds and includes the file sidebar.php from your current get_sidebar(); themes directory. If that file is not found, it will include wp-content/themes/default/sidebar.php in its place. [ 140 ] Chapter 6Include Tag Description Finds and includes the file comments.php from your comments_template(); current themes directory. If that file is not found, it will include wp-content/themes/default/comments.php in its place. TEMPLATEPATH is a reference to the absolute path (not the TEMPLATEPATH URL path) to the current theme directory. It does not include Sample: a / at the end of the path. You can use it to include any file include(TEMPLATEPATH into your theme using the standard PHP include statement . /filename.php);; (see the sample to the left). This is how theme developers include the searchform.php file into their themes.Custom Includes—Streamline Your ThemeIn Chapter 3, we included our own custom sidebar using the WordPress TEMPLATEpath inside a basic PHP include call. This technique can come in very ...

Tài liệu được xem nhiều: