uconn/uconn-banner-wp

Inserts the UConn header branding at the top of your Wordpress site. http://brand.uconn.edu

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 0

Open Issues: 1

Type:wordpress-plugin

v1.2.0 2017-04-26 20:37 UTC

This package is not auto-updated.

Last update: 2024-12-12 17:31:33 UTC


README

Inserts the UConn header branding at the top of your Wordpress site.

Features

  • Github Updates.
  • Stylesheets referenced through the UConn CDN.

Installation

Download the latest build of the Wordpress UConn Banner Plugin from UConn's brand website, or follow the instructions below to install the plugin from GitHub.

  1. In an empty folder, run the command git clone git://github.com/uconn/uconn-banner-wp.git
  2. cd uconn-banner-wp and run composer install
  3. Copy the uconn-banner-wp directory into your wp-content/plugins directory
  4. In Wordpress, navigate to the Plugins dashboard page
  5. Locate the plugin named UConn Banner and click on Activate
  6. Place the action <?php do_action('uconn_banner'); ?> into your theme's header.php file after the opening <body> tag. This file can be found by navigating to Appearance -> Editor and looking for the header.php file in the right column.

Upgrading

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.

Development

# 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.

License

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.