{"id":41165,"date":"2016-01-14T12:02:40","date_gmt":"2016-01-14T12:02:40","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/custom-post-type-lister-cpt-lister\/"},"modified":"2020-05-22T09:30:30","modified_gmt":"2020-05-22T09:30:30","slug":"custom-post-type-lister-cpt-lister","status":"publish","type":"plugin","link":"https:\/\/sq-xk.wordpress.org\/plugins\/custom-post-type-lister-cpt-lister\/","author":14561205,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0","stable_tag":"2.0","tested":"5.4.19","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Custom Post Type Lister - CPT Lister","header_author":"GeroNikolov","header_description":"","assets_banners_color":"c06671","last_updated":"2020-05-22 09:30:30","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/blogy.co\/","header_plugin_uri":"","header_author_uri":"http:\/\/blogy.co?GeroNikolov","rating":5,"author_block_rating":0,"active_installs":10,"downloads":2243,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1329456","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1329454","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1329454","resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1329454","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1328293","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1328293","resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Admin Demo","2":"Front Demo"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1487,1446,22032,12392,80],"plugin_category":[],"plugin_contributors":[91964,93877],"plugin_business_model":[],"class_list":["post-41165","plugin","type-plugin","status-publish","hentry","plugin_tags-custom-post-types","plugin_tags-listing","plugin_tags-open-contribution","plugin_tags-open-source","plugin_tags-shortcode","plugin_contributors-geronikolov","plugin_contributors-thegremlyn","plugin_committers-geronikolov"],"banners":{"banner":"https:\/\/ps.w.org\/custom-post-type-lister-cpt-lister\/assets\/banner-772x250.png?rev=1329454","banner_2x":"https:\/\/ps.w.org\/custom-post-type-lister-cpt-lister\/assets\/banner-1544x500.png?rev=1329454","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/custom-post-type-lister-cpt-lister\/assets\/icon-128x128.png?rev=1329456","icon_2x":"https:\/\/ps.w.org\/custom-post-type-lister-cpt-lister\/assets\/icon-256x256.png?rev=1329454","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/custom-post-type-lister-cpt-lister\/assets\/screenshot-1.png?rev=1328293","caption":"Admin Demo"},{"src":"https:\/\/ps.w.org\/custom-post-type-lister-cpt-lister\/assets\/screenshot-2.png?rev=1328293","caption":"Front Demo"}],"raw_content":"<!--section=description-->\n<p>Hello there!<br \/>\nThis 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 <strong>[cpt_show]<\/strong><\/p>\n\n<p><strong>What it does ?<\/strong>\n<br \/>\nThis plugin makes a WP_Query and gets all posts from the custom post type that you've given to it.<\/p>\n\n<p><strong>What are the parameters ?<\/strong><\/p>\n\n<ul>\n    <li>\n    type - Here you have to tell the plugin from which post type you would like to get your posts.\n    Example: type=\"posts\"\n    <\/li>\n    <li>\n    post_status - This is the type of posts that should be listed.\n    Example: post_status=\"published\"\n    <\/li>\n    <li>\n    order - This is how the results should be ordered ASC \/ DESC.\n    Example: order=\"ASC\"\n    <\/li>\n    <li>\n    order_by - This tells the plugin by what the results should be ordered.\n    Example: order_by=\"publish_date\"\n    <\/li>\n    <li>\n    posts_per_page - With this you tell the plugin how much posts should be listed on the page.\n    Example: posts_per_page=\"5\"\n    <\/li>\n    <li>\n    titles_as_links - 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 &amp; 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.\n    Example: titles_as_links=\"1\"\n    <\/li>\n    <li>\n    show_post_content - This tells the shortcode if it should show the post content under their titles. Possible values are 0 &amp; 1. If the value is 0 it won't show the post content under its title, but if the value is set to 1 it will list the post content also.\n    Example: show_post_content=\"0\"\n    <\/li>\n    <li>\n    cptl_title_link_class - 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.\n    <\/li>\n    <li>\n    cptl_title_class - This tells the shortcode what class should be added to the Title Wrapper of the post title. By default it is cptl_title.\n    <\/li>\n    <li>\n    cptl_content_class - 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\n    <\/li>\n    <li>\n    cptl_content_wrapper - This is used to tell the shortcode how wrap the listed results. It can be <strong>'h1', 'h2', 'h3', 'h4', 'h4', 'h6', 'li', 'span', 'div'<\/strong>\n    <\/li>\n<\/ul>\n\n<p><strong>Why to use the plugin ?<\/strong>\n<br \/>\nThe need of quick listing of custom post type on some page or post ?\nWell this is your reason and this is your plugin.<\/p>\n\n<p><strong>\nNote :\n<br \/>\nYou can use the standart WordPress options for those parameters:\ntype, post_status, order, order_by, posts_per_page\n<\/strong><\/p>\n\n<p><strong>You don't find your functionality ?<\/strong>\n<br \/>\nCustom Post Type Lister is <strong>Open Source<\/strong> plugin, which means that you can contribute to it.\nYup that's right! If you don't find the needed functionality just add it.\nHere is the <strong><a href=\"https:\/\/github.com\/Gero0Nikolov\/cpt-lister.git\">repository<\/a><\/strong>.<br \/>\nCheers!<br \/><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/plugin-name<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Use the Settings-&gt;Plugin Name screen to configure the plugin<\/li>\n<\/ol>","raw_excerpt":"This plugin allows you to list a custom post type in your posts \/ pages with one simple shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/41165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=41165"}],"author":[{"embeddable":true,"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/geronikolov"}],"wp:attachment":[{"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=41165"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=41165"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=41165"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=41165"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=41165"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=41165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}