Description
The Pragmatic Coders News Communications Hub is a flexible WordPress plugin that allows you to display news notifications and updates on your website. With full integration for custom post types, Elementor support for icons, and customizable notification types, it’s the perfect tool to keep your users informed and engaged.
Key Features:
- Add, edit, and delete notifications from the WordPress admin interface.
- Full support for selecting custom post types to display as notifications.
- Custom notifications can have specific start and end dates, allowing for time-sensitive announcements.
- Options to separate custom notifications into those visible for first-time visitors and subsequent visits.
- Integration with Elementor and WordPress icons for enhanced visual styling.
- Shortcodes and widgets for easy placement of notifications on any page.
- Option to log notification activity in a log file for debugging.
- Fully responsive design with customizable styles via CSS.
- Optimized code to minimize database queries and improve performance.
Demo
Have a business inquiry?
Screenshots
Installation
- Upload the
news-communications-hub
folder to the/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Configure the settings and start adding notifications from the Pragmatic Coders > News Communications Hub menu in the WordPress admin area.
Important: If you have a caching plugin installed with JavaScript minification or file concatenation enabled, make sure to add nch-script.js
to the exclusion list. This ensures that the script functions correctly without interference from caching.
FAQ
-
Can I choose different post types for notifications?
-
Yes, you can select custom post types directly from the plugin settings to include posts, pages, or any other post type in your notifications.
-
Can I use icons from Elementor?
-
Yes, the plugin integrates with Elementor’s icon library, allowing you to choose icons when creating notifications. You can also use WordPress’s native Dashicons.
-
How do I add notifications to a page?
-
You can use the built-in widget or the provided shortcode
[pcnch]
to display notifications on any page. -
Can custom notifications have specific start and end dates?
-
Yes, you can set specific start and end dates for each custom notification, allowing for time-sensitive announcements.
-
Is there a way to differentiate notifications for first-time visitors?
-
Yes, you can create notifications that are visible only for first-time visitors, as well as those that appear on subsequent visits.
-
How is the code optimized for database queries?
-
The plugin utilizes efficient database queries to minimize overhead, caching results when possible, and reducing the number of queries executed per page load for optimal performance.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“News Communications Hub” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “News Communications Hub” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.1.0
- Changed the logic of the plugin to use cron for generating transients at a set interval (by default, daily at 9 AM).
- Two transients are now generated: daily and first_visit.
- Articles that have been read are stored in a separate transient for a longer period.
- New notifications are fetched dynamically based on the generated daily and first_visit transients.
- Improved notification handling to ensure real-time fetching of notifications with custom dates for posts.
1.0.0
- Initial release with full notification management, widget and shortcode support, and Elementor integration.