Mô tả
Gu&Co Smart Notice is a lightweight plugin for displaying temporary announcements such as holiday notices, business hour updates, promotional banners, maintenance warnings, or important organizational news.
Features include:
- Multiple independent notices.
- Start and end date/time scheduling.
- Automatic rendering at the top or bottom of pages.
- Display on all pages or specific selected pages only.
- Flexible shortcode support:
[smart_notice]and[smart_notice id="123"]. - Four notice types (Info, Success, Warning, Important).
- Custom colors for background, text, and links.
- Editable font size and bold formatting.
- Sticky notice option (remains visible on scroll).
- Icons or emojis with configurable size and border.
- Call-to-action button or link pointing to any internal page, post, product, or custom URL.
- Dismissible notice option for users.
- Live preview in the WordPress admin panel.
Usage
- Go to
Smart Noticein your WordPress dashboard. - Click
Add New. - Enter a title and notice content.
- Set the start and end schedule.
- Select notice type and display position.
- Click
Publish.
Shortcodes:
[smart_notice id="123"]
Without the id parameter, the shortcode displays active notices configured as “Shortcode only”.
Developer API
PHP Rendering Functions:
smart_notice_get_html( $notice_id = null );
smart_notice_render( $notice_id = null );
Available Filters:
smart_notice_is_activesmart_notice_query_argssmart_notice_contentsmart_notice_css_classessmart_notice_render_htmlsmart_notice_dismiss_durationsmart_notice_should_display_automatic
Cài đặt
- Upload the
guco-smart-noticefolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Navigate to ‘Smart Notice’ > ‘Add New’ to create your first notice.
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“Gu&Co Smart Notice” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Gu&Co Smart Notice” 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
0.1.0
- Initial release.
