{"id":32703,"date":"2014-11-06T07:46:51","date_gmt":"2014-11-06T07:46:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/aged-content-message\/"},"modified":"2024-01-05T17:08:50","modified_gmt":"2024-01-05T17:08:50","slug":"aged-content-message","status":"publish","type":"plugin","link":"https:\/\/ibo.wordpress.org\/plugins\/aged-content-message\/","author":5276180,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4.4","stable_tag":"1.4.4","tested":"6.4.8","requires":"3.9","requires_php":"","requires_plugins":null,"header_name":"Aged Content Message","header_author":"Torsten Landsiedel","header_description":"","assets_banners_color":"7a7a79","last_updated":"2024-01-05 17:08:50","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/paypal.me\/zodiac1978","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/aged-content-message","header_author_uri":"https:\/\/torstenlandsiedel.de\/","rating":4,"author_block_rating":0,"active_installs":10,"downloads":4143,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.4":{"tag":"1.4","author":"glueckpress","date":"2015-12-03 17:54:18"},"1.4.1":{"tag":"1.4.1","author":"glueckpress","date":"2015-12-04 17:29:23"},"1.4.2":{"tag":"1.4.2","author":"glueckpress","date":"2016-08-15 16:38:58"},"1.4.3":{"tag":"1.4.3","author":"glueckpress","date":"2019-02-01 14:32:30"},"1.4.4":{"tag":"1.4.4","author":"zodiac1978","date":"2024-01-05 17:08:50"}},"upgrade_notice":{"1.4":"<p>You will manually have to activate one of the newly added settings in order for your message to keep appearing on your website. Update the plugin, then go to General Settings \u2192 Aged Content.<\/p>"},"ratings":{"1":0,"2":"1","3":0,"4":0,"5":"2"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1142193,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1142193,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":1020766,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":1020766,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.4","1.4.1","1.4.2","1.4.3","1.4.4"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":1020766,"resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":3017897,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"<p>\u201cThe times, they are a-chagin\u2019\u201d: Message on a single post view informing about content that might be outdated.<\/p>","2":"<p>Settings page<\/p>"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[529,1358,2231,1159,749],"plugin_category":[41],"plugin_contributors":[77677,77935,80972,93117,84669],"plugin_business_model":[],"class_list":["post-32703","plugin","type-plugin","status-publish","hentry","plugin_tags-content","plugin_tags-date","plugin_tags-message","plugin_tags-notification","plugin_tags-text","plugin_category-communication","plugin_contributors-bueltge","plugin_contributors-chrico","plugin_contributors-kau-boy","plugin_contributors-sergejmueller","plugin_contributors-zodiac1978","plugin_committers-zodiac1978"],"banners":{"banner":"https:\/\/ps.w.org\/aged-content-message\/assets\/banner-772x250.jpg?rev=1020766","banner_2x":"https:\/\/ps.w.org\/aged-content-message\/assets\/banner-1544x500.jpg?rev=1020766","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/aged-content-message\/assets\/icon-128x128.png?rev=1142193","icon_2x":"https:\/\/ps.w.org\/aged-content-message\/assets\/icon-256x256.png?rev=1142193","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/aged-content-message\/assets\/screenshot-1.jpg?rev=1020766","caption":"<p>\u201cThe times, they are a-chagin\u2019\u201d: Message on a single post view informing about content that might be outdated.<\/p>"},{"src":"https:\/\/ps.w.org\/aged-content-message\/assets\/screenshot-2.jpg?rev=3017897","caption":"<p>Settings page<\/p>"}],"raw_content":"<!--section=description-->\n<p>This simple WordPress plugin displays a message in any single post that has been published x years ago from the current time or earlier. The default time to count back is 1 year. Minimal post age as well as message text, HTML, and CSS are <a href=\"\/\/wordpress.org\/plugins\/aged-content-message\/faq\/\">fully customizable via settings<\/a>.<\/p>\n\n<h4>Languages<\/h4>\n\n<ul>\n<li>English (en_US) <em>(default)<\/em><\/li>\n<li>German (de_DE)<\/li>\n<li>Formal German (de_DE_formal)<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>If you don\u2019t know how to install a plugin for WordPress, <a href=\"https:\/\/wordpress.org\/documentation\/article\/manage-plugins\/#installing-plugins-1\">here\u2019s how<\/a>.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='i%20can%E2%80%99t%20find%20the%20settings%20page%2C%20where%20is%20it%3F'><h3>I can\u2019t find the settings page, where is it?<\/h3><\/dt>\n<dd><p><strong>It\u2019s right there, under General Settings in your admin menu.<\/strong> Configurable settings are:<\/p>\n\n<ul>\n<li><strong>Activate Message<\/strong>: By default, no message will show up on your website until you activate it here.<\/li>\n<li><strong>Minimal Post Age<\/strong>: Set a number of years for posts to be considered aged. Default: 1.<\/li>\n<li><strong>Message Heading<\/strong>: Heading text. Default: <em>The times, they are a-changin\u2019<\/em>. (Dylan, google him.)<\/li>\n<li><strong>Message Body (Singular)<\/strong>: Singular form of the message text, for 1 year-old posts.<\/li>\n<li><strong>Message Body (Plural)<\/strong>: Plural form of the message text, for 2+ year-old posts.<\/li>\n<li><strong>Message Class Attribute<\/strong>: CSS class name(s) applied upon the message\u2019s wrapping <code>&lt;div&gt;<\/code>.<\/li>\n<li><strong>Message HTML<\/strong>: HTML template for the message. You can completely control its output via this field if you want, or use placeholders for heading and text.<\/li>\n<li><strong>Message CSS<\/strong>: Customize the visual styling of your message right here. Or not.<\/li>\n<\/ul><\/dd>\n<dt id='can%20i%20disable%20default%20styles%3F'><h3>Can I disable default styles?<\/h3><\/dt>\n<dd><p>Sure, just empty the <em>CSS<\/em> field and no styles shall be applied. If you want to add styles to your theme instead, this might get you started:<\/p>\n\n<pre><code>\/* Default styles *\/\n.aged-content-message {\n    background: #f7f7f7;\n    border-left: 5px solid #f39c12;\n    font-family: inherit;\n    font-size: .875rem;\n    line-height: 1.5;\n    margin: 1.5rem 0;\n    padding: 1.5rem;\n}\n.aged-content-message h5 {\n    font-family: inherit;\n    font-size: .8125rem;\n    font-weight: bold;\n    line-height: 2;\n    margin: 0;\n    padding: 0;\n    text-transform: uppercase;\n}\n.aged-content-message p {\n    margin: 0;\n    padding: 0;\n}\n<\/code><\/pre><\/dd>\n<dt id='where%20have%20all%20the%20filters%20gone%3F'><h3>Where have all the filters gone?<\/h3><\/dt>\n<dd><p>You can still use those good old filters from <a href=\"https:\/\/github.com\/glueckpress\/aged-content-message\/tree\/v1.3\">v1.3<\/a>, like for this conditional handbrake that doesn\u2019t have a setting (yet):<\/p>\n\n<pre><code>\/* Set condition for displaying message to include pages. *\/\nfunction yourprefix_aged_content_message__the_content_condition() {\n    return ! is_single() &amp;&amp; ! is_page();\n}\nadd_action( 'aged_content_message__the_content_condition',\n    'yourprefix_aged_content_message__the_content_condition' );\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4.4<\/h4>\n\n<ul>\n<li>Changed ownership<\/li>\n<li>Tested compatibility with WordPress 6.4.<\/li>\n<\/ul>\n\n<h4>1.4.3<\/h4>\n\n<ul>\n<li>Tested compatibility with WordPress 5.0.3.<\/li>\n<\/ul>\n\n<h4>1.4.2<\/h4>\n\n<ul>\n<li>Tested compatibility with WordPress 4.6.<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>Added setting for message class attribute.<\/li>\n<li>Fixed missing filter argument.<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Added settings. <a href=\"\/\/wordpress.org\/support\/topic\/no-settings-14?replies=5#post-6377383\">Because<\/a>.<\/li>\n<li>Added an admin notice after plugin activation.<\/li>\n<li>Added formal German translation.<\/li>\n<li>Added composer.json to <a href=\"\/\/github.com\/glueckpress\/aged-content-message\">GitHub repo<\/a>, props <a href=\"\/\/github.com\/chrico\">@Chrico<\/a>!<\/li>\n<li>Updated plugin license to GPLv3<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Simplified calculation by introducing core constant <code>YEAR_IN_SECONDS<\/code>, props <a href=\"\/\/profiles.wordpress.org\/sergejmueller\">@sergejmueller<\/a>!<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Improved post aging calculation, props <a href=\"\/\/profiles.wordpress.org\/Kau-Boy\/\">@Kau-Boy<\/a>!<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Fixed minor formatting issues, props <a href=\"\/\/profiles.wordpress.org\/bueltge\/\">@bueltge<\/a>!<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Fixed a broken link in readme.txt.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Displays a message at the top of single posts published x years ago or earlier, informing about content that may be outdated.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/32703","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=32703"}],"author":[{"embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/zodiac1978"}],"wp:attachment":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=32703"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=32703"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=32703"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=32703"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=32703"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=32703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}