{"id":64282,"date":"2014-08-03T11:35:48","date_gmt":"2014-08-03T11:35:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/substitute\/"},"modified":"2014-08-06T23:00:53","modified_gmt":"2014-08-06T23:00:53","slug":"substitute","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/substitute\/","author":8483700,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"","stable_tag":"trunk","tested":"","requires":"","requires_php":"","requires_plugins":"","header_name":"substitute","header_author":"","header_description":"","assets_banners_color":"","last_updated":"2014-08-06 23:00:53","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/silvermapleweb.com\/uploads\/2014\/08\/substitute.zip","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":10,"downloads":339,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":[],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-64282","plugin","type-plugin","status-closed","hentry","plugin_committers-pkwooster"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/substitute.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"","raw_excerpt":"<p>Substitute provides the ability to include values from the Request and Server arrays and other pages in WordPress content.  There are two short codes: [include] and [substitute], and a Substitute widget.<\/p>\n<p>The [include] shortcode is compatible with WP Advanced Include, with the addition of include by slug and tag substitution. The [substitute] shortcode performs the tag substitution on a block of text or HTML.  The Substitute widget is a Text widget with the tag substitution.<\/p>\n<p>Tags take the form {{source.field}}, source is the source of the included content:  request, server, keyword, constant, content, or validate.  There are short forms for the source: &amp;=request, $=server, #=keyword, ==constant, ^=content and *=validate. If no source is provided the request is used.<\/p>\n<p>Substitution tag examples<br \/>\n  {{ $HTTP_REFERER }} - the referer, same as {{ server.HTTP_REFERER }}<br \/>\n  {{ ^testimonials }} - the content of the testimonials page, same as {{ content.testimonials }}<br \/>\n  {{ email }} - the email field from the request, same as {{ &amp;email }}<\/p>\n<p>Validation is available for numbers, emails and field size.  Included content is validated and processed using htmlspecialchars except for constant, keyword and content which are used as is.\n<\/p>","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/64282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=64282"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pkwooster"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=64282"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=64282"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=64282"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=64282"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=64282"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=64282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}