Default Class Wrapper System#26
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a comprehensive default wrapper class system for banners in the Banner Container Plugin, enhancing styling options and user experience. The changes include the addition of default CSS classes for all banner locations, an additive class system for custom styling, and updates to the admin interface and codebase to support these enhancements.
Major Enhancements to Wrapper Class System:
iwz-head-bannerfor top-of-page banners andiwz-footer-bannerfor footer banners. These defaults are automatically applied, ensuring consistent styling across all locations. [1] [2] [3]Updates to Documentation:
Codebase Enhancements:
class-iwz-banner-container-settings.php. Admin interface descriptions have been updated to reflect these changes. [1] [2] [3]wrap_banner_htmlmethod has been updated to include location-based default classes during banner rendering, ensuring consistent application of styles. [1] [2] [3]These changes improve the plugin's usability, maintain backward compatibility, and provide a more robust framework for banner customization.