Skip to content

Footer Start Banner & General Banner Enhancements#32

Merged
jasperf merged 4 commits into
mainfrom
footer-start-enhancement
Jul 7, 2025
Merged

Footer Start Banner & General Banner Enhancements#32
jasperf merged 4 commits into
mainfrom
footer-start-enhancement

Conversation

@jasperf

@jasperf jasperf commented Jul 7, 2025

Copy link
Copy Markdown
Contributor

This pull request introduces significant updates to the banner settings and functionality for the Blabber Footer Start banners, including new per-banner styling options and improved sanitization and default handling. The changes enhance user control over individual banner appearance, simplify the settings structure, and improve backward compatibility.

Banner Styling Enhancements:

  • Added per-banner alignment options (left, center, right), background color customization, and margin/padding settings for Blabber Footer Start banners. These settings allow precise control over individual banner appearance. (README.md, CHANGELOG.md, includes/class-iwz-banner-container-settings.php, includes/class-iwz-banner-container.php) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]

Admin Interface Improvements:

  • Updated the admin interface to include fields for alignment, background color, margin, and padding settings for Blabber Footer Start banners. These fields provide a more intuitive and granular control over banner styling. (includes/class-iwz-banner-container-settings.php) [1] [2]

Code Quality and Backward Compatibility:

  • Improved sanitization functions to handle per-banner styling settings and ensured compliance with PHPCS standards. Legacy global settings are supported for existing single banner configurations to maintain backward compatibility. (includes/class-iwz-banner-container-settings.php, includes/class-iwz-banner-container.php) [1] [2] [3] [4] [5]

Default Settings:

  • Added default alignment, background color, margin, and padding settings for Blabber Footer Start banners to ensure consistent behavior when new banners are created. (includes/class-iwz-banner-container-settings.php)

Technical Enhancements:

  • Simplified the settings structure by removing redundant global styling options and extending wrapper styling functionality to include Blabber Footer Start banners. (CHANGELOG.md, includes/class-iwz-banner-container-settings.php) [1] [2]

@jasperf jasperf merged commit 296db13 into main Jul 7, 2025
5 checks passed
@jasperf jasperf deleted the footer-start-enhancement branch July 7, 2025 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant