목록WordPress (3)
noname02
카테고리 가져오기
$categories = get_categories( array( 'orderby' => 'name', 'parent' => 0) ); foreach ( $categories as $category ) { printf( '%2$s ', esc_url( get_category_link( $category->term_id ) ), esc_html( $category->name ) );}
WordPress
2016. 3. 3. 19:54
테마폴더 root 가져오기
echo get_bloginfo('template_url')
WordPress
2016. 3. 3. 01:30