{"id":2389,"date":"2008-01-07T07:42:38","date_gmt":"2008-01-07T07:42:38","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/compact-monthly-archive-widget\/"},"modified":"2008-01-07T09:43:56","modified_gmt":"2008-01-07T09:43:56","slug":"compact-monthly-archive-widget","status":"publish","type":"plugin","link":"https:\/\/tr.wordpress.org\/plugins\/compact-monthly-archive-widget\/","author":236927,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"1.0","tested":"2.3.2","requires":"2.0.0","requires_php":"","requires_plugins":"","header_name":"Compact Monthly Archive Widget","header_author":"SomethinkOdd Development Team","header_description":"","assets_banners_color":"","last_updated":"2008-01-07 09:43:56","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/somethinkodd.com\/oddthinking\/","header_plugin_uri":"http:\/\/somethinkodd.com\/cma","header_author_uri":"http:\/\/somethinkodd.com\/oddthinking","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3220,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1566815","resolution":"1","location":"plugin"}},"screenshots":{"1":"This is an example of a compact monthly archive. In this theme, white is a link that hasn't been visited. Light blue is a link that has been visited, and the greyish blue is a month with no articles, and hence has no link. You may choose your own colour-scheme."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3621,416,162],"plugin_category":[40,43],"plugin_contributors":[93827],"plugin_business_model":[],"class_list":["post-2389","plugin","type-plugin","status-publish","hentry","plugin_tags-archives","plugin_tags-calendar","plugin_tags-widget","plugin_category-calendar-and-events","plugin_category-customization","plugin_contributors-oddthinking","plugin_committers-oddthinking"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/compact-monthly-archive-widget.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/compact-monthly-archive-widget\/trunk\/screenshot-1.png?rev=1566815","caption":"This is an example of a compact monthly archive. In this theme, white is a link that hasn't been visited. Light blue is a link that has been visited, and the greyish blue is a month with no articles, and hence has no link. You may choose your own colour-scheme."}],"raw_content":"<!--section=description-->\n<p>If your blog is over a year or two old, you may have noticed the list of archive pages is getting unwieldy.<\/p>\n\n<p>This plugin is a widget that compresses the size of the arcgives list to two lines per <em>year<\/em> (three if the lines are narrow) rather than one line per per <em>month<\/em>.<\/p>\n\n<h3>More information<\/h3>\n\n<p>This widget is licensed under <a href=\"http:\/\/www.gnu.org\/licenses\/gpl-3.0.html\">GPLv3<\/a>.<\/p>\n\n<p>Grateful thanks to <a href=\"http:\/\/tech.windsofstorm.net\">Alan Morgan<\/a> whose widget_archives2 I used as a template.<\/p>\n\n<p>Potential developers should check out the <a href=\"http:\/\/www.somethinkodd.com\/oddthinking\/2007\/03\/29\/more-theme-changes-2\/\">development history<\/a>.<\/p>\n\n<p>Finally, an obligatory plug for my blog, <a href=\"http:\/\/somethinkodd.com\/oddthinking\">OddThinking<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>plugin-name.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Find the Widgets page (under Presentation in WordPress 2.0-2.3, but there are rumours that it is moving in Wordpress 2.4.)<\/li>\n<li>Drag the Compact Monthly Archives into your preferred location.<\/li>\n<li>Click on the icon on the right on the Compact Monthly Archives and set the title. (Default is \"Archives\".)<\/li>\n<li>Modify the CSS of the theme to taste, using any of the following styles:\n\n<ul>\n<li><code>STO_cma_archive_list<\/code> - this is applied to the <code>ul<\/code> tag that covers the entire calendar, apart from the title.<\/li>\n<li><code>STO_cma_line<\/code> - this applies to the <code>li<\/code> tag that represents each year.<\/li>\n<li><code>STO_cma_month<\/code> - this applies to each letter that represents a month.<\/li>\n<li><code>STO_cma_link<\/code> - this applies to each month that includes an article (and is, hence, a link.)<\/li>\n<li><code>STO_cma_empty<\/code> - this applies to each month that is empty (and is, hence, not a link)<\/li>\n<li><code>STO_cma_zwsp<\/code> - this applies to the whitespace gap between June and July. You may like to make it narrow.<\/li>\n<\/ul><\/li>\n<\/ol>\n\n<p>Here is an example:<\/p>\n\n<pre><code>.STO_cma_month a {\n    line-height: 1.2em;\n    padding: 0.2em;\n}\n\n.STO_cma_empty{\n    color: #4984E3;\n    line-height: 1.2em;\n    padding: 0.2em;\n\n}\n<\/code><\/pre>\n\n<p>You almost certainly will want to change the example style to fit your theme.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>When would I use this?<\/dt>\n<dd><p>The default WordPress archive listing takes one line for every month. Once your blog gets over about a one or two years old, this becomes unwieldy. That's the point where you should consider this plug-in instead. This plug-in only takes two or three lines per year.<\/p>\n\n<p>When your blog gets to be about 4-6 years old, it will start to get unwieldy again. Hopefully, by then, we will have a solution for that too.<\/p><\/dd>\n<dt>How do I localise it for my language?<\/dt>\n<dd><p>The widget automatically uses the first character from each month based on your locale. So all you need to is override the default title to a word meaning 'archives' in your language.<\/p>\n\n<p>I haven't tested it on any right-to-left languages. If this doesn't work, let me know, and I will come up with a workaround.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"Show a monthly archive list in a compact format - one letter per month.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/2389","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=2389"}],"author":[{"embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/oddthinking"}],"wp:attachment":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=2389"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=2389"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=2389"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=2389"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=2389"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=2389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}