{"id":120893,"date":"2020-05-01T11:07:09","date_gmt":"2020-05-01T11:07:09","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/custom-blocks-templates\/"},"modified":"2023-05-16T10:57:11","modified_gmt":"2023-05-16T10:57:11","slug":"custom-blocks-templates","status":"publish","type":"plugin","link":"https:\/\/kea.wordpress.org\/plugins\/custom-blocks-templates\/","author":15860637,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3.2","stable_tag":"trunk","tested":"6.2.9","requires":"5.0","requires_php":"7.2","requires_plugins":null,"header_name":"Custom Blocks Templates","header_author":"Sirvelia","header_description":"Create and set Gutenberg blocks templates for any post type.","assets_banners_color":"111b37","last_updated":"2023-05-16 10:57:11","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/sirvelia.com\/","header_plugin_uri":"https:\/\/github.com\/Sirvelia\/custom-blocks-templates\/","header_author_uri":"https:\/\/sirvelia.com\/","rating":5,"author_block_rating":0,"active_installs":20,"downloads":2182,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":3},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2912921,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2912921,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2912921,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2912921,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"custom-blocks-templates\/csv-tables":{"name":"custom-blocks-templates\/csv-tables","title":"Custom Blocks Templates"},"custom-blocks-templates\/social-share-item":{"name":"custom-blocks-templates\/social-share-item","title":"Custom Blocks Templates"},"custom-blocks-templates\/accordion":{"name":"custom-blocks-templates\/accordion","title":"Custom Blocks Templates"},"custom-blocks-templates\/private-blocks":{"name":"custom-blocks-templates\/private-blocks","title":"Custom Blocks Templates"},"custom-blocks-templates\/countdown":{"name":"custom-blocks-templates\/countdown","title":"Custom Blocks Templates"}},"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2296017,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2296017,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2296017,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2296017,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2296017,"resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"There is a menu on the admin area called \"Custom Blocks Templates\". You will be able to create and edit your Templates from this page.","2":"Creating a Template is similar than the process of a post creation.","3":"You can add as any blocks as you want.","4":"Then, you can assign Templates to any Post Type on your site.","5":"And you can start creating content with the structure from the Template"},"jetpack_post_was_ever_published":false},"plugin_section":[163309],"plugin_tags":[1220,1506,4594,148076,975],"plugin_category":[43,59],"plugin_contributors":[182983],"plugin_business_model":[],"class_list":["post-120893","plugin","type-plugin","status-publish","hentry","plugin_section-blocks","plugin_tags-block","plugin_tags-dynamic","plugin_tags-fontawesome","plugin_tags-gutenberg","plugin_tags-template","plugin_category-customization","plugin_category-utilities-and-tools","plugin_contributors-sirvelia","plugin_committers-amadeuarderiu","plugin_committers-joanrodas","plugin_committers-sirvelia"],"banners":{"banner":"https:\/\/ps.w.org\/custom-blocks-templates\/assets\/banner-772x250.png?rev=2912921","banner_2x":"https:\/\/ps.w.org\/custom-blocks-templates\/assets\/banner-1544x500.png?rev=2912921","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/custom-blocks-templates\/assets\/icon-128x128.png?rev=2912921","icon_2x":"https:\/\/ps.w.org\/custom-blocks-templates\/assets\/icon-256x256.png?rev=2912921","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/custom-blocks-templates\/assets\/screenshot-1.png?rev=2296017","caption":"There is a menu on the admin area called \"Custom Blocks Templates\". You will be able to create and edit your Templates from this page."},{"src":"https:\/\/ps.w.org\/custom-blocks-templates\/assets\/screenshot-2.png?rev=2296017","caption":"Creating a Template is similar than the process of a post creation."},{"src":"https:\/\/ps.w.org\/custom-blocks-templates\/assets\/screenshot-3.png?rev=2296017","caption":"You can add as any blocks as you want."},{"src":"https:\/\/ps.w.org\/custom-blocks-templates\/assets\/screenshot-4.png?rev=2296017","caption":"Then, you can assign Templates to any Post Type on your site."},{"src":"https:\/\/ps.w.org\/custom-blocks-templates\/assets\/screenshot-5.png?rev=2296017","caption":"And you can start creating content with the structure from the Template"}],"raw_content":"<!--section=description-->\n<p>Create and set Gutenberg blocks templates for your posts, pages and custom post types.<\/p>\n\n<ol>\n<li>Go to <strong>Blocks Templates<\/strong>-&gt;Create Template in your admin panel.<\/li>\n<li>Start creating your template, adding any blocks you'd like with the Gutenberg editor.<\/li>\n<li>Assign your newly created template to any post type (post, page or custom).<\/li>\n<li>The template will be set as the default content of new posts of that type.<\/li>\n<\/ol>\n\n<p><strong>CBT also includes some blocks ;)<\/strong><\/p>\n\n<ul>\n<li><strong>Private Block<\/strong>: A block that helps you protect your content and control its visibility. You can protect anything inside this \"block container\" with a password, allow only logged-in members to see the contents, filter by user role and display only in single or archive pages.<\/li>\n<li><strong>Accordion<\/strong>: An accordion-like drop down with a header and InnerBlocks, so you can create multiple accordions inside.<\/li>\n<li><strong>CSV Tables<\/strong>: Allows you to import a CSV file and show its contents in a table with search and order functionality.<\/li>\n<li><strong>Card<\/strong>: A simple bordered box with a header and custom content (Inner Blocks).<\/li>\n<li><strong>Social share<\/strong>: Choose your favorite social media platforms and allow visitors to share your content easily. Supports: Buffer, Diaspora, Douban, Evernote, Facebook, Flipboard, Hacker News, Hatena, Kakao Story, LINE, LinkedIn, Men\u00e9ame, Mixi, Pinterest, Pocket, Qzone, Reddit, Renren, Telegram, Tumblr, Twitter, VK, Weibo, WhatsApp and Xing<\/li>\n<\/ul>\n\n<p><strong>And new controls for any blocks with rich text!<\/strong><\/p>\n\n<ul>\n<li><strong>Font Awesome Icons<\/strong>: Search Font Awesome 5 icons and include it in your posts as inline elements.<\/li>\n<li><strong>Dynamic Text<\/strong>: Display the author name, post title, published date, categories and\/or tags anywhere on your posts.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload <code>custom-blocks-templates<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20are%20blocks%20templates%20useful%3F'><h3>How are blocks templates useful?<\/h3><\/dt>\n<dd><p>If your posts have some common structure, having a template will save you a lot of time. An author block, social share buttons, a column layout, a review box, related posts, some logos... You can put as many blocks as you like and set that as your default template for any post type.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Fix: Templates locked\/orderable\/editable<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>New format: Font awesome icons<\/li>\n<li>CBT blocks list: Easy insertion from Inspector Panel<\/li>\n<li>New attribute: Card background color<\/li>\n<li>Add example previews to CBT blocks<\/li>\n<li>Fix: Accordion block (Set a unique id to avoid conflicts with same-name headings)<\/li>\n<li>Fix: Private Blocks (Add support for all user roles)<\/li>\n<li>Fix: Dynamic Text (PHP error with empty content)<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>New block: Social share (with 25 social networks to choose from)<\/li>\n<li>New format: Dynamic text (author, date, title, categories and tags)<\/li>\n<li>Visual improvements in admin area<\/li>\n<li>Block list tree in edit Inspector panel<\/li>\n<li>Fix: Accordion block (position relative)<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Fix: Card and Accordion blocks RichText controls<\/li>\n<li>Private Block visual improvements<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Import\/Export templates in JSON<\/li>\n<li>Preview Templates<\/li>\n<li>Fix: Database prefix<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Create and set Gutenberg blocks templates for posts, pages and custom post types","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/120893","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=120893"}],"author":[{"embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sirvelia"}],"wp:attachment":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=120893"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=120893"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=120893"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=120893"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=120893"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=120893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}