Plugin yìí kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress. Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

Custom Post Type Lister Ìtumọ̀ Yorùbá: – CPT Lister

Àpèjúwe

Hello there!
This plugin will give you the possibility to list any of your custom post types (even a built in post types) to any of your posts or pages, with one simple shortcode [cpt_show]

What it does ?

This plugin makes a WP_Query and gets all posts from the custom post type that youÌtumọ̀ Yorùbá: ’ve given to it.

What are the parameters ?

  • type Ìtumọ̀ Yorùbá: – Here you have to tell the plugin from which post type you would like to get your posts.
    Example: type=”posts”
  • post_status Ìtumọ̀ Yorùbá: – This is the type of posts that should be listed.
    Example: post_status=”published”
  • order Ìtumọ̀ Yorùbá: – This is how the results should be ordered ASC / DESC.
    Example: order=”ASC”
  • order_by Ìtumọ̀ Yorùbá: – This tells the plugin by what the results should be ordered.
    Example: order_by=”publish_date”
  • posts_per_page Ìtumọ̀ Yorùbá: – With this you tell the plugin how much posts should be listed on the page.
    Example: posts_per_page=”5Ìtumọ̀ Yorùbá: ″
  • titles_as_links Ìtumọ̀ Yorùbá: – This tells the shortcode if the titles of the listed posts should be links that are pointing to the specific page for every unique post. Possible values are 0 & 1. If the value is set to 0 it will print the title without wrapping it in HTML Link tag (), but if the value is set to 1 it will wrap the post title into HTML Link tag and it will point to the specific post page.
    Example: titles_as_links=”1Ìtumọ̀ Yorùbá: ″
  • show_post_content Ìtumọ̀ Yorùbá: – This tells the shortcode if it should show the post content under their titles. Possible values are 0 & 1. If the value is 0 it wonÌtumọ̀ Yorùbá: ’t show the post content under its title, but if the value is set to 1 it will list the post content also.
    Example: show_post_content=”0Ìtumọ̀ Yorùbá: ″
  • cptl_title_link_class Ìtumọ̀ Yorùbá: – This is used to tell the shortcode what class should be added to the Link Wrapper of the post title. By default it is cptl_title_link.
  • cptl_title_class Ìtumọ̀ Yorùbá: – This tells the shortcode what class should be added to the Title Wrapper of the post title. By default it is cptl_title.
  • cptl_content_class Ìtumọ̀ Yorùbá: – This is used to tell the shortcode what class should be added to the Content Wrapper of the post content. By default it is cptl_content
  • cptl_content_wrapper Ìtumọ̀ Yorùbá: – This is used to tell the shortcode how wrap the listed results. It can be ‘h1’, ‘h2’, ‘h3’, ‘h4’, ‘h4’, ‘h6’, ‘li’, ‘span’, ‘div’

Why to use the plugin ?

The need of quick listing of custom post type on some page or post ?
Well this is your reason and this is your plugin.


Note :

You can use the standart WordPress options for those parameters:
type, post_status, order, order_by, posts_per_page

You donÌtumọ̀ Yorùbá: ’t find your functionality ?

Custom Post Type Lister is Open Source plugin, which means that you can contribute to it.
Yup thatÌtumọ̀ Yorùbá: ’s right! If you donÌtumọ̀ Yorùbá: ’t find the needed functionality just add it.
Here is the repository.
Cheers!

Àwọn àwòrán ìbòjú

Ìgbéwọlẹ̀

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Plugin Name screen to configure the plugin

Àwọn àgbéyẹ̀wò

Ọ̀wẹ́wẹ̀ 3, 2016
Very simple and easy to use plugin. I had one specific need and this plugin does exactly what I wanted it to!
Ka gbogbo àwọn àgbéyẹ̀wò 2

Àwọn Olùkópa & Olùgbéejáde

“Custom Post Type Lister Ìtumọ̀ Yorùbá: – CPT Lister” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa