[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fVv1_mIs-cdEzqQxrntzPk0SO9Rq9nWFZYEe4BpZij88":3},{"slug":4,"display_name":5,"profile_url":6,"plugin_count":7,"total_installs":8,"avg_security_score":9,"avg_patch_time_days":10,"trust_score":11,"computed_at":12,"plugins":13},"tallphil","Phil Ewels","https:\u002F\u002Fprofiles.wordpress.org\u002Ftallphil\u002F",1,10,85,30,84,"2026-05-19T20:03:49.505Z",[14],{"slug":15,"name":16,"version":17,"author":5,"author_profile":6,"description":18,"short_description":19,"active_installs":8,"downloaded":20,"rating":21,"num_ratings":21,"last_updated":22,"tested_up_to":23,"requires_at_least":24,"requires_php":25,"tags":26,"homepage":30,"download_link":31,"security_score":9,"vuln_count":21,"unpatched_count":21,"last_vuln_date":32,"fetched_at":33},"global-bootstrap-banner","Global Bootstrap Banner","1.0","\u003Cp>A WordPress Customise Widget to add a global website banner, styled using a \u003Ca href=\"https:\u002F\u002Fgetbootstrap.com\u002Fdocs\u002F4.4\u002Fcomponents\u002Falerts\u002F\" rel=\"nofollow ugc\">Bootstrap alert box\u003C\u002Fa>.\u003C\u002Fp>\n\u003Cp>The plugin assumes that you’re already using Bootstrap, so you need to load the Bootstrap javascript and CSS separately.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ca href=\"http:\u002F\u002Fgetbootstrap.com\u002F\" rel=\"nofollow ugc\">Download Twitter Bootstrap\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"http:\u002F\u002Fwww.bootstrapcdn.com\u002F\" rel=\"nofollow ugc\">Bootstrap CDN\u003C\u002Fa> \u003Cem>(directly link CSS and javascript files)\u003C\u002Fem>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fgetbootstrap.com\u002Fdocs\u002F4.4\u002Fcomponents\u002Falerts\u002F\" rel=\"nofollow ugc\">Bootstrap Alerts in action\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Once installed, you can add the alert to the correct location in your theme (for example, in \u003Ccode>header.php\u003C\u002Fcode> with the \u003Ccode>global_bootstrap_banner()\u003C\u002Fcode> function.\u003Cbr \u002F>\nFor example:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>if (function_exists('global_bootstrap_banner')){\n    echo global_bootstrap_banner();\n}\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>If you prefer, you can use a shortcode instead:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>[global-bootstrap-banner]\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch4>Shortcode Options\u003C\u002Fh4>\n\u003Cp>The plugin works best when using the Customizer interface. However, if you wish you can use a shortcode and override most fields.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ccode>enabled\u003C\u002Fcode> \u003Cem>(default \u003Ccode>true\u003C\u002Fcode>)\u003C\u002Fem>\n\u003Cul>\n\u003Cli>Whether to show the banner or not.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Ccode>colour\u003C\u002Fcode> \u003Cem>(default \u003Ccode>alert-primary\u003C\u002Fcode>)\u003C\u002Fem>\n\u003Cul>\n\u003Cli>Bootstrap class to use for styling the alert.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Ccode>header_text\u003C\u002Fcode>\n\u003Cul>\n\u003Cli>Header – leave blank to skip the alert header.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Ccode>body_text\u003C\u002Fcode>\n\u003Cul>\n\u003Cli>Main text for the alert. You can use HTML.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Ccode>link_text\u003C\u002Fcode>\n\u003Cul>\n\u003Cli>Display text for a button at the bottom of the alert. Leave blank to skip.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Ccode>link_url\u003C\u002Fcode>\n\u003Cul>\n\u003Cli>URL for button to link to.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Ccode>link_class\u003C\u002Fcode> \u003Cem>(default \u003Ccode>btn-primary\u003C\u002Fcode>)\u003C\u002Fem>\n\u003Cul>\n\u003Cli>Bootstrap class to use for styling the button.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Ccode>link_new_window\u003C\u002Fcode> \u003Cem>(default \u003Ccode>false\u003C\u002Fcode>)\u003C\u002Fem>\n\u003Cul>\n\u003Cli>Whether to open the link in a new window or not.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Ccode>link_btn_lg\u003C\u002Fcode> \u003Cem>(default \u003Ccode>false\u003C\u002Fcode>)\u003C\u002Fem>\n\u003Cul>\n\u003Cli>Use the \u003Ccode>btn-lg\u003C\u002Fcode> class for the button (big button).\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Ccode>link_btn_sm\u003C\u002Fcode> \u003Cem>(default \u003Ccode>false\u003C\u002Fcode>)\u003C\u002Fem>\n\u003Cul>\n\u003Cli>Use the \u003Ccode>btn-sm\u003C\u002Fcode> class for the button (small button).\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Ccode>link_btn_block\u003C\u002Fcode> \u003Cem>(default \u003Ccode>false\u003C\u002Fcode>)\u003C\u002Fem>\n\u003Cul>\n\u003Cli>Use the \u003Ccode>btn-block\u003C\u002Fcode> class for the button (full width button).\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Ccode>dismiss_btn\u003C\u002Fcode> \u003Cem>(default \u003Ccode>true\u003C\u002Fcode>)\u003C\u002Fem>\n\u003Cul>\n\u003Cli>Whether to show a dismiss button in the corner of the alert.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Ccode>dismiss_expiry\u003C\u002Fcode> \u003Cem>(default \u003Ccode>14\u003C\u002Fcode>)\u003C\u002Fem>\n\u003Cul>\n\u003Cli>How many days the dismissal cookie should last for before it is shown again.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Ccode>dismiss_id\u003C\u002Fcode>\n\u003Cul>\n\u003Cli>Random string to use for the dismissal cookie. Use a new one to force it to show for everyone.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Ccode>alert_before\u003C\u002Fcode> \u003Cem>(default \u003Ccode>\u003Cdiv class=\"global-bootstrap-banner container\">\u003C\u002Fcode>)\u003C\u002Fem>\n\u003Cul>\n\u003Cli>HTML to use before the alert.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Ccode>alert_after\u003C\u002Fcode> \u003Cem>(default \u003Ccode>\u003C\u002Fdiv>\u003C\u002Fcode>)\u003C\u002Fem>\n\u003Cul>\n\u003Cli>HTML to use after the alert.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Ccode>header_before\u003C\u002Fcode> \u003Cem>(default \u003Ccode>\u003Ch4 class=\"global-bootstrap-banner-heading alert-heading\">\u003C\u002Fcode>)\u003C\u002Fem>\n\u003Cul>\n\u003Cli>HTML to use before the heading.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Ccode>header_after\u003C\u002Fcode> \u003Cem>(default \u003Ccode>\u003C\u002Fh4>\u003C\u002Fcode>)\u003C\u002Fem>\n\u003Cul>\n\u003Cli>HTML to use after the heading.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Ccode>link_before\u003C\u002Fcode> \u003Cem>(default \u003Ccode>\u003Cp class=\"global-bootstrap-banner-btn-p mb-0\">\u003C\u002Fcode>)\u003C\u002Fem>\n\u003Cul>\n\u003Cli>HTML to use before the button.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Ccode>link_after\u003C\u002Fcode> \u003Cem>(default \u003Ccode>\u003C\u002Fp>\u003C\u002Fcode>)\u003C\u002Fem>\n\u003Cul>\n\u003Cli>HTML to use after the button.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>For example, a simple shortcode usage would be:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>[global-bootstrap-banner body_text=\"This alert says something different\"]\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Note that the shortcode first takes the settings from the Customizer and then overwrites these.\u003Cbr \u002F>\nSo the above shortcode would show a header if it is set in the Customizer settings.\u003C\u002Fp>\n\u003Ch4>Credits\u003C\u002Fh4>\n\u003Cp>This plugin was written by \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fewels\" rel=\"nofollow ugc\">@ewels\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch4>Contributing\u003C\u002Fh4>\n\u003Cp>If you would like to contribute to this plugin, please go to the \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fewels\u002Fglobal-bootstrap-banner\" rel=\"nofollow ugc\">GitHub repository\u003C\u002Fa> and make a personal fork of the development version. You can then make your changes and submit a pull request. I will happily review the code and then merge when we’re both happy.\u003C\u002Fp>\n","Add a global website banner using a Bootstrap alert box.",1043,0,"2020-04-21T05:19:00.000Z","5.4.19","5.0","5.2.4",[27,28,29],"alert","banner","bootstrap","http:\u002F\u002Fwww.github.com\u002Fewels\u002Fglobal-bootstrap-banner\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fglobal-bootstrap-banner.1.0.zip",null,"2026-04-16T10:56:18.058Z"]