Sherk Custom Post Type Displays WordPress Plugin

  • Started on : 2015
  • Web Technologies : Php Programming/ Web / Ajax / JQuery / BxSlider / HTML
  • Completed on : May 2015
WordPress Plugin Link

Description

Display custom post type items available in your choice using widgets and shortcodes. From number of items, its order and elements to display. It’s just too good to have that availability to add list of post types anywhere in your website.

You can display items of custom post types of your choice almost anywhere in your website using the widget and shortcode. Display types available are Titles only with links, Titles and Featured Images with links, Titles and Teasers only with links and Display All. Order of display has also two choices either random or latest post.

This section describes how to install the plugin and get it working.

  1. BACKUP everything before you install the plugin.
  2. Upload sherk_cpt-displays directory to the ‘/wp-content/plugins/’ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Update the Permalinks on settings.

Display Sherk Custom Post Type Displays using Widget

  1. Go to Dashboard-> Appearance -> Widgets (/wp-admin/widgets.php)
  2. Look for Sherk Custom Post Type Displays and drag it to the widget region you would like it to be shown.
  3. Configure your Sherk Custom Post Type Displays, add a title, select the post type, select the display type , select the way it’s ordered and the number of items to be displayed.
  4. Click Save button

After installed check at Dashboard -> Tools -> Sherk CPT Displays (/wp-admin/tools.php?page=sherkcptdisplays_info) for more detailed instructions.

Display Sherk Custom Post Type Displays using Shortcode

Shortcode for Sherk Custom Post Type Displays is in the format of
[sherkshortcodebreakercptdisplays post_type=”post” total_items=10 display_type=”title_only” orderby=”random”]
Copy the shortcode, paste it to the content text editor and update the values of your shortcode parameters depends on what you need.

Parameters Available

title
Header title of your list of custom post type
default:
option: string

post_type
Post type of the items to displayed in list (depends on your website, list below are automatically updated)*
default: post
option: screcipe
option: sherk_banners
option: sherk_skills
option: book
option: post

display_type
Option on what elements to be shown on your list
default: title_only
option: title_only (Titles are only shown on the list with their links)
option: featured_image (Titles and Featured Image are only shown on the list with their links)
option: title_and_teaser (Titles and teasers are only shown on the list with their links)
option: all (All are shown from Titles, teasers and featured images on the list with their links)

total_items
Total number of items shown on the list
default: 5
option: integer

orderby
The way the list is ordered
default: random
option: random (List are ordered in random)
option: latest (List are ordered from latest item)

 

Need Support?

You can email me directly for any plugin request or personal modification such as styles and templates at contact@sherkspear.com or contact me at http://sherkspear.com/contact

ChatClick here to chat!+