설명
SX Featured Page Widget creates a widget that features a specific page, showing its contents.
Check official website for
SX Featured Page Widget is available on GitHub. If you want to contribute, please fork it and send a pull request!
스크린샷
설치
This section describes how to install the plugin and get it working.
e.g.
- Upload
sx-featured-page-widget
directory to the/wp-content/plugins/
directory - 워드프레스의 ‘플러그인’ 메뉴에서 플러그인을 활성화하세요.
- Go to ‘Widgets’ menu and drag it to your sidebar
FAQ
- Can I use it outside my sidebar / widget area?
-
Sure you can! Just call
the_widget()
wherever you want to display your featured page. If you want to customize it, there’s four arguments:page
: The page ID. Required.title
: The widget title.
예:
<?php the_widget( 'SX_Featured_Page_Widget', array( 'page' => 311 ) ); ?>
If you don’t know the page ID, you can try
get_page_by_path()
function:<?php the_widget( 'SX_Featured_Page_Widget', 'page=' . get_page_by_path( 'about' )->ID ); ?>
후기
이 플러그인에 대한 평가가 없습니다.
기여자 & 개발자
자국어로 “SX Featured Page Widget”(을)를 번역하세요.
개발에 관심이 있으십니까?
변경이력
1.0
- First version. Final 08/12/2015