2016-02-12, 05:52:50
News Manager 3.3 beta 30 available
Download (GitHub)
Archives by tag (@arseny89)
You can now display archives (monthly/yearly) of posts having some tag.
Enable with custom setting
For fancy option, a new rewriterule in htaccess is required.
Usage: Listing archives in sidebar/template:
- For a given tag:
- For the current tag (if in a tag page):
(Both functions also accept array parameters 'showcount', 'dateformat', ...)
Admin/backend (post list) pagination (@xxdex)
This is especially useful if you have a lot of posts.
- Prev/Next + numbered navigation
- "show all" link
- posts per page: default 15 - custom via gsconfig.php
- basic, unstyled for now
Redefinable language strings for backend too
You can now customize any of the plugin texts, not only for the frontend but also for the backend, without needing to edit language files. You can do this by assigning values to the $nm_i18n array in gsconfig.php, like this:
(instead of "Create New Post")
Other
Fixed: warning about unsaved changes was not working properly in previous beta.
As always, feedback is very welcome.
(see other changes in NM 3.3 here: beta 28 and beta 29)
Download (GitHub)
Archives by tag (@arseny89)
You can now display archives (monthly/yearly) of posts having some tag.
Enable with custom setting
tagArchives d
(dynamic, default) or tagArchives f
(fancy, folder)For fancy option, a new rewriterule in htaccess is required.
Usage: Listing archives in sidebar/template:
- For a given tag:
nm_list_archives(array( 'tag'=>'The Tag' ));
- For the current tag (if in a tag page):
nm_list_tag_archives();
(Both functions also accept array parameters 'showcount', 'dateformat', ...)
Admin/backend (post list) pagination (@xxdex)
This is especially useful if you have a lot of posts.
- Prev/Next + numbered navigation
- "show all" link
- posts per page: default 15 - custom via gsconfig.php
define('NMPAGINATION', 25);
- 0
or false
to disable pagination- basic, unstyled for now
Redefinable language strings for backend too
You can now customize any of the plugin texts, not only for the frontend but also for the backend, without needing to edit language files. You can do this by assigning values to the $nm_i18n array in gsconfig.php, like this:
$nm_i18n['NEW_POST'] = "Add post";
(instead of "Create New Post")
Other
Fixed: warning about unsaved changes was not working properly in previous beta.
As always, feedback is very welcome.
(see other changes in NM 3.3 here: beta 28 and beta 29)