开发者 | 950dsgn |
---|---|
更新时间 | 2018年3月17日 01:20 |
WordPress版本: | 4.9.4 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
To display your projects in your theme, you can create custom templates or you can use 'single-projects.php' and 'archive-projects.php'.
To display the taxonomy in your theme you can use: the_terms( $id, $taxonomy, $before, $sep, $after ) $taxonomy = 'project-type'
To display colors and client information in your theme you can use: echo get_post_meta( int $post_id, string $key = '', bool $single = false ) Color 1: $key = 'color_1' Color 2: $key = 'color_2' Client Name: $key = 'client_name' Client Website Link: $key = 'client_website_link' Client Website Name: $key = 'client_website_name'