Open fredericalpers opened 1 week ago
@fredericalpers After investigation, I found the following issues:
=> So currently the pagination function is showing using the "wp_link_pages" function in the content.php file of the WordPress theme which is active
=> We cannot fulfill this requirement "The pagination feature must be compatible with the default pagination styles and systems provided by WordPress themes."
=> We only add pagination features with common formats (compatible with default pagination styles) for WordPress themes as follows
You can see the following demo: https://files.fm/f/38tqv6y2g6
Extending Pagination Features for Theme Compatibility
User Story
As a user of the onOffice WordPress plugin, I want the pagination feature to be compatible with WordPress themes' pagination, so that I can use my preferred theme's pagination style seamlessly.
In the release of version 4.20, the pagination improvements (#695) were introduced, but they currently work only with the pagination system of the onOffice for WP-Websites plugin. In version 4.21, an extra HTML
<div>
(#849) will be removed, and further enhancements are needed to ensure that the pagination feature can also be used with WordPress themes' built-in pagination systems.With these enhancements, users of the onOffice WordPress plugin will be able to utilize their preferred WordPress theme's pagination system seamlessly, enhancing the overall integration and user experience.
Task / Requirements
[ ] The pagination feature must be compatible with the default pagination styles and systems provided by WordPress themes.![wptheme-pag](https://github.com/onOffice-Web-Org/oo-wp-plugin/assets/88546396/308f605a-7a96-4e90-9849-3fb93d952b24)
[ ] Ensure that the pagination works correctly across different themes.
[ ] Ensure that users who prefer the plugin's pagination system can continue to use it without any issues.