Skip to content

Commit

Permalink
rewriting README
Browse files Browse the repository at this point in the history
  • Loading branch information
Herm71 committed Jan 30, 2020
1 parent d21db06 commit 179d5b2
Showing 1 changed file with 40 additions and 9 deletions.
49 changes: 40 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,50 @@
![Blackbird Consulting](http://www.blackbirdconsult.com/images/blackbird_header_logo.jpg "Blackbird Consulting")
## UC Santa Cruz | Science WordPress Core Functionality Plugin ##

## Blackbird Consulting Core Functionality Plugin ##
@author Blackbird Consulting

@link http://www.blackbirdconsult.com/
[WordPress](https://github.com/wordpress/) plugin for [UC Santa,Cruz Science](https://science.ucsc.edu/).

@more https://github.com/Herm71/blackbird-core-functionality-plugin
This plugin contains the site's core functionality. Any custom post-types, taxonomies, or shrotcodes are defined in here rather than the theme. It is _theme independent_. If the current theme is changed at a future date, this plugin will ensure the any custom functionality remains.


This plugin can contain your site's core functionality. It contains the following library structure; however, it can be expanded greatly:
This plugin contains the following library structure; however, it can be expanded greatly:

* general.php -- for any general functions you would write

* post-types.php -- for registering custom post types

* shortcodes.php -- for writing custom shortcodes

* taxonomies.php -- for custom taxonomies
* taxonomies.php -- for custom taxonomies

## Dependencies

- [Node.js](https://nodejs.org/en/)
- [npm](https://www.npmjs.com/)
- [Gulp](https://gulpjs.com/)

## Install and build

Clone this repository into the `/wp-content/plugins/` directory of your WordPress development environment. Navigate to the directory you cloned this repo into with your terminal and type:

```console
npm install
```

Wait several minutes for the installation to complete and you're in business!

## Gulp tasks

There are two Gulp tasks defined in the `gulpfile.js` file:

There is no `style.css` file in this repo. The `gulp styles` task will build your `style.css` file based on the SASS files located in `/assets/sass/`. This task will also created minified styles, saved as `styles.min.css`.

```console
gulp styles
```

The `gulp watch` task will continuously watch your `/assets/sass/` directory and rebuild your styles every time you save a SASS file.

```console
gulp watch
```

## Credits
- Developed by [Jason Chafin](https://github.com/herm71), Senior Web Developer, UC Santa Cruz Communications & Marketing

0 comments on commit 179d5b2

Please sign in to comment.