Beschrijving
This plugin helps you create a series of posts. It creates a new taxonomy named ‘series’ (can be modified via filter, see FAQ). There is no setting needed for this plugin. Once it is installed, assign posts you want to group as a series via post editor.
The plugin also creates a posts navigation on posts that belong to a certain series. See screenshots for the examples.
Schermafdrukken
Installatie
How to install this plugin:
- Download and extract the plugin.
- Upload ‘easy-post-series’ to the ‘/wp-content/plugins/’ directory.
- Activate the plugin through the plugin dashboard.
or
- Go to your plugin admin page on WP admin dashboard.
- Click “Add New” and search the name of the plugin.
- Install and activate the plugin.
FAQ
- How do I change the style of post navigation?
-
You can change the style by adding new CSS rules to your theme’s style.css.
- What are available filter hooks?
-
- wpeps_languages_directory
- wpeps_taxonomy_labels
- wpeps_taxonomy_args
- wpeps_taxonomy
- wpeps_html_before_nav_paragraph
- wpeps_html_after_nav_paragraph
- wpeps_html_after_nav_list
- wpeps_nav_post_order
- wpeps_nav_post_orderby
- wpeps_archive_page_post_order
- wpeps_archive_page_post_orderby
- How to change series taxonomy to something other than ‘series’?
-
Add the following code to your active theme’s functions.php
add_filter( 'wpeps_taxonomy', 'prfx_series_taxonomy'); function prfx_series_taxonomy( $taxonomy ) { return $taxonomy = 'taxonomy-name'; }
- How to change series archive page post order?
-
Add the following code to your active theme’s functions.php
add_filter( 'wpeps_archive_page_post_order', 'prfx_archive_page_post_order'); function prfx_archive_page_post_order( $order ) { return $order = 'ASC'; } add_filter( 'wpeps_archive_page_post_orderby', 'prfx_archive_page_post_orderby'); function prfx_archive_page_post_orderby( $orderby ) { return $orderby = 'date'; }
Beoordelingen
Bijdragers & ontwikkelaars
“Easy Post Series” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
Bijdragers“Easy Post Series” is vertaald in 1 taal. Dank voor de vertalers voor hun bijdragen.
Vertaal “Easy Post Series” naar jouw taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
1.0
- Initial release.
1.1
- Add new filter hooks so that user can modify the plugin (See FAQ for available hooks).
1.1.1
- Fix: series post nav only showed max 5 posts.
1.1.2
- Fix: CSS styles and JS scripts
- Fix: use plugin version number in CSS and JS enqueue script
- Improve: separate navigation ouput function so it can be outputted using a function