{"id":2035,"date":"2007-09-16T16:08:57","date_gmt":"2007-09-16T16:08:57","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/smarter-archives\/"},"modified":"2020-08-17T01:36:33","modified_gmt":"2020-08-17T01:36:33","slug":"smarter-archives","status":"publish","type":"plugin","link":"https:\/\/tr.wordpress.org\/plugins\/smarter-archives\/","author":152058,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.2.5","stable_tag":"3.2.5","tested":"5.5.18","requires":"","requires_php":"","requires_plugins":"","header_name":"Smarter Archives","header_author":"Robin Adrianse","header_description":"","assets_banners_color":"","last_updated":"2020-08-17 01:36:33","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/smarter-archives\/","header_author_uri":"","rating":4,"author_block_rating":0,"active_installs":100,"downloads":17259,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":"1","4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.1","1.5","2.0","2.0.1","2.5","2.6","3.0","3.0.1","3.1","3.1.1","3.1.2","3.1.3","3.2","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"878581","resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"An example of the plugin in action on my website."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1445,3621],"plugin_category":[],"plugin_contributors":[85133],"plugin_business_model":[],"class_list":["post-2035","plugin","type-plugin","status-publish","hentry","plugin_tags-archive","plugin_tags-archives","plugin_contributors-rob1n","plugin_committers-rob1n"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/smarter-archives.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/smarter-archives\/assets\/screenshot-1.png?rev=878581","caption":"An example of the plugin in action on my website."}],"raw_content":"<!--section=description-->\n<p>When you use the <code>[smarter-archives]<\/code> shortcode anywhere in a post or a page, it gets replaced by a listing of every year since you started posting, with a list of links to each month for that year. However, the plugin is smart enough to know if you didn't create any content in any given month, and doesn't make a link for that month. See the <strong>Screenshots<\/strong> section for an example of it in action.<\/p>\n\n<p>See the <strong>Usage<\/strong> section for a complete list of the arguments the shortcode takes, and how you can use them to customize your archives listing.<\/p>\n\n<p>The month names are <a href=\"http:\/\/codex.wordpress.org\/I18n_for_WordPress_Developers\">internationalized with the WordPress translation API<\/a>. A POT file is included, and if you want to translate please feel free to do so and <a href=\"https:\/\/github.com\/robinadr\/smarter-archives\/pulls\">submit a new pull request<\/a> on GitHub. If you do not know how to use GitHub, you can also <a href=\"http:\/\/robinadr.com\/contact\">contact me directly<\/a>. Here are the translations that have been done so far:<\/p>\n\n<ul>\n<li>Dutch (nl_NL)<\/li>\n<li>French (fr_FR)<\/li>\n<li>German (de_DE)<\/li>\n<li>Italian (it_IT)<\/li>\n<li>Spanish (es_ES)<\/li>\n<li>Russian (ru_RU)<\/li>\n<\/ul>\n\n<p>The original concept for this plugin comes from a plugin by Justin Blanton.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>The <code>[smarter-archives]<\/code> shortcode takes these arguments (default values included):<\/p>\n\n<ul>\n<li><code>mode<\/code> (default: <code>output<\/code>) -- if it's set to <code>output<\/code>, the plugin prints the listing. Set it to <code>false<\/code> to return the value<\/li>\n<li><code>wrapper_class<\/code> (default: <code>smart-archives<\/code>) -- class given to the tag wrapped around the listing (<code>&lt;div&gt;<\/code> by default)<\/li>\n<li><code>wrapper_tag<\/code> (default: <code>div<\/code>) -- tag wrapped around the listing<\/li>\n<li><code>year_link_class<\/code> (default: <code>year-link<\/code>) -- class given to each year links<\/li>\n<li><code>year_tag<\/code> (default: <code>p<\/code>) -- tag around each year group<\/li>\n<li><code>year_class<\/code> (default: none) -- class for the tag around each year group<\/li>\n<li><code>after_year<\/code> (default: <code>:<\/code>) -- value after the year and before the list of months<\/li>\n<li><code>month_link_class<\/code> (default: <code>month-link<\/code>) -- class given to each month link<\/li>\n<li><code>month_tag<\/code> (default: <code>span<\/code>) -- tag around each month<\/li>\n<li><code>after_month<\/code> (default: <code>&amp;nbsp;<\/code>) -- spacer between months<\/li>\n<li><code>empty_month_class<\/code> (default: <code>empty-month<\/code>) -- class applied to empty months (can use this to gray them out)<\/li>\n<li><code>order<\/code> (default: <code>DESC<\/code>) -- order the years are shown in (<code>ASC<\/code> for ascending, <code>DESC<\/code> for descending)<\/li>\n<\/ul>\n\n<p><strong>Advanced Usage<\/strong><\/p>\n\n<p>There is a function, <code>get_smarter_archives()<\/code>, that returns the raw array with the years, months, and post counts. You can use this for ultimate customization.<\/p>\n\n<p><strong>Example Usage<\/strong><\/p>\n\n<pre><code>[smarter-archives order=\"DESC\" after_month=\"&amp;bull;\"]&lt;h3&gt;License&lt;\/h3&gt;\nThis program is free software; you can redistribute it and\/or\nmodify it under the terms of the GNU General Public License\nas published by the Free Software Foundation; either version 2\nof the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\n<\/code><\/pre>\n\n<p>A full version of the license is included with the plugin in <code>license.txt<\/code>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download the ZIP file and unzip it<\/li>\n<li>Copy or upload the <code>smarter-archives<\/code> folder to your plugins folder (usually <code>wp-content\/plugins\/<\/code>)<\/li>\n<li>Activate <em>Smarter Archives<\/em> in the admin<\/li>\n<li>Put the <code>[smarter-archives]<\/code> shortcode where you want the listing to show<\/li>\n<li>Enjoy.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>3.2.5<\/h4>\n\n<ul>\n<li>Fix issue with setting default options in shortcode<\/li>\n<li>Updated compatibility up to WordPress 5.5<\/li>\n<\/ul>\n\n<h4>3.2.4<\/h4>\n\n<ul>\n<li>Added Russian (ru_RU) translation, thanks to <a href=\"http:\/\/n-wp.ru\/\">Alexander Tischenko<\/a><\/li>\n<\/ul>\n\n<h4>3.2.3<\/h4>\n\n<ul>\n<li>Added German (de_DE) translation, thanks to Jay Linski (@jaylinski)<\/li>\n<\/ul>\n\n<h4>3.2.2<\/h4>\n\n<ul>\n<li>Updated Italian translation<\/li>\n<li>Added Dutch (nl_NL) translation, thanks to Micha<\/li>\n<\/ul>\n\n<h4>3.2.1<\/h4>\n\n<ul>\n<li>Fixed bug involving <a href=\"https:\/\/github.com\/robinadr\/smarter-archives\/issues\/2\">extra empty months<\/a><\/li>\n<\/ul>\n\n<h4>3.2<\/h4>\n\n<ul>\n<li>Fixed bug related to the new i18n changes in WordPress 4.0<\/li>\n<\/ul>\n\n<h4>3.1.3<\/h4>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/robinadr\/smarter-archives\/issues\/1\">Fixed bug<\/a> relating to an extra quote in month links<\/li>\n<\/ul>\n\n<h4>3.1.2<\/h4>\n\n<ul>\n<li>Added French (fr_FR) translation, thanks to <a href=\"http:\/\/jhroy.ca\/\">Jean-Hugues Roy<\/a><\/li>\n<\/ul>\n\n<p>This update is <strong>optional<\/strong>, the only change is the new French translation.<\/p>\n\n<p>Also, note that development is now on <a href=\"https:\/\/github.com\/robinadr\/smarter-archives\">GitHub<\/a>. Releases will continue to be pushed through the WP plugin repository, however.<\/p>\n\n<h4>3.1.1<\/h4>\n\n<p>This update is <strong>optional<\/strong> for everyone, unless you want the new Italian translation. If not, feel free to skip it.<\/p>\n\n<ul>\n<li>New translation: Italian (it_IT) courtesy of <a href=\"http:\/\/www.astronautinews.it\/\">Marco Zambianchi<\/a><\/li>\n<\/ul>\n\n<h4>3.1<\/h4>\n\n<ul>\n<li>Only load textdomain if WPLANG is defined AND not empty<\/li>\n<\/ul>\n\n<h4>3.0<\/h4>\n\n<ul>\n<li>Backend is <strong>completely rewritten: only 1 query compared to 12 for every year before<\/strong> (!!)<\/li>\n<li>Optimizations everywhere<\/li>\n<li>New option: <code>year_class<\/code> (see Usage for more info)<\/li>\n<li>Updated compatibility to WP 3.8<\/li>\n<li>Updated es_ES translation to include new strings<\/li>\n<\/ul>\n\n<h4>2.6<\/h4>\n\n<ul>\n<li>Standardized i18n calls -- <strong>fully translatable<\/strong><\/li>\n<li>Added a POT file for translating<\/li>\n<li>Added a lang folder<\/li>\n<li><strong>Spanish (es_ES) translation added<\/strong> -- thanks to <a href=\"http:\/\/www.webhostinghub.com\/\">Andrew Kurtis of WebHostingHub<\/a><\/li>\n<li><strong>New shortcode<\/strong>: <code>[smarter-archives]<\/code>, see Usage for more details<\/li>\n<li>Fixed bug: <code>order<\/code> now actually does something<\/li>\n<\/ul>\n\n<h4>2.5<\/h4>\n\n<p><a href=\"http:\/\/robinadr.com\/2013\/04\/smarter-archives-2-5\">View changes for 2.5 here<\/a>.<\/p>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Updated WordPress compatibility to 3.5.1<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Updated WordPress compatibility to 3.5<\/li>\n<li>Main function's output is now completely customizable<\/li>\n<li>i18n support added; English domain included<\/li>\n<li>Smarter Archives is now licensed under the GPL v2 license<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Updated WordPress compatibility to 3.4.2<\/li>\n<\/ul>","raw_excerpt":"Easily navigate the yearly and monthly archives of your blog.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/2035","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=2035"}],"author":[{"embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/rob1n"}],"wp:attachment":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=2035"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=2035"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=2035"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=2035"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=2035"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=2035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}