Last active
May 12, 2020 17:34
-
-
Save karks88/74c0daa1df2edf5a0a908f22335be43d to your computer and use it in GitHub Desktop.
A simple notification bar using the Block Lab WordPress plugin.
This file contains 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
<div style="margin:30px auto; padding:5px 10px; background:<?php block_field( 'background-color' ); // Background Color (Color Field) ?>"> | |
<span style="color:<?php block_field( 'text-color' ); // Text Color (Color Field) ?>"><?php block_field( 'message' ); // Message (Text Field) ?></span> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment