Skip to content

Commit 862a11b

Browse files
committed
Initial release
0 parents  commit 862a11b

File tree

501 files changed

+81061
-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.

501 files changed

+81061
-0
lines changed

404.php

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?php
2+
/**
3+
* The 404 template file.
4+
*
5+
* This is the most generic template file in a WordPress theme
6+
* and one of the two required files for a theme (the other being style.css).
7+
* It is used to display a page when nothing more specific matches a query.
8+
* E.g., it puts together the home page when no home.php file exists.
9+
*
10+
* @link https://codex.wordpress.org/Template_Hierarchy
11+
*
12+
* @package stuff
13+
*/
14+
get_header();
15+
?>
16+
17+
<div id="colorlib-container">
18+
<div class="container">
19+
<div class="row row-pb-lg">
20+
<div class="col-xs-12">
21+
<div class="page-entry">
22+
<h2><?php esc_html_e('404 Error! Page Not Found', 'stuff'); ?></h2>
23+
<p><?php esc_html_e('The page you are looking for may be deleted or not available','stuff'); ?></p>
24+
</div>
25+
</div>
26+
</div>
27+
</div>
28+
</div>
29+
30+
<?php get_footer(); ?>
31+

_gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "inc/libraries/epsilon-framework"]
2+
path = inc/libraries/epsilon-framework
3+
url = https://github.com/MachoThemes/epsilon-framework.git
4+
branch = dev

archive.php

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?php
2+
/**
3+
* The archive template file for category, tag, search result etc. pages.
4+
*
5+
* This is the most generic template file in a WordPress theme
6+
* and one of the two required files for a theme (the other being style.css).
7+
* It is used to display a page when nothing more specific matches a query.
8+
* E.g., it puts together the home page when no home.php file exists.
9+
*
10+
* @link https://codex.wordpress.org/Template_Hierarchy
11+
*
12+
* @package stuff
13+
*/
14+
get_header();
15+
?>
16+
17+
<div id="colorlib-container">
18+
<div class="container">
19+
<div class="row">
20+
<div class="col-md-9 content">
21+
<div class="row row-pb-md">
22+
<?php
23+
if ( have_posts() ) :
24+
$column = 0;
25+
while ( have_posts() ) : the_post();
26+
managerow(get_the_ID(), $column, 2 );
27+
get_template_part( 'template-parts/content', get_post_format());
28+
endwhile;
29+
else:
30+
get_template_part( 'template-parts/content', 'none' );
31+
endif;
32+
?>
33+
</div>
34+
<div class="row">
35+
<div class="col-md-12 text-center">
36+
<?php stuff_pagination(); ?>
37+
</div>
38+
</div>
39+
</div>
40+
<div class="col-md-3">
41+
<?php get_sidebar(); ?>
42+
</div>
43+
</div>
44+
</div>
45+
</div>
46+
47+
<?php get_footer(); ?>
48+

author.php

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
<?php
2+
/**
3+
* The author template file.
4+
*
5+
* This is the most generic template file in a WordPress theme
6+
* and one of the two required files for a theme (the other being style.css).
7+
* It is used to display a page when nothing more specific matches a query.
8+
* E.g., it puts together the home page when no home.php file exists.
9+
*
10+
* @link https://codex.wordpress.org/Template_Hierarchy
11+
*
12+
* @package stuff
13+
*/
14+
get_header();
15+
?>
16+
17+
<div id="colorlib-container">
18+
<div class="container">
19+
<div class="row">
20+
<div class="col-xs-12">
21+
<div class="page-entry">
22+
<?php
23+
$curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author));
24+
?>
25+
<div class="row">
26+
<div class="col-md-6">
27+
<img class="img-responsive" src="<?php print $curauth->user_profile_image; ?>" alt="<?php print $curauth->display_name; ?>">
28+
</div>
29+
<div class="col-md-6">
30+
<div class="author-entry">
31+
<?php print wpautop($curauth->user_description); ?>
32+
</div>
33+
<ul class="colorlib-social-icons">
34+
<?php
35+
$twitterlink = $curauth->user_twitter;
36+
$facebooklink = $curauth->user_facebook;
37+
$linkedinlink = $curauth->user_linkedin;
38+
$gpluslink = $curauth->user_gplus;
39+
$dribbblelink = $curauth->user_dribbble;
40+
$youtubelink = $curauth->user_youtube;
41+
$vimeolink = $curauth->user_vimeo;
42+
43+
if($twitterlink != ''){
44+
echo '<li><a href="'.$twitterlink.'"><i class="icon-twitter"></i></a></li>';
45+
}
46+
if($facebooklink != ''){
47+
echo '<li><a href="'.$facebooklink.'"><i class="icon-facebook"></i></a></li>';
48+
}
49+
if($linkedinlink != ''){
50+
echo '<li><a href="'.$linkedinlink.'"><i class="icon-linkedin"></i></a></li>';
51+
}
52+
if($gpluslink != ''){
53+
echo '<li><a href="'.$gpluslink.'"><i class="icon-google-plus"></i></a></li>';
54+
}
55+
if($dribbblelink != ''){
56+
echo '<li><a href="'.$dribbblelink.'"><i class="icon-dribbble"></i></a></li>';
57+
}
58+
if($youtubelink != ''){
59+
echo '<li><a href="'.$youtubelink.'"><i class="icon-youtube"></i></a></li>';
60+
}
61+
if($vimeolink != ''){
62+
echo '<li><a href="'.$vimeolink.'"><i class="icon-vimeo"></i></a></li>';
63+
}
64+
?>
65+
</ul>
66+
</div>
67+
</div>
68+
</div>
69+
</div>
70+
</div>
71+
</div>
72+
</div>
73+
74+
<?php get_footer(); ?>
75+

comments.php

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<?php
2+
/**
3+
* The template for displaying comments.
4+
*
5+
* This is the template that displays the area of the page that contains both the current comments
6+
* and the comment form.
7+
*
8+
* @link https://codex.wordpress.org/Template_Hierarchy
9+
*
10+
* @package stuff
11+
*/
12+
13+
/*
14+
* If the current post is protected by a password and
15+
* the visitor has not yet entered the password we will
16+
* return early without loading the comments.
17+
*/
18+
if (post_password_required()) {
19+
return;
20+
}
21+
?>
22+
23+
<?php
24+
if (number_format_i18n(get_comments_number()) != 0) {
25+
?>
26+
<div class="row row-pb-lg">
27+
<div class="col-md-12">
28+
<h4 class="heading-2"><?php printf(_n('One Comment', '<span class="comment-count">%s</span> Comments', get_comments_number(), 'stuff'), number_format_i18n(get_comments_number())); ?></h4>
29+
<?php
30+
wp_list_comments(array(
31+
'style' => 'div',
32+
'callback' => 'stuff_comments',
33+
'short_ping' => true,
34+
));
35+
?>
36+
</div>
37+
<?php if (get_comment_pages_count() > 1 && get_option('page_comments')) : ?>
38+
<nav id="comment-nav-below" class="comment-navigation" role="navigation">
39+
<h1 class="screen-reader-text"><?php esc_html_e('Comment navigation', 'stuff'); ?></h1>
40+
<div class="col-sm-6"><div class="nav-previous"><?php previous_comments_link(esc_html__('&larr; Older Comments', 'stuff')); ?></div></div>
41+
<div class="col-sm-6"><div class="nav-next"><?php next_comments_link(esc_html__('Newer Comments &rarr;', 'stuff')); ?></div></div>
42+
<div class="clearfix"></div>
43+
</nav><!-- #comment-nav-below -->
44+
<?php endif; // check for comment navigation ?>
45+
</div>
46+
<?php
47+
}
48+
?>
49+
<!-- COMMENT REPLY -->
50+
<?php if (!comments_open()) : ?>
51+
<p class="no-comments"><?php esc_html_e('Comments are closed', 'stuff'); ?></p>
52+
<?php endif; ?>
53+
<?php
54+
$commenter = wp_get_current_commenter();
55+
$req = get_option('require_name_email');
56+
$aria_req = ($req ? " aria-required='true'" : '');
57+
$required_text = ' ';
58+
$args = array(
59+
'id_form' => 'comment-form',
60+
'class_form' => 'comment-form',
61+
'id_submit' => '',
62+
'class_submit' => '',
63+
'title_reply_to' => esc_html__('Say something', 'stuff'),
64+
'title_reply' => esc_html__('Say something', 'stuff'),
65+
'cancel_reply_link' => esc_html__('Cancel Reply', 'stuff'),
66+
'logged_in_as' => '',
67+
'submit_button' => '<div class="form-group"><button class="btn btn-primary" type="submit" name="comment-submit">' . esc_html__('Post Comment', 'stuff') . '</button></div>',
68+
69+
'comment_notes_before' => '',
70+
71+
'fields' => apply_filters('comment_form_default_fields', array(
72+
73+
'author' => '<div class="row form-group"><div class="col-md-6"><input class="form-control" type="text" name="author" id="name" placeholder="' . esc_attr__('Your name', 'stuff') . '" value="' . esc_attr($commenter['comment_author']) . '" size="30"' . $aria_req . '/></div>',
74+
'email' => '<div class="col-md-6"><input class="form-control" name="email" type="email" id="email" placeholder="' . esc_attr__('Email address', 'stuff') . '" value="' . esc_attr($commenter['comment_author_email']) . '" size="30"' . $aria_req . '/></div></div>'
75+
76+
)),
77+
78+
'comment_field' => '<div class="row form-group"><div class="col-md-12"><textarea class="form-control" rows="10" cols="30" id="comment_message" name="comment" placeholder="' . esc_attr__('Your comment', 'stuff') . '"></textarea></div></div>'
79+
);
80+
81+
comment_form($args);
82+
?>

css/_bootstrap-mincer.css

Whitespace-only changes.

0 commit comments

Comments
 (0)