Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bueltge/archive

An WordPress plugin for archive your post types, also with cron.
https://github.com/bueltge/archive

archive shortcode wordpress wordpress-plugin

Last synced: about 1 month ago
JSON representation

An WordPress plugin for archive your post types, also with cron.

Awesome Lists containing this project

README

        

# Archive
Archive your post types, also possible with cron and list via shortcode on frontend.

## Description
Archive your post types, also possible via cron; but only active via var inside the php-file.
Use the shortcode [archive] to list al posts from Archive with status publish to a page or post.
The Shortcode can use different params and use the follow defaults.

```php
'count' => -1, // Integer, count or -1 for all posts
'category' => '', // Integer, Show posts associated with certain categories, use the ID of the category.
'tag' => '', // Integer, Show posts associated with certain tags.
'post_status' => 'publish', // String, status or all for all posts
'echo' => 'true', // Boolean, echo or give an array for use external
'return_markup' => 'ul', // String, markup before echo title, content
'title_markup' => 'li', // String, markup before item
'content' => 'false', // Boolean, Content of each post
'debug' => 'false' // Boolean, debug, get helpful informations on debugging
```

An example for use shortcode with parameters: `[archive count="10" content="true"]`

#### Category
If you filter the posts to one category, use the ID as integer value, like `category="11"`. For more as one separate with comma, like `category="11,1"`.

#### Tag
Display posts that have this tag, using tag slug, like `tag="cooking"`. If you need more as one tag use comma separated list like `tag="bread,baking"`

Also you can change the parameters to create the custom post type of the Archiv via the filter hook `archive_post_type_arguments`.

### Crafted by [Inpsyde](http://inpsyde.com) · Engineering the web since 2006.

## Installation
### Requirements
* WordPress version 3.0 and later
* PHP 5.3

### Installation
1. Unpack the download-package
1. Upload the folder and all folder and files includes this to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress
1. Now you find a link on all post types for archive the item

## Screenshots
1. Possibility to archive on posts, WP 4.2-alpha
![Possibility to archive on posts](./assets/screenshot-1.png)

2. Possibility to archive on posts, WP 3*
![Possibility to archive on posts](./assets/screenshot-2.png)

3. In Archive, also possible to restore, WP 3*
![In Archive, also possible to restore](./assets/screenshot-3.png)

## Other Notes
#### License
Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog. But if you enjoy this plugin, you can thank me and leave a [small donation](http://bueltge.de/wunschliste/ "Wishlist and Donate") for the time I've spent writing and supporting this plugin. And I really don't want to know how many hours of my life this plugin has already eaten ;)