{"id":128748,"date":"2020-09-16T00:15:59","date_gmt":"2020-09-16T00:15:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/patterns\/"},"modified":"2020-09-17T11:26:56","modified_gmt":"2020-09-17T11:26:56","slug":"patterns","status":"closed","type":"plugin","link":"https:\/\/he.wordpress.org\/plugins\/patterns\/","author":8188417,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"trunk","tested":"5.5.18","requires":"5.0","requires_php":"","requires_plugins":"","header_name":"Block Patterns","header_author":"Mervin Praison","header_description":"A plugin containing Block Patterns to Gutenberg.","assets_banners_color":"cbba71","last_updated":"2020-09-17 11:26:56","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/goo.gl\/Q4oiBG","header_plugin_uri":"https:\/\/github.com\/Praison\/Patterns","header_author_uri":"https:\/\/mer.vin\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1371,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0":{"tag":"1.0","author":"mervinpraison","date":"2020-09-16 00:16:07"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-16x16.png":{"filename":"icon-16x16.png","revision":2382840,"resolution":"16x16","location":"assets","locale":""},"icon-192x192.png":{"filename":"icon-192x192.png","revision":2382840,"resolution":"192x192","location":"assets","locale":""},"icon-32x32.png":{"filename":"icon-32x32.png","revision":2382840,"resolution":"32x32","location":"assets","locale":""},"icon-512x512.png":{"filename":"icon-512x512.png","revision":2382840,"resolution":"512x512","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2382848,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2382885,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2382885,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.PNG":{"filename":"screenshot-1.PNG","revision":2382840,"resolution":"1","location":"assets","locale":""},"screenshot-2.PNG":{"filename":"screenshot-2.PNG","revision":2382840,"resolution":"2","location":"assets","locale":""},"screenshot-3.PNG":{"filename":"screenshot-3.PNG","revision":2382840,"resolution":"3","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1220,4121,148076,12226,18850],"plugin_category":[],"plugin_contributors":[79214],"plugin_business_model":[],"class_list":["post-128748","plugin","type-plugin","status-closed","hentry","plugin_tags-block","plugin_tags-blocks","plugin_tags-gutenberg","plugin_tags-pattern","plugin_tags-patterns","plugin_contributors-mervinpraison","plugin_committers-mervinpraison"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/patterns\/assets\/icon.svg?rev=2382848","icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/patterns_cbba71.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/patterns\/assets\/screenshot-1.PNG?rev=2382840","caption":""},{"src":"https:\/\/ps.w.org\/patterns\/assets\/screenshot-2.PNG?rev=2382840","caption":""},{"src":"https:\/\/ps.w.org\/patterns\/assets\/screenshot-3.PNG?rev=2382840","caption":""}],"raw_content":"<!--section=description-->\n<p>This plugin contains patterns for you to check out, ranging from a simple text pattern to a more complex pattern containing both images and text.<\/p>\n\n<p><a href=\"https:\/\/mer.vin\/wordpress\/plugins\/patterns\/#create\" title=\"Create WordPress Block Patterns\">Create WordPress Block Patterns<\/a><\/p>\n\n<h4>Add your block patterns to this plugin<\/h4>\n\n<ol>\n<li><p>Fork<\/p>\n\n<pre><code>https:\/\/github.com\/Praison\/Patterns\n<\/code><\/pre><\/li>\n<li><p>Clone your new fork locally<\/p>\n\n<pre><code>git clone https:\/\/github.com\/YOUR_USERNAME\/Patterns.git\ncd Patterns\n<\/code><\/pre><\/li>\n<li><p>Connect to original repository https:\/\/github.com\/Praison\/Patterns<\/p>\n\n<pre><code>git remote add --track master upstream https:\/\/github.com\/Praison\/Patterns.git\ngit fetch upstream\n<\/code><\/pre><\/li>\n<li><p>Create a new branch for your changes<\/p>\n\n<pre><code>git checkout -b YOUR_USERNAME upstream\/master\n<\/code><\/pre><\/li>\n<li><p>Add your block patterns in <code>index.php<\/code><\/p>\n\n<pre><code>register_block_pattern(\n    'praison-gutenberg-block-patterns\/TITLE-OF-YOUR-BLOCK-PATTERN',  # Add Hyphens between lowercase words\n    array(\n        'title'   =&gt; __( 'TITLE_OF_YOUR_BLOCK_PATTERN', 'praison-gutenberg-block-patterns' ),\n        'content' =&gt; \"BLOCK_PATTERN_GOES_HERE\",\n        'categories' =&gt; array(\"CATEGORY\"), # eg: columns, text ..etc\n    )\n);\n<\/code><\/pre><\/li>\n<li><p>Add, Commit, Push<\/p>\n\n<pre><code>git add .\ngit commit -m \"Added block pattern TITLE_OF_YOUR_BLOCK\"\ngit push -u origin YOUR_USERNAME\n<\/code><\/pre><\/li>\n<li><p>Submit your <a href=\"https:\/\/docs.github.com\/en\/github\/collaborating-with-issues-and-pull-requests\/creating-a-pull-request\" title=\"Creating Pull Request\">pull request<\/a><\/p><\/li>\n<\/ol>\n\n<!--section=installation-->\n<h4>Steps<\/h4>\n\n<ol>\n<li>Download the zip file<\/li>\n<li>Extract the contents<\/li>\n<li>Upload the folder <code>patterns<\/code> to your WP plugin folder <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Go to Plugins &gt; Plugins, and activate the plugin<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>Version 1.0<\/h4>\n\n<ul>\n<li>First release<\/li>\n<\/ul>","raw_excerpt":"New Block Patterns to Gutenberg.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/128748","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=128748"}],"author":[{"embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mervinpraison"}],"wp:attachment":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=128748"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=128748"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=128748"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=128748"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=128748"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=128748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}