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
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 ...
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ìm kiếm theo từ khóa liên quan:
thủ thuật máy tính bí quyết lập trình thiết kế giao diện web thế kế wordpress mẹo tin họcTài liệu liên quan:
-
Top 10 mẹo 'đơn giản nhưng hữu ích' trong nhiếp ảnh
11 trang 319 0 0 -
Làm việc với Read Only Domain Controllers
20 trang 307 0 0 -
Sửa lỗi các chức năng quan trọng của Win với ReEnable 2.0 Portable Edition
5 trang 216 0 0 -
Giáo trình Bảo trì hệ thống và cài đặt phần mềm
68 trang 209 0 0 -
Tổng hợp 30 lỗi thương gặp cho những bạn mới sử dụng máy tính
9 trang 206 0 0 -
Phần III: Xử lý sự cố Màn hình xanh
3 trang 206 0 0 -
UltraISO chương trình ghi đĩa, tạo ổ đĩa ảo nhỏ gọn
10 trang 204 0 0 -
Sao lưu dữ liệu Gmail sử dụng chế độ Offline
8 trang 203 0 0 -
Hướng dẫn cách khắc phục lỗi màn hình xanh trong windows
7 trang 202 0 0 -
Giáo Trình tin học căn bản - ĐH Marketing
166 trang 198 0 0