UConn Banner for Wordpress
Inserts the UConn header branding at the top of your Wordpress site.
- Github Updates.
- Stylesheets referenced through the UConn CDN.
- In an empty folder, run the command
git clone git://github.com/uconn/uconn-banner-wp.git
cd uconn-banner-wpand run
- Copy the
uconn-banner-wpdirectory into your
- In Wordpress, navigate to the Plugins dashboard page
- Locate the plugin named UConn Banner and click on Activate
- Place the action
<?php do_action('uconn_banner'); ?>into your theme's
header.phpfile after the opening
<body>tag. This file can be found by navigating to Appearance -> Editor and looking for the
header.phpfile in the right column.
There are two ways of upgrading the plugin. You may follow the installation instructions and upload
uconn-banner-wp, replacing the old version in your
wp-content/plugins directory or if you still have the original cloned repository in a folder, you can run the command
git pull to pull in the most recent changes from GitHub.
# Clone the repo $ git clone git://github.com/uconn/uconn-banner-wp.git && cd uconn-banner-wp # Install Composer dependencies (including WordPress) $ composer install # Boot the docker instance $ docker-compose up # Open WordPress in your browser $ open http://localhost/ # Then follow steps 4 and 5 from the Installation instructions above.
The MIT License (MIT)
Copyright (c) 2014 University Communications at UConn
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.