plugin-icon

Category Post Shortcode

This plugin is to display post by category in your page/post
평가
5
최근 업데이트일
November 25, 2012
버전
2.4
활성화된 설치 항목
300

This plugin allow you to display post list in your page or post by using shortcode.

How to use

just put this shortcode in your post or pages

[cat totalposts=”3″ category=”1,3″ thumbnail=”true” excerpt=”true” ]

  • totalposts – your total number of post to display. default is -1
  • category – category id. use comma , for multiple id
  • thumbnail – set true if you want to display thumbnail. default is false
  • date – set true if you want to display post date. default is false. Uses format set in WordPress Settings > General > Date Format
  • excerpt – set true if you want to display excertp. default is true
  • orderby – your post will order by . default post_date . check https://codex.wordpress.org/Template_Tags/get_posts for detail

thumbnail * create custom field key as thumbnail-url and put your thumbnail url in the value area

style at your own * you need to style your category-post-shortcode plugin in your style.css example

.cat-post{ width:100%; } .cat-post-list{ display: block; margin-bottom: 20px; position: relative;

} .cat-post-images{ float:left; width:140px; display:block; }

.cat-content{ width:350px; float:right; } .cat-post-title{ display: block; width:100%; } .cat-post-date{ display: block; width:100%; } .cat-clear{ clear:both; }

  1. more info or sample, please visit http://ibnuyahya.com/wordpress-plugins/category-post-shortcode
무료Creator 요금제에서
활성화된 설치 항목
300
테스트된 버전
3.3.2
이 플러그인은 다운로드 가능하며 워드프레스 독립 호스트 설치에 사용할 수 있습니다.