Mô tả
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.
Ảnh màn hình
Cài đặt
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.
Hỏi đáp
- 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'; }
Đánh giá
Người đóng góp & Lập trình viên
“Easy Post Series” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng góp“Easy Post Series” đã được dịch qua 1 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.
Dịch “Easy Post Series” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
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