{"id":4406,"date":"2025-02-17T04:14:04","date_gmt":"2025-02-17T04:14:04","guid":{"rendered":"https:\/\/s-o-s.net\/osom-blocks-custom-post-type-listing-block\/"},"modified":"2025-02-17T04:14:04","modified_gmt":"2025-02-17T04:14:04","slug":"osom-blocks-custom-post-type-listing-block","status":"publish","type":"post","link":"http:\/\/s-o-s.net\/en_gb\/osom-blocks-custom-post-type-listing-block\/","title":{"rendered":"Osom Blocks \u2013 Custom Post Type listing block"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<article id=\"post-129275\" class=\"alignwide post-129275 plugin type-plugin status-publish hentry plugin_tags-blocks plugin_tags-editor plugin_tags-gutenberg plugin_tags-gutenberg-blocks plugin_tags-page-builder plugin_category-editor-and-writing plugin_contributors-esther_sola plugin_contributors-nahuai plugin_contributors-osompress plugin_business_model-community plugin_committers-osompress\">\n<div class=\"plugin-banner\" id=\"plugin-banner-osomblocks\"><\/div>\n<header class=\"plugin-header\">\n<div class=\"plugin-notice notice notice-warning notice-alt\">\n<p>This plugin <strong>hasn\u0092t been tested with the latest 3 major releases of WordPress<\/strong>. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.<\/p>\n<\/div>\n<p><!-- .plugin-notice -->\t\t<\/p>\n<div class=\"entry-heading-container\">\n<div>\n<div class=\"entry-thumbnail\">\n\t\t\t\t\t<img decoding=\"async\" class=\"plugin-icon\" src=\"https:\/\/ps.w.org\/osomblocks\/assets\/icon.svg?rev=2393171\" alt=\"\">\t\t\t\t<\/div>\n<div>\n<h1 class=\"plugin-title\">Osom Blocks \u2013 Custom Post Type listing block<\/h1>\n<p>\t\t\t\t\t<span class=\"byline\">By <span class=\"author vcard\"><a target=\"_blank\" class=\"url fn n\" href=\"https:\/\/profiles.wordpress.org\/osompress\/\" rel=\"noopener\">OsomPress<\/a><\/span><\/span>\n\t\t\t\t<\/div>\n<\/p><\/div>\n<div class=\"plugin-actions\">\n<div class=\"wp-block-button is-small plugin-download download-button\"><a target=\"_blank\" class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/downloads.wordpress.org\/plugin\/osomblocks.1.2.1.zip\" rel=\"noopener\">Download<\/a><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/header>\n<p><!-- .entry-header --><\/p>\n<p>\t<span id=\"description\"><\/span><br \/>\n\t<span id=\"reviews\"><\/span><br \/>\n\t<span id=\"installation\"><\/span><br \/>\n\t<span id=\"developers\"><\/span><br \/>\n\t<span id=\"advanced\" class=\"\"><\/span><br \/>\n\t<span id=\"section-links\"><\/p>\n<ul class=\"tabs clear\">\n<li id=\"tablink-description\"><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/osomblocks\/#description\" rel=\"noopener\">Details<\/a><\/li>\n<li id=\"tablink-reviews\"><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/osomblocks\/#reviews\" rel=\"noopener\">Reviews<\/a><\/li>\n<li id=\"tablink-installation\">\n\t\t\t\t<a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/osomblocks\/#installation\" rel=\"noopener\">Installation<\/a>\n\t\t\t<\/li>\n<li id=\"tablink-developers\"><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/osomblocks\/#developers\" rel=\"noopener\">Development<\/a><\/li>\n<\/ul>\n<div id=\"link-support\">\n\t\t\t<a target=\"_blank\" href=\"https:\/\/wordpress.org\/support\/plugin\/osomblocks\/\" rel=\"noopener\">Support<\/a>\n\t\t<\/div>\n<p>\t<\/span><br \/>\n\t<script type=\"text\/javascript\">if ( '#changelog' == window.location.hash ) { window.setTimeout( function() { window.location.hash=\"#developers\"; }, 10 ); }<\/script><\/p>\n<div class=\"entry-content\">\n<div id=\"tab-description\" class=\"plugin-description section\">\n<h2 id=\"description-header\">Description<\/h2>\n<p>Osom Blocks is a block to list Custom Post Types, ideally to use with OsomPress themes.<\/p>\n<p>With Osom Custom Post Type Block you can display a list of CPT entries and customize:<br \/>\n1. The Custom Post Type.<br \/>\n2. Number of posts.<br \/>\n3. Display\/hide the featured image.<br \/>\n4. Display\/hide the excerpt.<br \/>\n5. Choose grid display<br \/>\n6. Choose the number of columns for the grid layout<br \/>\n7. Choose the title HTML markup (H2, H3 or H4).<br \/>\n8. Customize the \u201cread more\u201d text.<br \/>\n9. Display\/hide parent post\/pages (only in hierarchical Custom Post Types).<br \/>\n10. Display\/hide pagination.<\/p>\n<h3>Deprecation Notice<\/h3>\n<p><strong>Important:<\/strong> We want to inform you that the plugin will be deprecated in future releases. For new sites we highly encourage you use the native query loop block, which now supports listing of Custom Post Types seamlessly.<br \/>\nWe appreciate your understanding.<\/p>\n<h3>Follow Along<\/h3>\n<ul>\n<li><a target=\"_blank\" href=\"https:\/\/osompress.com\/\" rel=\"nofollow ugc noopener\">Visit the OsomPres site<\/a><\/li>\n<\/ul>\n<\/div>\n<div id=\"screenshots\" class=\"plugin-screenshots section\">\n<h2 id=\"screenshots-header\">Screenshots<\/h2>\n<ul class=\"plugin-screenshots\">\n<li>\n<figure><a target=\"_blank\" href=\"https:\/\/ps.w.org\/osomblocks\/assets\/screenshot-1.png?rev=2477487\" rel=\"nofollow noopener\"><img decoding=\"async\" class=\"screenshot\" src=\"https:\/\/ps.w.org\/osomblocks\/assets\/screenshot-1.png?rev=2477487\" alt=\"\"><\/a><figcaption>Osom Blocks settings posts<\/figcaption><\/figure>\n<\/li>\n<li>\n<figure><a target=\"_blank\" href=\"https:\/\/ps.w.org\/osomblocks\/assets\/screenshot-2.png?rev=2477487\" rel=\"nofollow noopener\"><img decoding=\"async\" class=\"screenshot\" src=\"https:\/\/ps.w.org\/osomblocks\/assets\/screenshot-2.png?rev=2477487\" alt=\"\"><\/a><figcaption>Osom Blocks settings CPT<\/figcaption><\/figure>\n<\/li>\n<li>\n<figure><a target=\"_blank\" href=\"https:\/\/ps.w.org\/osomblocks\/assets\/screenshot-3.png?rev=2477487\" rel=\"nofollow noopener\"><img decoding=\"async\" class=\"screenshot\" src=\"https:\/\/ps.w.org\/osomblocks\/assets\/screenshot-3.png?rev=2477487\" alt=\"\"><\/a><figcaption>Osom Blocks CPT grid layout<\/figcaption><\/figure>\n<\/li>\n<li>\n<figure><a target=\"_blank\" href=\"https:\/\/ps.w.org\/osomblocks\/assets\/screenshot-4.png?rev=2477487\" rel=\"nofollow noopener\"><img decoding=\"async\" class=\"screenshot\" src=\"https:\/\/ps.w.org\/osomblocks\/assets\/screenshot-4.png?rev=2477487\" alt=\"\"><\/a><figcaption>Osom Blocks settings<\/figcaption><\/figure>\n<\/li>\n<\/ul>\n<\/div>\n<div id=\"blocks\" class=\"plugin-blocks section\">\n<h2 id=\"blocks-header\">Blocks<\/h2>\n<p>This plugin provides 1 block.<\/p>\n<ul class=\"plugin-blocks-list\">\n<li class=\"plugin-blocks-list-item\">\n\t\t\t\t\t\t\t\t\t<span class=\"block-icon dashicons dashicons-block-default\"><\/span><br \/>\n\t\t\t\t\t\t\t\t<span class=\"block-title\">Osom Custom Post Type Block<\/span>\n\t\t\t\t\t\t\t<\/li>\n<\/ul>\n<\/div>\n<div id=\"tab-installation\" class=\"plugin-installation section\">\n<h2 id=\"installation-header\">Installation<\/h2>\n<p>This plugin can be installed directly from your site.<\/p>\n<ol>\n<li>Log in and navigate to _Plugins \u2192 Add New.<\/li>\n<li>Type \u201cOsom Blocks\u201d into the Search and hit Enter.<\/li>\n<li>Locate the Osom Blocks plugin in the list of search results and click <strong>Install Now<\/strong>.<\/li>\n<li>Once installed, click the Activate link.<\/li>\n<li>Now you have the new block available on editor.<\/li>\n<\/ol>\n<p>It can also be installed manually.<\/p>\n<ol>\n<li>Download the Osom Blocks plugin from WordPress.org.<\/li>\n<li>Unzip the package and move to your plugins directory.<\/li>\n<li>Log into WordPress and navigate to the Plugins screen.<\/li>\n<li>Locate Osom Blocks in the list and click the <em>Activate<\/em> link.<\/li>\n<li>Now you have the new block available on editor.<\/li>\n<\/ol>\n<\/div>\n<div id=\"faq\" class=\"plugin-faq section\">\n<h2 id=\"faq-header\">FAQ<\/h2>\n<dl>\n<dt id=\"can%20osom%20blocks%20be%20used%20with%20any%20theme%3F\">\n<h3>Can Osom Blocks be used with any theme?<\/h3>\n<\/dt>\n<dd>\n<p>Yes, you can use Osom Blocks with any theme.<\/p>\n<\/dd>\n<dt id=\"do%20i%20need%20the%20new%20block%20editor%20to%20use%20osom%20blocks%3F\">\n<h3>Do I need the new block editor to use Osom Blocks?<\/h3>\n<\/dt>\n<dd>\n<p>Yes, you will need to have WordPress 5.0 or later installed to take advantage of Osom Blocks.<\/p>\n<\/dd>\n<dt id=\"can%20i%20display%20any%20custom%20post%20type%3F\">\n<h3>Can I display any Custom Post Type?<\/h3>\n<\/dt>\n<dd>\n<p>Yes, all the CPT will automatically populate and you only need to choose it from the dropdown.<\/p>\n<\/dd>\n<dt id=\"i%27m%20seeing%20more%20posts%20than%20i%20selected%20in%20the%20settings%2C%20why%20is%20that%3F\">\n<h3>I\u2019m seeing more posts than I selected in the settings, why is that?<\/h3>\n<\/dt>\n<dd>\n<p>If more posts than selected are displaying, make sure you activate \u201cIgnore sticky posts\u201d toggle.<\/p>\n<\/dd>\n<dt id=\"i%27m%20not%20seeing%20one%20%28or%20more%29%20custom%20post%20type%2C%20why%20is%20that%3F\">\n<h3>I\u2019m not seeing one (or more) Custom Post Type, why is that?<\/h3>\n<\/dt>\n<dd>\n<p>If you have created the CPT make sure you use the argument \u201cshow_in_rest\u201d =&gt; true, when registering. If it\u2019s created by third party you can use the filter register_post_type_args to add the support.<\/p>\n<\/dd>\n<\/dl>\n<\/div>\n<div id=\"tab-developers\" class=\"plugin-developers section\">\n<h2 id=\"developers-header\">Contributors &amp; Developers<\/h2>\n<div class=\"plugin-contributors\">\n<p>\u201cOsom Blocks \u2013 Custom Post Type listing block\u201d is open source software. The following people have contributed to this plugin.<\/p>\n<p><span class=\"screen-reader-text\">Contributors<\/span><\/p>\n<ul id=\"contributors-list\" class=\"contributors-list\">\n<li>\n\t\t\t\t<img decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/73619232c18207c675ae3b88d5ce1e41f46fb5d29d4b2dc266fbbb66a0fd07f9?s=32&amp;d=mm&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/73619232c18207c675ae3b88d5ce1e41f46fb5d29d4b2dc266fbbb66a0fd07f9?s=64&amp;d=mm&amp;r=g 2x\" class=\"avatar avatar-32 photo\" height=\"32\" width=\"32\">\t\t\t\t<a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/osompress\/\" rel=\"noopener\"><br \/>\n\t\t\t\t\tOsomPress\t\t\t\t<\/a>\n\t\t\t<\/li>\n<li>\n\t\t\t\t<img decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/5d2dabb29da2a01b18b21eadd1c71ed5a165b57814acc2695c75678e2b4567df?s=32&amp;d=mm&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/5d2dabb29da2a01b18b21eadd1c71ed5a165b57814acc2695c75678e2b4567df?s=64&amp;d=mm&amp;r=g 2x\" class=\"avatar avatar-32 photo\" height=\"32\" width=\"32\">\t\t\t\t<a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/esther_sola\/\" rel=\"noopener\"><br \/>\n\t\t\t\t\testher sola\t\t\t\t<\/a>\n\t\t\t<\/li>\n<li>\n\t\t\t\t<img decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/d24eb85bc98c346dfd53881b9b23071be03e8dfdf12586a9cff59a0544029032?s=32&amp;d=mm&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/d24eb85bc98c346dfd53881b9b23071be03e8dfdf12586a9cff59a0544029032?s=64&amp;d=mm&amp;r=g 2x\" class=\"avatar avatar-32 photo\" height=\"32\" width=\"32\">\t\t\t\t<a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/nahuai\/\" rel=\"noopener\"><br \/>\n\t\t\t\t\tNahuai Badiola\t\t\t\t<\/a>\n\t\t\t<\/li>\n<\/ul><\/div>\n<div class=\"plugin-development\">\n<p>\u201cOsom Blocks \u2013 Custom Post Type listing block\u201d has been translated into 5 locales. Thank you to <a target=\"_blank\" href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/osomblocks\/contributors\" rel=\"noopener\">the translators<\/a> for their contributions.<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/osomblocks\" rel=\"noopener\">Translate \u201cOsom Blocks \u2013 Custom Post Type listing block\u201d into your language.<\/a><\/p>\n<h3>Interested in development?<\/h3>\n<p><a target=\"_blank\" href=\"https:\/\/plugins.trac.wordpress.org\/browser\/osomblocks\/\" rel=\"noopener\" class=\"broken_link\">Browse the code<\/a>, check out the <a target=\"_blank\" href=\"https:\/\/plugins.svn.wordpress.org\/osomblocks\/\" rel=\"noopener\">SVN repository<\/a>, or subscribe to the <a target=\"_blank\" href=\"https:\/\/plugins.trac.wordpress.org\/log\/osomblocks\/\" rel=\"noopener\" class=\"broken_link\">development log<\/a> by <a target=\"_blank\" href=\"https:\/\/plugins.trac.wordpress.org\/log\/osomblocks\/?limit=100&amp;mode=stop_on_copy&amp;format=rss\" rel=\"noopener\" class=\"broken_link\">RSS<\/a>.<\/p>\n<\/div>\n<\/div>\n<div id=\"tab-changelog\" class=\"plugin-changelog section\">\n<h2 id=\"changelog-header\">Changelog<\/h2>\n<h4>1.2.1<\/h4>\n<ul>\n<li>Fixed pagination behavior in home page.<\/li>\n<\/ul>\n<h4>1.2<\/h4>\n<ul>\n<li>Tested on WordPress 5.9.<\/li>\n<li>Added filter to modify the loop arguments (osom_blocks_args).<\/li>\n<\/ul>\n<h4>1.1.2<\/h4>\n<ul>\n<li>Added responsive break points to the grid layout.<\/li>\n<\/ul>\n<h4>1.1.1<\/h4>\n<ul>\n<li>Added: ClassName<\/li>\n<li>Changed text domain for some strings<\/li>\n<\/ul>\n<h4>1.1<\/h4>\n<ul>\n<li>This version adds most of the most popular request we\u2019ve received so far.<\/li>\n<li>New: Now CPTs are auto-populated and you can select them from the dropdown<\/li>\n<li>Added: possibility to filter by tags or categories when \u201cpost\u201d is selected<\/li>\n<li>Added: display\/hide parent posts toggle (only in hierarchical CPTs)<\/li>\n<li>Added: setting to chose the number of columns when grid layout is selected<\/li>\n<li>Added: display\/hide sticky posts toggle<\/li>\n<li>Added: display\/hide pagination toggle<\/li>\n<\/ul>\n<h4>1.0.2<\/h4>\n<ul>\n<li>Added: grid layout<\/li>\n<li>Fixed: HTML tags issue<\/li>\n<\/ul>\n<h4>1.0.1<\/h4>\n<ul>\n<li>Added: translations<\/li>\n<\/ul>\n<h4>1.0<\/h4>\n<ul>\n<li>Initial release.\n<ul>\n<li>Add the Customizable Button block.<\/li>\n<li>Includes Custom Post Type Block<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/div><\/div>\n<p><!-- .entry-content --><\/p>\n<p>\t<!-- .entry-meta --><br \/>\n<\/article>\n<p><br \/>\n<br \/><a href=\"https:\/\/wordpress.org\/plugins\/osomblocks\/\" target=\"_blank\" rel=\"noopener\">Source link <\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>This plugin hasn\u0092t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress. Osom Blocks \u2013 Custom Post Type listing block By OsomPress Download Details Reviews Installation Development Support Description Osom Blocks is a [&hellip;]<\/p>","protected":false},"author":59,"featured_media":4407,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"give_campaign_id":0,"footnotes":""},"categories":[1933,39,40],"tags":[2207,2007,2065,2868,2504,2138,2254],"class_list":["post-4406","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-community-plugin","category-lite-version","category-wp-plugin-solution","tag-block","tag-blocks","tag-custom","tag-listing","tag-osom","tag-post","tag-type"],"acf":[],"fifu_image_url":"https:\/\/ps.w.org\/osomblocks\/assets\/banner-772x250.png?rev=2393171","_links":{"self":[{"href":"http:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/posts\/4406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/users\/59"}],"replies":[{"embeddable":true,"href":"http:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/comments?post=4406"}],"version-history":[{"count":0,"href":"http:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/posts\/4406\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/media\/4407"}],"wp:attachment":[{"href":"http:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/media?parent=4406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/categories?post=4406"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/tags?post=4406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}