Giter VIP home page Giter VIP logo

ucf-strategic-planning's Introduction

UCF Strategic Planning Theme

This theme will be used for the /strategic-planning/ page on www.ucf.edu. The theme relies heavily on shortcodes with Custom Post Types used for data structures that require scheduling or reuse.

Installation Requirements:

  • WordPress v4.4+

For development:

  • node v0.10.22+
  • gulp v3.9.0+

Deployment

No special configuration should be necessary for deploying this theme. Static assets that require minification and/or concatenation are tracked in the repo and should be pushed up as-is during deployment.

Development

  • Make sure an up to date version of node is installed
  • Pull down the repo and cd into it. Run npm install to install node packages in package.json, including gulp and bower. Node packages will save to a node_modules directory in the root of the repo.
  • Install all front-end components and compile static assets by running gulp default. During development, run gulp watch to detect static file changes automatically and run minification and compilation commands on the fly.
  • Make sure up-to-date concatenated/minified files are pushed up to the repo when making changes to static files.

Important files/folders:

functions/base.php

Where functions and classes used throughout the theme are defined.

functions/config.php

Where Config::$links, Config::$scripts, Config::$styles, and Config::$metas should be defined. Custom post types and custom taxonomies should be set here via Config::$custom_post_types and Config::$custom_taxonomies. Custom thumbnail sizes, menus, and sidebars should also be defined here.

functions/theme.php

Theme-specific functions only should be defined here. (Don't use functions.php for this purpose--in this theme, it should only exist to import other files.)

shortcodes.php

Where Wordpress shortcodes can be defined. See example shortcodes for more information.

custom-post-types.php

Where the abstract custom post type and all its descendants live.

static/

Where, aside from style.css in the root, all compiled/minified, theme-specific static content such as javascript, images, and css should live.

src/

Where static assets such as scss partials and unminified javascript should live. With the exception of files in src/components/ (see below), the files in this directory should be used to modify styles and logic on the frontend (do not modify minified assets in static/.)

src/components/

Where static assets installed by Bower should live. Contents in this directory should be ignored by the repo and are referenced only when running gulp tasks.

Notes

This theme utilizes Twitter Bootstrap as its front-end framework. Bootstrap styles and javascript libraries can be utilized in theme templates and page/post content. For more information, visit http://twitter.github.com/bootstrap/

Note that this theme may not always be running the most up-to-date version of Bootstrap. For the most accurate documentation on the theme's current Bootstrap version, visit http://bootstrapdocs.com/ and select the version number found at the top of components/bootstrap-sass-official/bower.json.

ucf-strategic-planning's People

Contributors

cadie avatar cjg89 avatar jmbarne3 avatar keeeeeegan avatar rjucf avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ucf-strategic-planning's Issues

Remove GSA site search option

Remove the ability to replace the WP site search with the now-defunct Google Search Appliance. This will include relevant theme options, updates to search.php, and the removal of related JS logic.

Remove header_title()

Because we use title-tag theme support instead of wp_title() to print a <title> tag in the document head, this function has no effect and should be removed.

PHP Notice

PHP Notice: Trying to access array offset on value of type bool in wordpress/wp-content/themes/UCF-Strategic-Planning/custom-post-types.php on line 831

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.