This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Category Post Shortcode

वर्णन

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

स्थापना

Install like any other basic plugin:

  1. Copy the category-post-shortcode folder to your /wp-content/plugins/ folder

  2. Activate the Category Post Shortcode on your plugin-page.

समीक्षा

ह्या प्लगइनसाठी कोणतेही समीक्षण नाही.

योगदानकर्ते आणि विकसक

“Category Post Shortcode” हे मुक्त स्रोत सॉफ्टवेअर आहे. पुढील लोक या प्लगइनच्या निर्मितीत योगदान केले आहे.

योगदानकर्ते

भाषांतर करा “Category Post Shortcode” तुमच्या भाषेत.

विकासातील आग्रह?

कोड ब्राउझ करा, SVN संग्रहालय तपासा, किंवा विकास लॉग च्या RSS द्वारे सदस्यता घ्या.

बदलांची यादी

1.0

  • Initial release

2.0

  • Fixed some bug

2.1

  • Add order parameter

2.2

  • Corrected comment id

2.3

  • add thumbnail size
  • get image from post as a thumbnail if no thumbnail-url custom field created.

2.4

  • add option to display the post date