Skip to content

Commit 4a419d6

Browse files
committed
initial commit
0 parents  commit 4a419d6

File tree

105 files changed

+35225
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+35225
-0
lines changed

.bowerrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"directory": "bower_components"
3+
}

404.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php get_header(); ?>
2+
3+
<!-- Row for main content area -->
4+
<div class="small-12 large-8 columns" id="content" role="main">
5+
6+
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
7+
<header>
8+
<h1 class="entry-title"><?php _e('File Not Found', 'reverie'); ?></h1>
9+
</header>
10+
<div class="entry-content">
11+
<div class="error">
12+
<p class="bottom"><?php _e('The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.', 'reverie'); ?></p>
13+
</div>
14+
<p><?php _e('Please try the following:', 'reverie'); ?></p>
15+
<ul>
16+
<li><?php _e('Check your spelling', 'reverie'); ?></li>
17+
<li><?php printf(__('Return to the <a href="%s">home page</a>', 'reverie'), home_url()); ?></li>
18+
<li><?php _e('Click the <a href="javascript:history.back()">Back</a> button', 'reverie'); ?></li>
19+
</ul>
20+
</div>
21+
</article>
22+
23+
</div>
24+
<?php get_sidebar(); ?>
25+
26+
<?php get_footer(); ?>

Gruntfile.js

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
module.exports = function(grunt) {
2+
grunt.initConfig({
3+
pkg: grunt.file.readJSON('package.json'),
4+
5+
compass: {
6+
dist: {
7+
options: {
8+
importPath: 'bower_components/foundation/scss',
9+
outputStyle: 'expanded',
10+
sassDir: 'scss',
11+
cssDir: 'css',
12+
sourcemap: true
13+
}
14+
}
15+
},
16+
17+
concat: {
18+
dist: {
19+
src: ['js/scripts/modernizr.js', 'js/scripts/lodash.js', 'js/scripts/app.js'],
20+
dest: 'js/scripts/build.js'
21+
}
22+
},
23+
24+
copy: {
25+
main: {
26+
files: [
27+
{ //foundation
28+
nonull: true,
29+
src: 'bower_components/foundation/js/foundation.min.js',
30+
dest: 'js/foundation.min.js'
31+
},
32+
{ //modernizr
33+
nonull: true,
34+
src: 'bower_components/modernizr/modernizr.js',
35+
dest: 'js/scripts/modernizr.js'
36+
},
37+
{ //lodash
38+
nonull: true,
39+
src: 'bower_components/lodash/lodash.js',
40+
dest: 'js/scripts/lodash.js'
41+
},
42+
{ //fontawesome css
43+
nonull: true,
44+
src: 'bower_components/fontawesome/css/font-awesome.min.css',
45+
dest: 'css/font-awesome.min.css'
46+
},
47+
{ //fontawesome fonts
48+
flatten: true,
49+
expand: true,
50+
nonull: true,
51+
src: 'bower_components/fontawesome/fonts/*',
52+
dest: 'fonts/'
53+
}
54+
]
55+
}
56+
},
57+
58+
sass: {
59+
options: {
60+
includePaths: ['bower_components/foundation/scss']
61+
},
62+
dist: {
63+
options: {
64+
outputStyle: 'expanded',
65+
sourceMap: true
66+
},
67+
files: {
68+
'css/uthsc.css': 'scss/uthsc.scss'
69+
}
70+
}
71+
},
72+
73+
uglify: {
74+
options: {
75+
mangle: false
76+
},
77+
my_target: {
78+
files: {
79+
'js/app.min.js' : ['js/scripts/build.js']
80+
}
81+
}
82+
},
83+
84+
watch: {
85+
grunt: { files: ['Gruntfile.js'] },
86+
87+
sass: {
88+
files: 'scss/**/*.scss',
89+
tasks: ['sass']
90+
}
91+
}
92+
});
93+
94+
grunt.loadNpmTasks('grunt-contrib-concat')
95+
grunt.loadNpmTasks('grunt-contrib-compass')
96+
grunt.loadNpmTasks('grunt-sass');
97+
grunt.loadNpmTasks('grunt-contrib-watch');
98+
grunt.loadNpmTasks('grunt-contrib-uglify');
99+
grunt.loadNpmTasks('grunt-contrib-copy');
100+
101+
grunt.registerTask('build', ['copy', 'concat', 'uglify']);
102+
grunt.registerTask('default', ['sass','watch']);
103+
}

README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#The UTHSC Blogs Theme
2+
## Built on Grunterie
3+
4+
Grunterie is a WordPress theme based on [Reverie](http://themefortress.com/reverie/), a "versatile HTML5 responsive WordPress framework based on [ZURB's Foundation](http://foundation.zurb.com/)." Reverie is set up to use the Compass gem so, if you use [Compass](http://compass-style.org/) or you want a theme that's ready-to-go, use Reverie.
5+
If you're in to [Grunt](http://gruntjs.com/) and want to stay on the cutting edge, here are some things that are great about Grunterie.
6+
* Includes all the great features in Reverie (Really, I didn't change much)
7+
* Built using the instructions in the [Foundation docs](http://foundation.zurb.com/docs/sass.html)
8+
* Takes full advantage of Grunt
9+
* Update Foundation any time with ```foundation update``` (Requires Foundation gem)
10+
11+
## Requirements
12+
13+
Note: This isn't an out-of-the-box theme; you'll need to build it yourself. If you want one that's ready-to-go, use [Reverie](http://themefortress.com/reverie/).
14+
15+
You'll need to have the following items installed before continuing.
16+
17+
* [Node.js](http://nodejs.org): Use the installer provided on the NodeJS website.
18+
* [Grunt](http://gruntjs.com/): Run `[sudo] npm install -g grunt-cli`
19+
* [Bower](http://bower.io): Run `[sudo] npm install -g bower`
20+
21+
## Quickstart
22+
23+
```bash
24+
git clone https://github.com/gpspake/grunterie.git
25+
cd grunterie
26+
npm install && bower install
27+
```
28+
29+
While you're working on the project, run:
30+
31+
`grunt`
32+
33+
And you're set!
34+
35+
## Directory Structure
36+
37+
* `scss/_settings.scss`: Foundation configuration settings go in here
38+
* `scss/app.scss`: Application styles go here (Probably no need to mess with this.)
39+
* `scss/style.scss`: Theme styles go here (Copied from Reverie with Compass stuff commented out.)

archive-physicians.php

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php get_header(); ?>
2+
3+
<!-- Row for main content area -->
4+
<div class="small-12 large-8 columns" id="content" role="main">
5+
6+
<?php if ( have_posts() ) : ?>
7+
8+
<?php /* Start the Loop */ ?>
9+
<?php while ( have_posts() ) : the_post(); ?>
10+
<?php get_template_part( 'content', get_post_type() ); ?>
11+
<?php endwhile; ?>
12+
13+
<?php else : ?>
14+
<?php get_template_part( 'content', 'none' ); ?>
15+
16+
<?php endif; // end have_posts() check ?>
17+
18+
<?php /* Display navigation to next/previous pages when applicable */ ?>
19+
<?php if ( function_exists('reverie_pagination') ) { reverie_pagination(); } else if ( is_paged() ) { ?>
20+
<nav id="post-nav">
21+
<div class="post-previous"><?php next_posts_link( __( '&larr; Older posts', 'reverie' ) ); ?></div>
22+
<div class="post-next"><?php previous_posts_link( __( 'Newer posts &rarr;', 'reverie' ) ); ?></div>
23+
</nav>
24+
<?php } ?>
25+
26+
</div>
27+
<?php get_sidebar(); ?>
28+
29+
<?php get_footer(); ?>

archive.php

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php get_header(); ?>
2+
3+
<!-- Row for main content area -->
4+
<div class="small-12 large-8 columns" id="content" role="main">
5+
6+
<?php if ( have_posts() ) : ?>
7+
8+
<?php /* Start the Loop */ ?>
9+
<?php while ( have_posts() ) : the_post(); ?>
10+
<?php get_template_part( 'content', get_post_type() ); ?>
11+
<?php endwhile; ?>
12+
13+
<?php else : ?>
14+
<?php get_template_part( 'content', 'none' ); ?>
15+
16+
<?php endif; // end have_posts() check ?>
17+
18+
<?php /* Display navigation to next/previous pages when applicable */ ?>
19+
<?php if ( function_exists('reverie_pagination') ) { reverie_pagination(); } else if ( is_paged() ) { ?>
20+
<nav id="post-nav">
21+
<div class="post-previous"><?php next_posts_link( __( '&larr; Older posts', 'reverie' ) ); ?></div>
22+
<div class="post-next"><?php previous_posts_link( __( 'Newer posts &rarr;', 'reverie' ) ); ?></div>
23+
</nav>
24+
<?php } ?>
25+
26+
</div>
27+
<?php get_sidebar(); ?>
28+
29+
<?php get_footer(); ?>

bbpress.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
/*
3+
Default Template For bbPress
4+
*/
5+
get_header(); ?>
6+
7+
<!-- Row for main content area -->
8+
<div class="small-12 large-12 columns" role="main">
9+
10+
<?php /* Start loop */ ?>
11+
<?php while (have_posts()) : the_post(); ?>
12+
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
13+
<header>
14+
<h1 class="entry-title"><?php the_title(); ?></h1>
15+
</header>
16+
<div class="entry-content">
17+
<?php the_content(); ?>
18+
</div>
19+
</article>
20+
<?php endwhile; // End the loop ?>
21+
22+
</div>
23+
24+
<?php get_footer(); ?>

bower.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "foundation-libsass-template",
3+
"dependencies": {
4+
"foundation": "zurb/bower-foundation",
5+
"fontawesome": "~4.2.0",
6+
"lodash": "~3.10.1"
7+
}
8+
}

comments.php

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<?php function reverie_comments($comment, $args, $depth) {
2+
$GLOBALS['comment'] = $comment; ?>
3+
<li <?php comment_class(); ?>>
4+
<article id="comment-<?php comment_ID(); ?>">
5+
<header class="comment-author">
6+
<?php echo get_avatar($comment,$size='48'); ?>
7+
<div class="author-meta">
8+
<?php printf(__('<cite class="fn">%s</cite>', 'reverie'), get_comment_author_link()) ?>
9+
<time datetime="<?php echo comment_date('c') ?>"><a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(__('%1$s', 'reverie'), get_comment_date(), get_comment_time()) ?></a></time>
10+
<?php edit_comment_link(__('(Edit)', 'reverie'), '', '') ?>
11+
</div>
12+
</header>
13+
14+
<?php if ($comment->comment_approved == '0') : ?>
15+
<div class="notice">
16+
<p class="bottom"><?php _e('Your comment is awaiting moderation.', 'reverie') ?></p>
17+
</div>
18+
<?php endif; ?>
19+
20+
<section class="comment">
21+
<?php comment_text() ?>
22+
<?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
23+
</section>
24+
25+
</article>
26+
<?php } ?>
27+
28+
<?php
29+
// Do not delete these lines
30+
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
31+
die (__('Please do not load this page directly. Thanks!', 'reverie'));
32+
33+
if ( post_password_required() ) { ?>
34+
<section id="comments">
35+
<div class="notice">
36+
<p class="bottom"><?php _e('This post is password protected. Enter the password to view comments.', 'reverie'); ?></p>
37+
</div>
38+
</section>
39+
<?php
40+
return;
41+
}
42+
?>
43+
<?php // You can start editing here. Customize the respond form below ?>
44+
<?php if ( have_comments() ) : ?>
45+
<section id="comments">
46+
<h3><?php comments_number(__('No Responses to', 'reverie'), __('One Response to', 'reverie'), __('% Responses to', 'reverie') ); ?> &#8220;<?php the_title(); ?>&#8221;</h3>
47+
<ol class="commentlist">
48+
<?php wp_list_comments('type=comment&callback=reverie_comments'); ?>
49+
50+
</ol>
51+
<footer>
52+
<nav id="comments-nav">
53+
<div class="comments-previous"><?php previous_comments_link( __( '&larr; Older comments', 'reverie' ) ); ?></div>
54+
<div class="comments-next"><?php next_comments_link( __( 'Newer comments &rarr;', 'reverie' ) ); ?></div>
55+
</nav>
56+
</footer>
57+
</section>
58+
<?php else : // this is displayed if there are no comments so far ?>
59+
<?php if ( comments_open() ) : ?>
60+
<?php else : // comments are closed ?>
61+
<section id="comments">
62+
<div class="notice">
63+
<p class="bottom"><?php _e('Comments are closed.', 'reverie') ?></p>
64+
</div>
65+
</section>
66+
<?php endif; ?>
67+
<?php endif; ?>
68+
<?php if ( comments_open() ) : ?>
69+
<section id="respond">
70+
<h3><?php comment_form_title( __('Leave a Reply', 'reverie'), __('Leave a Reply to %s', 'reverie') ); ?></h3>
71+
<p class="cancel-comment-reply"><?php cancel_comment_reply_link(); ?></p>
72+
<?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?>
73+
<p><?php printf( __('You must be <a href="%s">logged in</a> to post a comment.', 'reverie'), wp_login_url( get_permalink() ) ); ?></p>
74+
<?php else : ?>
75+
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
76+
<?php if ( is_user_logged_in() ) : ?>
77+
<p><?php printf(__('Logged in as <a href="%s/wp-admin/profile.php">%s</a>.', 'reverie'), get_option('siteurl'), $user_identity); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php __('Log out of this account', 'reverie'); ?>"><?php _e('Log out &raquo;', 'reverie'); ?></a></p>
78+
<?php else : ?>
79+
<p>
80+
<label for="author"><?php _e('Name', 'reverie'); if ($req) _e(' (required)', 'reverie'); ?></label>
81+
<input type="text" class="five" name="author" id="author" value="<?php echo esc_attr($comment_author); ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?>>
82+
</p>
83+
<p>
84+
<label for="email"><?php _e('Email (will not be published)', 'reverie'); if ($req) _e(' (required)', 'reverie'); ?></label>
85+
<input type="text" class="five" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?>>
86+
</p>
87+
<p>
88+
<label for="url"><?php _e('Website', 'reverie'); ?></label>
89+
<input type="text" class="five" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22" tabindex="3">
90+
</p>
91+
<?php endif; ?>
92+
<p>
93+
<label for="comment"><?php _e('Comment', 'reverie'); ?></label>
94+
<textarea name="comment" id="comment" tabindex="4"></textarea>
95+
</p>
96+
<p id="allowed_tags" class="small"><strong>XHTML:</strong> <?php _e('You can use these tags:','reverie'); ?> <code><?php echo allowed_tags(); ?></code></p>
97+
<p><input name="submit" class="small radius button" type="submit" id="submit" tabindex="5" value="<?php esc_attr_e('Submit Comment', 'reverie'); ?>"></p>
98+
<?php comment_id_fields(); ?>
99+
<?php do_action('comment_form', $post->ID); ?>
100+
</form>
101+
<?php endif; // If registration required and not logged in ?>
102+
</section>
103+
<?php endif; // if you delete this the sky will fall on your head ?>

content-none.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
/**
3+
* The template for displaying a "No posts found" message.
4+
*
5+
* @subpackage Reverie
6+
* @since Reverie 4.0
7+
*/
8+
?>
9+
10+
<article id="post-0" class="post no-results not-found">
11+
<header>
12+
<h2><?php _e( 'Nothing Found', 'reverie' ); ?></h2>
13+
</header>
14+
<div class="entry-content">
15+
<p><?php _e( 'Apologies, but no results were found. Perhaps searching will help find a related post.', 'reverie' ); ?></p>
16+
</div>
17+
<hr />
18+
</article>

0 commit comments

Comments
 (0)