How to Show List of Category
List Category Posts allows you to list posts by category in a post or page using the [catlist]
shortcode. When you’re editing a page or post, directly insert the shortcode in your text and the posts will be listed there.
[catlist name="news"]
“news” is a post category name of slug, you can insert your post id no.
Show Category list with the Number of Posts
List Category Post Here is a Shortcode numberposts=xx with the Category name and number of posts, You can use this Shortcode. in Your Sarkari Jobs Website.
[catlist name="news" numberposts=10]
Here are 10 posts for the post list, If you want to show 10 posts in your job website column, insert 10 if you want to increase the number of posts of decrease the post you can insert anything you want.
Show Category list in New Tab
If You want to show the post in the New Tab of the Browser of the post list. You can use link_target=_blank this in your Shortcode.
[catlist name="news" link_target=_blank numberposts=10]
Show the Category list with the pagination.
If You want to insert pagination in your page list you can add the pagination=yes in your shortcode.
[catlist name="news" link_target=_blank numberposts=10 pagination=yes ]
Show the Category list with Custom filed.
You can insert the custom field, You can show the field name or you can hide with customfield_display=”vacancy-dates” customfield_display_name=”no”
[catlist name="news" link_target=_blank numberposts=10 pagination=yes customfield_display="vacancy-dates" customfield_display_name="no" ]
If you want to change in Custom Filed CSS you can change the Class of CSS is .lcp-customfield We are giving the Some CSS you can use in your website if you want.
.lcp-customfield{
text-align: right;
color: #d00000;
font-size: 14px;
border-bottom: 1px solid #B1B1B1;
}