├── .gitignore
├── favicon.ico
├── images
├── menu.png
├── ascent-logo.png
├── Clouds-Color0.jpg
├── ascent-logo-wm.png
└── ascent-logo-full.png
├── scss
├── .sass-cache
│ └── d53221c15f636401557856ca9354a00229c0afbe
│ │ └── asc.scssc
├── asc.css.map
├── asc.scss
└── asc.css
├── style.css
├── parts
├── after-binder.php
├── headers.php
├── archive-layout-university-center.php
├── single-layout-university-center.php
├── before-binder.php
└── single-layout-wsuwp_uc_person.php
├── gruntfile.js
├── js
├── cu.js
├── admin.js
└── jQuery.videobg.js
├── taxonomy-wsuwp_uc_topics.php
├── category-notice-of-funding-opportunity.php
├── articles
├── post-wsuwp_uc_entity.php
├── post-wsuwp_uc_publication.php
├── post-notice-of-funding-opportunity.php
├── post-wsuwp_uc_person.php
└── post-wsuwp_uc_project.php
├── single.php
├── functions.php
├── custom.js
└── includes
├── plugin-swwrc-video.php
└── ascent-uc-project.php
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .sass-cache
--------------------------------------------------------------------------------
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/washingtonstateuniversity/Ascent-Theme/master/favicon.ico
--------------------------------------------------------------------------------
/images/menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/washingtonstateuniversity/Ascent-Theme/master/images/menu.png
--------------------------------------------------------------------------------
/images/ascent-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/washingtonstateuniversity/Ascent-Theme/master/images/ascent-logo.png
--------------------------------------------------------------------------------
/images/Clouds-Color0.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/washingtonstateuniversity/Ascent-Theme/master/images/Clouds-Color0.jpg
--------------------------------------------------------------------------------
/images/ascent-logo-wm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/washingtonstateuniversity/Ascent-Theme/master/images/ascent-logo-wm.png
--------------------------------------------------------------------------------
/images/ascent-logo-full.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/washingtonstateuniversity/Ascent-Theme/master/images/ascent-logo-full.png
--------------------------------------------------------------------------------
/scss/.sass-cache/d53221c15f636401557856ca9354a00229c0afbe/asc.scssc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/washingtonstateuniversity/Ascent-Theme/master/scss/.sass-cache/d53221c15f636401557856ca9354a00229c0afbe/asc.scssc
--------------------------------------------------------------------------------
/style.css:
--------------------------------------------------------------------------------
1 | /*
2 | Theme Name: Ascent - Aviation Sustainability Center
3 | Theme URI: https://web.wsu.edu/
4 | Author: WSU University Communications
5 | Author URI: https://web.wsu.edu/
6 | Description: A child theme of the WSU Web Communications Spine template.
7 | Template: spine
8 | Version: 0.12.3
9 | License: GPLv2 or later
10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html
11 | */
12 |
--------------------------------------------------------------------------------
/parts/after-binder.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/gruntfile.js:
--------------------------------------------------------------------------------
1 | module.exports = function(grunt) {
2 | grunt.initConfig({
3 | pkg: grunt.file.readJSON('package.json'),
4 | sass: {
5 | dist: {
6 | files: {
7 | 'style/asc.css' : 'sass/asc.scss'
8 | }
9 | }
10 | },
11 | watch: {
12 | css: {
13 | files: '.css/.scss',
14 | tasks: ['sass']
15 | }
16 | }
17 | });
18 | grunt.loadNpmTasks('grunt-contrib-sass');
19 | grunt.loadNpmTasks('grunt-contrib-watch');
20 | grunt.registerTask('default',['watch']);
21 | };
--------------------------------------------------------------------------------
/js/cu.js:
--------------------------------------------------------------------------------
1 | WebFontConfig = {
2 | google: { families: [ 'Roboto:400,400italic,500,500italic,700,300,300italic:latin' ] }
3 | };
4 | (function() {
5 | var wf = document.createElement('script');
6 | wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
7 | '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
8 | wf.type = 'text/javascript';
9 | wf.async = 'true';
10 | var s = document.getElementsByTagName('script')[0];
11 | s.parentNode.insertBefore(wf, s);
12 |
13 | })();
--------------------------------------------------------------------------------
/js/admin.js:
--------------------------------------------------------------------------------
1 | (function($,window){
2 | $(document).ready(function(){
3 | if ( 0 !== $('#ascent-assign-advisors').length) {
4 | window.wsuwp_uc_autocomplete_object( 'faa_advisors' );
5 | $('#faa_advisors-results').on('click', '.uc-object-close','faa_advisors',window.wsuwp_uc_remove_object);
6 | }
7 | if ( 0 !== $('#ascent-assign-project-leads').length) {
8 | window.wsuwp_uc_autocomplete_object( 'project_leads' );
9 | $('#project_leads-results').on('click', '.uc-object-close','project_leads',window.wsuwp_uc_remove_object);
10 | }
11 | });
12 | }(jQuery,window));
--------------------------------------------------------------------------------
/taxonomy-wsuwp_uc_topics.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | Ascent Funding Opportunities
7 | Notice of Funding Opportunity
15 |
16 | Ascent
22 |
 . '/images/ascent-logo-wm.png' ); ?>)
Last Updated: '; 44 | 45 | // If within 24 hours, show a human readable version instead 46 | if ( ( $current_time - strtotime( $revision->post_date ) ) < DAY_IN_SECONDS ) { 47 | echo esc_html( human_time_diff( $current_time, strtotime( $revision->post_date ) ) . ' ago' ); 48 | } else { 49 | echo esc_html( date( 'm/d/Y', strtotime( $revision->post_date ) ) ); 50 | } 51 | 52 | echo '
'; 53 | } 54 | ?> 55 | 56 | 'Primary headline to be used for the top of the page, under the logo.
45 | ID, '_swwrc_home_mp4', true ); 56 | $ogv = get_post_meta( $post->ID, '_swwrc_home_ogv', true ); 57 | $web = get_post_meta( $post->ID, '_swwrc_home_webm', true ); 58 | $poster = get_post_meta( $post->ID, '_swwrc_home_poster', true ); 59 | ?> 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | post_type, array( 'page', 'post' ) ) ) { 83 | return; 84 | } 85 | 86 | if ( 'auto-draft' === $post->post_status ) { 87 | return; 88 | } 89 | 90 | if ( ! isset( $_POST['_cob_headlines_nonce'] ) || false === wp_verify_nonce( $_POST['_cob_headlines_nonce'], 'cob-headlines-nonce' ) ) { 91 | return; 92 | } 93 | 94 | if ( isset( $_POST['cob_page_headline'] ) ) { 95 | update_post_meta( $post_id, $this->headline_meta_key, strip_tags( $_POST['cob_page_headline'], '