{"id":28162,"date":"2014-03-02T04:51:16","date_gmt":"2014-03-02T04:51:16","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/default-text\/"},"modified":"2014-03-03T19:55:27","modified_gmt":"2014-03-03T19:55:27","slug":"default-text","status":"closed","type":"plugin","link":"https:\/\/ga.wordpress.org\/plugins\/default-text\/","author":13698453,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.04","stable_tag":"1.04","tested":"3.7.41","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Default Text","header_author":"Jason M. Kalawe","header_description":"","assets_banners_color":"98b6a0","last_updated":"2014-03-03 19:55:27","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.bgca.org","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/default-text\/","header_author_uri":"http:\/\/makea.kalawe.com","rating":5,"author_block_rating":0,"active_installs":10,"downloads":2296,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.04":"<ul>\n<li>Documentation more user-friendly with exanded FAQ and screenshot of settings. No code\/bug fixes.<\/li>\n<\/ul>","1.03":"<ul>\n<li>Created function <code>default_text_string<\/code> to fix other conditions with bug found by yoramzara.<\/li>\n<\/ul>","1.02":"<ul>\n<li>Fix issue where error thrown on certain php installations if default argument for a function is not defined.<\/li>\n<\/ul>","1.01":"<ul>\n<li>Animated GIF screenshot provided<\/li>\n<\/ul>","1.0":"<ul>\n<li>Initial version<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":"870251","resolution":"1544x500","location":"assets"},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"870245","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.01","1.02","1.03","1.04"],"block_files":[],"assets_screenshots":{"screenshot-1.gif":{"filename":"screenshot-1.gif","revision":"1539120","resolution":"1","location":"plugin"},"screenshot-2.gif":{"filename":"screenshot-2.gif","revision":"1539120","resolution":"2","location":"plugin"}},"screenshots":{"1":"<p>Animated demo of functionality including use of custom variables.<\/p>","2":"<p>Settings view in it's entirety.<\/p>"}},"plugin_section":[],"plugin_tags":[5209,8485,441,975],"plugin_category":[43,51],"plugin_contributors":[84041],"plugin_business_model":[],"class_list":["post-28162","plugin","type-plugin","status-closed","hentry","plugin_tags-default","plugin_tags-editorial","plugin_tags-multisite","plugin_tags-template","plugin_category-customization","plugin_category-multisite","plugin_contributors-jkalawe","plugin_committers-jkalawe"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/default-text_98b6a0.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/default-text\/trunk\/screenshot-1.gif?rev=1539120","caption":"<p>Animated demo of functionality including use of custom variables.<\/p>"},{"src":"https:\/\/ps.w.org\/default-text\/trunk\/screenshot-2.gif?rev=1539120","caption":"<p>Settings view in it's entirety.<\/p>"}],"raw_content":"<!--section=description-->\n<p>Default Text is a a helpful workflow tool:\n* Enforce editorial standards for title and body styles\n* A quick reference for content editors that aren't regular contributors<\/p>\n\n<h4>Variables<\/h4>\n\n<p>Variables are available to customize your default text strings. You can create your own custom variables also! Consult the FAQ for more details.<\/p>\n\n<h4>Multisite<\/h4>\n\n<p>Default Text is also multisite compatible as it has been designed for a multisite environment.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>default-text.zip<\/code> 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>I want a page\/post to have a blank body, i.e. no text<\/dt>\n<dd><p>Simply add a space or other invisible character. One is enough.<\/p><\/dd>\n<dt>I'd like to include my own custom variables<\/dt>\n<dd><p>Default Text checks for the existance of a function named <code>default_text_gemini<\/code> before outputting title or body text.<\/p>\n\n<p>Either inclue this function in your themes <code>functions.php<\/code> file or in a custom plugin.<\/p>\n\n<p>Make sure that the function outputs an associative array in the following format:\n    array('$variable'=&gt;'value');<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.04<\/h4>\n\n<ul>\n<li>Cleaned-up readme and added screenshot of settings<\/li>\n<\/ul>\n\n<h4>1.03<\/h4>\n\n<ul>\n<li>Created function <code>default_text_string<\/code> to fix other conditions with bug found by yoramzara.<\/li>\n<\/ul>\n\n<h4>1.02<\/h4>\n\n<ul>\n<li>Default argument values included with <code>default_text_title<\/code> and <code>default_text_body<\/code> functions. Bug found by yoramzara.<\/li>\n<\/ul>\n\n<h4>1.01<\/h4>\n\n<ul>\n<li>Animated GIF screenshot provided<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial version<\/li>\n<\/ul>","raw_excerpt":"Insert configureable text defaults for new content title and body fields.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/28162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=28162"}],"author":[{"embeddable":true,"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jkalawe"}],"wp:attachment":[{"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=28162"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=28162"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=28162"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=28162"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=28162"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=28162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}