| 开发者 |
fahadmahmood
invoicepress |
|---|---|
| 更新时间 | 2026年11月24日 21:13 |
| PHP版本: | 7.0 及以上 |
| WordPress版本: | 7.1 |
| 版权网址: | 版权信息 |
epn_prev_post_link(true) and epn_next_post_link(true) in single.php, page.php or any custom post type template.[epn_nav] for both links, or [epn_prev] and [epn_next] separately. Optional attributes: text="Older" and within_cat="no".the_content filter, see the plugin settings page for a ready to use snippet.epn_navigation_taxonomies filter: taxonomies used for the "same category" condition. Posts use categories, any other post type uses its public hierarchical taxonomies. Return an empty array to navigate within the whole post type.epn_navigation_query_args filter: arguments of the query which collects the posts to loop through.epn_link_html filter: final HTML of a previous/next link.endless-posts-navigation in the wp-content/plugins directory of your WordPress installation. Use an FTP or SFTP client to upload the contents of your Endless Posts Navigation archive to the new directory
that you just created on your web host.Yes, it is compatible with all WordPress themes which are developed according to the WordPress theme development standards.
There are three methods. You can paste the template functions (with or without custom HTML) in your theme files, use the the_content filter snippet, or use the shortcodes [epn_nav], [epn_prev] and [epn_next]. The code of each method is available on the settings page.
In the post/page content, in a Shortcode block or in a text widget, the shortcodes are the easiest way to use the plugin with block themes. The template functions are pasted in your theme template files, for example single.php, page.php, index.php, archive.php or wherever you need this navigation.
Yes. Posts navigate within the same categories. Other post types navigate within the terms of their public hierarchical taxonomies, and within the whole post type when it has none (pages for example). Use the epn_navigation_taxonomies filter to choose the taxonomies yourself or to disable the condition.
The link is not shown when there is no other published item in the same category/taxonomy terms to navigate to.
Yes. Version 2.4.0 replaces the old pairing with a secure one. Scan the QR code on the settings page once more.
epn_navigation_taxonomies filter.epn_navigation_taxonomies, epn_navigation_query_args and epn_link_html.