Custom Posts Order plugin will order posts with simple Drag and Drop Sortable capability. Place a shortcode in page, post, text widget or template files to display in front-end. It’s that simple.
- Quick and easy drag and drop for rearranging of posts.
- Set the number of posts to display in front-end.
- User can add different list of sections of particular posts.
사용방법
Place this shortcode in page, post or text widget where you’d like to display posts.
[posts_order posts=2 section=porder_name]
Parameters
Custom Posts Order plugin supports the “posts” parameter where you can pass the number of posts you want to display in frontend and “section” parameter where you can pass the name of the section to be displayed in frontend. For example if you want to display 3 posts from Section1 at a time then place the following code:
[posts_order posts=3 section=Section1]
By default it displays 5 posts.
템플릿
Place this shortcode in any template parts of your theme.
<?php echo do_shortcode('[posts_order posts=3 section="Section1"]'); ?>
이 플러그인은 다운로드 가능하며 워드프레스 독립 호스트 설치에 사용할 수 있습니다.