{"id":94415,"date":"2018-12-11T13:28:51","date_gmt":"2018-12-11T13:28:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wp-general-purpose-shortcodes\/"},"modified":"2023-07-26T09:43:13","modified_gmt":"2023-07-26T09:43:13","slug":"wp-general-purpose-shortcodes","status":"publish","type":"plugin","link":"https:\/\/hu.wordpress.org\/plugins\/wp-general-purpose-shortcodes\/","author":13907688,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2.4","stable_tag":"trunk","tested":"6.3.8","requires":"4.6","requires_php":"5.2.4","requires_plugins":null,"header_name":"WP general purpose shortcodes","header_author":"Iv\u00e1n Sainz (Ahead Labs)","header_description":"General purpose shortcodes for WordPress","assets_banners_color":"303030","last_updated":"2023-07-26 09:43:13","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/paypal.me\/aheadlabs","header_plugin_uri":"https:\/\/github.com\/aheadlabs\/wp-general-purpose-shortcodes\/","header_author_uri":"https:\/\/ivansainz.es\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1106,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"0.2.1":{"tag":"0.2.1","author":"aheadlabs","date":"2021-03-04 21:43:00"},"0.2.2":{"tag":"0.2.2","author":"aheadlabs","date":"2021-03-04 21:43:00"},"0.2.3":{"tag":"0.2.3","author":"aheadlabs","date":"2022-09-01 11:16:17"}},"upgrade_notice":{"0.2.0":"<p>Added a new shortcode.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1991960,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":1991960,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2.1","0.2.2","0.2.3"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"There are no screenshots."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1358,80],"plugin_category":[43],"plugin_contributors":[165391],"plugin_business_model":[],"class_list":["post-94415","plugin","type-plugin","status-publish","hentry","plugin_tags-date","plugin_tags-shortcode","plugin_category-customization","plugin_contributors-aheadlabs","plugin_committers-aheadlabs"],"banners":{"banner":"https:\/\/ps.w.org\/wp-general-purpose-shortcodes\/assets\/banner-772x250.png?rev=1991960","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-general-purpose-shortcodes\/assets\/icon-128x128.png?rev=1991960","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>General purpose shortcodes for WordPress.\nJust install the plugin from the <a href=\"https:\/\/developer.wordpress.org\/plugins\/wp-general-purpose-shortcodes\/\">WordPress plugins directory<\/a> and start adding the shortcodes to your content. That easy.<\/p>\n\n<h3>Shortcodes<\/h3>\n\n<h3>[ahl_year]<\/h3>\n\n<p>This shortcode adds the current year with 4 digits.<\/p>\n\n<p>E.g.: You write <code>[ahl_year]<\/code> and you get something like <code>2018<\/code>.<\/p>\n\n<h3>[ahl_yearsFromDate]<\/h3>\n\n<p>This shortcode adds the number of years from a given day to present. You must pass that date as an attibute named <code>date<\/code>.<\/p>\n\n<p>E.g.: You write <code>[ahl_yearsFromDate date=\"2003-01-01\"]<\/code> and you get something like <code>2015<\/code>.<\/p>\n\n<blockquote>\n  <p>Note that date must be written in the format showed in the example: yyyy-mm-dd<\/p>\n<\/blockquote>\n\n<!--section=faq-->\n<p>Please, send me any questions you have so I can answer them.<\/p>\n\n<!--section=changelog-->\n<h4>0.2.4<\/h4>\n\n<ul>\n<li>Updated version compatibility<\/li>\n<\/ul>\n\n<h4>0.2.0<\/h4>\n\n<ul>\n<li>Added the shortcode: [ahl_yearsFromDate]<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Added the first shortcode: [ahl_year]<\/li>\n<\/ul>","raw_excerpt":"General purpose shortcodes for WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/94415","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=94415"}],"author":[{"embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/aheadlabs"}],"wp:attachment":[{"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=94415"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=94415"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=94415"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=94415"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=94415"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=94415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}