🎉 Use coupon MYXERO to enjoy 20% recurring discount on any plan. View Pricing
J

JBX Category Columns

0/5 (0 ratings) 10 active installs Updated Jan 23, 2015
Frontend example

Frontend example

A simple plugin that allows users to insert columns of categories in posts, pages, custom post types or directly in a template. In addition, you can set the number of posts to display and whether or not to display the featured image associated with the post.

Usage

Add the following tag to any post, page or custom post type.

[jbx]

The default number of posts per category the plugin will show is 3. You can specify the number of posts to show by specifying in the numberposts attribute. See below for examples:

[jbx columns='3' names='Category Name 1, Category Name 2, Category Name 3' numberposts='3' images='true']

You can also add it directly to a template using the folowing code and adjusting the attributes to your likeing.

<?php echo do_shortcode("[jbx columns='3' names='Category Name 1, Category Name 2, Category Name 3' numberposts='3' images='true']"); ?>

In addition, you now can also add multiple instances to by using the shortcode multiple times.

Styles can be edited in the stylesheet included in the jbx-catcolumns plugin folder. The file is entitled jbxCatColumns-style.css.