Published on
Dec 26, 2024
Updated on
03 Jan 2025
Share

Optimize the display of your articles with WPMasterToolKit's "Post Per Page" module

In the world of WordPress content management, it's crucial to have granular control over post presentation. That's why we've developed the Post Per Page module within WPMasterToolKit. This module lets you specify the number of posts to display per page, for each post type, optimizing the user experience and management of your content.

Which plugins can the Post Per Page module replace?

Although WordPress offers by default the ability to set the number of posts per page globally, it doesn't allow specific control by post type. In other words, if you wanted to customize the number of posts for particular post types, it was usually necessary to use third-party plugins such as "Custom Post Type Pagination" or "Advanced Post Pagination". WPMasterToolKit's "Post Per Page" module simplifies this by offering this built-in functionality, eliminating the need for several redundant plugins.

Discover the module : Content duplication

Main features of the Post Per Page module

The "Post Per Page" module is designed to be easy to use, while providing powerful functionality:

  • Customization by publication type : You can define the number of publications to be displayed on each page individually for each type of publication (e.g. articles, products, etc.).
  • Intuitive interface : Thanks to a clear and concise administrator interface, you can easily adjust these parameters without diving into the code.
  • Change management : The module secures the process using nonces, preventing unauthorized modifications.

How to use this module

Once you've activated the "Post Per Page" module in WPMasterToolKit, you'll find a dedicated submenu in the WordPress admin interface under "WP MasterToolkit Settings".

  1. Access the Post Per Page submenu via the administration panel.
  2. Check the boxes to activate the publication types you wish to customize.
  3. Define the number of publications to be displayed for each publication type and save your changes.
Page publishing settings in WordPress.

Technical choices: Efficient management using WordPress hooks

Our module uses native WordPress hooks to ensure clean, efficient integration. The hook pre_get_posts is used to modify the number of publications displayed on the page according to the parameters defined. The process is also secured by a custom nonce when parameters are saved, preventing unwanted modifications.

Pro
from
2.50$
/Month
14
Days
Money-back guarantee
risk-free at 100 %!

Conclusion

WPMasterToolKit's "Post Per Page" module is a major asset for any WordPress site administrator wishing to optimize the presentation of their content. Not only does it offer flexibility and control, but it also aligns with the goal of our plugin - to replace a multitude of individual plugins with a powerful all-in-one solution. Try it out and simplify your content management today!

Category
Contents & Media
Version
≤ 1.4.0
Type
Free
More than 18 reviews
+1000
Installations
104
Modules
Pro
from
30.00$
/Year