AndreasK79 / clean-archives-reloaded

This is a mirror of the svn repo: https://plugins.svn.wordpress.org/clean-archives-reloaded/, the master is always the latest release.

Home Page:http://wpplugins.it

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Since the original author has passed away, I cloned the repo to fix this plugin for PHP8.

The repo I cloned it from, says is 3.2.3, but the code says 3.1.3.
I updated from the last updated plugin I had (3.2.0), and made the plugin work in PHP8.

November 6th, 2021. AndreasK79

**Version 3.3.0**

* Made PHP8 compatible.

=== Clean Archives Reloaded ===
Contributors: Viper007Bond
Tags: archive, archives, posts
Requires at least: 2.5
Stable tag: trunk

A slick, Javascript enhanced post archive list generator.

== Description ==

Clean Archives Reloaded generates a list of all of your posts, sorted by month. It's enhanced with Javascript to allow collapsing and expanding of months.

It's highly efficient and won't kill your server with tons of MySQL queries.

== Installation ==

###Updgrading From A Previous Version###

To upgrade from a previous version of this plugin, delete the entire folder and files from the previous version of the plugin and then follow the installation instructions below.

###Installing The Plugin###

Extract all files from the ZIP file, making sure to keep the file structure intact, and then upload it to `/wp-content/plugins/`.

This should result in the following file structure:

`- wp-content
    - plugins
        - clean-archives-reloaded
            | readme.txt
            | clean-archives-reloaded.php`

Then just visit your admin area and activate the plugin.

**See Also:** ["Installing Plugins" article on the WP Codex](http://codex.wordpress.org/Managing_Plugins#Installing_Plugins)

###Using The Plugin###

Just create/edit a post or page and type `[cleanarchivesreloaded]` where you would like the archives list to show up. You can also use `[cartotalposts]` to show your total post count.

Example page contents:

`Here is all [cartotalposts] of my posts:

[cleanarchivesreloaded]`

Configure options via Settings -> Clean Archives.

== Frequently Asked Questions ==

= Does this plugin support other languages? =

Yes, it does. See the [WordPress Codex](http://codex.wordpress.org/Translating_WordPress) for details on how to make a translation file. Then just place the translation file, named `car-[value in wp-config].mo`, into the plugin's folder.

== Shortcode Tag Parameters ==

You can customize the list options on a per-call basis if you wish.

* `usejs` -- (`1` or `0`) use Javascript or not to collapse the months
* `monthorder` -- (`new` or `old`) show newest months or oldest months first
* `postorder` -- (`new` or `old`) show newest posts or oldest posts first within months

= Examples =

No Javascript:

`[cleanarchivesreloaded usejs="0"]`

Oldest months first, oldest posts first:

`[cleanarchivesreloaded monthorder="old" postorder="old"]`

== ChangeLog ==

**Version 3.2.3**

* Added French translation file thanks to Luc Saint-Elie.

**Version 3.2.1**

* Dynamic load improvements.
* Imrovements for WordPress 2.6 (i.e. a moved `wp-content` folder).
* Spanish translation file thanks to [albertjh](http://diariodeunlinux3ro.es/).

**Version 3.1.1**

* If dynamic load is enabled (by default it is now), then dynamically load jQuery as well.

**Version 3.1.0**

* Add option to settings page that, if enabled, will check the posts to be disabled for the shortcode. If they aren't found, the JS/CSS for the plugin won't be outputted.
* Add parameter to post list shortcode to hide post counts. Do `[cleanarchivesreloaded postcount="0"]` to hide the posts per month.
* Add parameter to post list shortcode to hide comment counts. Do `[cleanarchivesreloaded commentcount="0"]` to hide the comments per post.

**Version 3.0.2**

* Make shortcode work in the text widget
* Switch the way posts are sorted within months to avoid an issue that would occur in the unlikely even that two posts had an identical post date.
* Change the default sort order for posts within months to newest posts first.
* Made language files be loaded from a subfolder for a cleaner plugin folder and renamed the plugin's language domain from "car" to "clean-archives-reloaded".
* Added Turkish translation by Baris Unver.

**Version 3.0.1**

* Fix `get_posts()` for WordPress 2.6
* jQuery improvements (use `find()` on a CSS class instead of `children()` by structure)

**Version 3.0.0**

* Recoded (mostly) from scratch once again. Now requires WordPress 2.5+ as it uses the shortcode functions.
* Greatly increased efficiency. Page generation times dropped 10% on my localhost development blog.
* Options page -- no more editing the file to configure options.
* If you have multiple listings per page (no clue why you would, but hey), the Expand/Collapse All links will only apply to it's own listing rather than all listings on the page.
* You can override the individual options set on the options page via the shortcode tag (see above).

**Version 2.0.0**

* Completely recoded from scratch. It now relies on no manual SQL queries which should make it future proof. It also no longer requires any internal caching as the plugin is queryless.

**Version 1.0.1**

* Forgot to tell WordPress to regenerate the cache when comments are made and deleted.

**Version 1.0.0**

* Initial release of my edition of the plugin.

About

This is a mirror of the svn repo: https://plugins.svn.wordpress.org/clean-archives-reloaded/, the master is always the latest release.

http://wpplugins.it


Languages

Language:PHP 100.0%