{"id":27924,"date":"2014-02-19T18:06:05","date_gmt":"2014-02-19T18:06:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/better-datelines\/"},"modified":"2014-02-19T18:07:31","modified_gmt":"2014-02-19T18:07:31","slug":"better-datelines","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/better-datelines\/","author":8863818,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1","stable_tag":"0.1","tested":"3.7.41","requires":"3.6","requires_php":"","requires_plugins":"","header_name":"Better Datelines","header_author":"Doejo","header_description":"","assets_banners_color":"cec7da","last_updated":"2014-02-19 18:07:31","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/doejo.com","rating":5,"author_block_rating":0,"active_installs":0,"downloads":1407,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"861085","resolution":"772x250","location":"assets","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1443639","resolution":"2","location":"plugin","width":649,"height":729},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1443639","resolution":"1","location":"plugin","width":1161,"height":557}},"screenshots":{"1":"Screenshot of edit post screen with a dateline","2":"Screenshot of a post with a dateline"}},"plugin_section":[],"plugin_tags":[529,12016,8485,1395,1248],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-27924","plugin","type-plugin","status-publish","hentry","plugin_tags-content","plugin_tags-dateline","plugin_tags-editorial","plugin_tags-excerpt","plugin_tags-news","plugin_committers-rinatkhaziev"],"banners":{"banner":"https:\/\/ps.w.org\/better-datelines\/assets\/banner-772x250.png?rev=861085","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/better-datelines_cec7da.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/better-datelines\/trunk\/screenshot-1.png?rev=1443639","caption":"Screenshot of edit post screen with a dateline"},{"src":"https:\/\/ps.w.org\/better-datelines\/trunk\/screenshot-2.png?rev=1443639","caption":"Screenshot of a post with a dateline"}],"raw_content":"<!--section=description-->\n<p>A dateline is a brief piece of text included in news articles that describes where and when the story occurred, or was written or filed, though the date is often omitted. This plugin gives you ability to store datelines as a meta field so you don't have to include them in your post body.<\/p>\n <p>You can use either [better-dateline] shortcode to insert dateline manually or automatically prepend post content with a dateline. (See Frequently Asked Questions)<\/p>\n <p>If you'd like to check out the code and contribute, <a href=\"https:\/\/github.com\/rinatkhaziev\/better-datelines\/\">join us on GitHub<\/a>. Pull requests, issues, and plugin recommendations are more than welcome!<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>better-datelines<\/code> folder to your plugins directory (e.g. <code>\/wp-content\/plugins\/<\/code>).<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>You'll see a dateline textarea on post edit screen.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<h4>How do I enable automatic prepending of dateline to the post content?<\/h4>\n <p>Put     add_filter( 'better_datelines_prepend_the_content', '__return_true' ); to your theme's functions.php<\/p>\n <h4>How do I change the format of automatically prepended dateline?<\/h4>\n <p>There's another filter for that: 'better_datelines_formatted_content', filter accepts 3 arguments, so to add a filter     add_filter( 'better_datelines_formatted_content', 'my_better_datelines_formatted_content', 10, 3);     function my_better_datelines_formatted_content( $formatted_content, $dateline, $original_content ) {         \/\/ Do something<\/p>\n <pre><code>    return $formatted_content; } <\/code><\/pre>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n <ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"Lightweight plugin for better dateline management for news sites. Store dateline as a custom meta field instead of putting it in the post content.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/27924","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=27924"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/rinatkhaziev"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=27924"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=27924"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=27924"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=27924"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=27924"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=27924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}