{"id":108382,"date":"2019-08-29T01:44:20","date_gmt":"2019-08-29T01:44:20","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/git-snippets\/"},"modified":"2021-09-25T20:57:10","modified_gmt":"2021-09-25T20:57:10","slug":"git-snippets","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/git-snippets\/","author":17172235,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.0","stable_tag":"2.0.0","tested":"5.8.13","requires":"4.9","requires_php":"7.1","requires_plugins":"","header_name":"Git Snippets","header_author":"Luis A. Ochoa","header_description":"With Git Snippets you can share code snippets with the world from your website.","assets_banners_color":"eceff1","last_updated":"2021-09-25 20:57:10","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/gitlab.com\/aochoae\/git-snippets","header_author_uri":"https:\/\/gitlab.com\/aochoae\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1199,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"aochoae","date":"2021-07-19 07:08:24"},"2.0.0":{"tag":"2.0.0","author":"aochoae","date":"2021-09-25 20:57:10"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2147446,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2147446,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2147446,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2147446,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","2.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[15326,69110,80],"plugin_category":[43],"plugin_contributors":[175601],"plugin_business_model":[],"class_list":["post-108382","plugin","type-plugin","status-publish","hentry","plugin_tags-git","plugin_tags-gitlab","plugin_tags-shortcode","plugin_category-customization","plugin_contributors-aochoae","plugin_committers-aochoae"],"banners":{"banner":"https:\/\/ps.w.org\/git-snippets\/assets\/banner-772x250.png?rev=2147446","banner_2x":"https:\/\/ps.w.org\/git-snippets\/assets\/banner-1544x500.png?rev=2147446","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/git-snippets\/assets\/icon-128x128.png?rev=2147446","icon_2x":"https:\/\/ps.w.org\/git-snippets\/assets\/icon-256x256.png?rev=2147446","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>With Git Snippets you can share code and text fragments with other users from your website.<\/p>\n\n<p>To embed a project snippet, first make sure that:<\/p>\n\n<ul>\n<li>The snippet is public<\/li>\n<li>In <strong>Project &gt; Settings &gt; Visibility, project features, permissions<\/strong>, the snippets permissions are set to <strong>Everyone with access<\/strong><\/li>\n<\/ul>\n\n<p>Use <code>[gitlab]<\/code> shortcode by using the ID or URL of the snippet in your posts and pages.<\/p>\n\n<ul>\n<li><code>[gitlab id=\"2180458\"]<\/code><\/li>\n<li><code>[gitlab url=\"https:\/\/gitlab.com\/aochoae\/git-snippets\/-\/snippets\/2180458\"]<\/code><\/li>\n<\/ul>\n\n<!--section=installation-->\n<h4>Minimum Requirements<\/h4>\n\n<ul>\n<li>WordPress 4.9 or greater<\/li>\n<li>PHP 7.1 or greater<\/li>\n<\/ul>\n\n<h4>Manual installation<\/h4>\n\n<ol>\n<li>Navigate to <strong>Plugins &gt; Add New<\/strong>.<\/li>\n<li>Click the Upload Plugin button at the top of the screen.<\/li>\n<li>Select the zip file from your local filesystem.<\/li>\n<li>Click the <strong>Install Now<\/strong> button.<\/li>\n<li>Click the Activate Plugin button at the bottom of the page.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>2.0.0 (September 25, 2021)<\/h4>\n\n<ul>\n<li>GitLab 14.1 (Tested)<\/li>\n<li>Code cleanup<\/li>\n<\/ul>\n\n<h4>1.0.0 (August 28, 2019)<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"With Git Snippets you can share code and text fragments with other users from your website.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/108382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=108382"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/aochoae"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=108382"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=108382"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=108382"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=108382"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=108382"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=108382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}