Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Cleaned up code.

  • Loading branch information...
commit 048da29f437a3a194912174c0e2292b63d82537c 1 parent 3d18a40
@JeremyEnglert authored
Showing with 17 additions and 11 deletions.
  1. +0 −11 partials/missing-content.php
  2. +17 −0 sidebar-offcanvas.php
View
11 partials/missing-content.php
@@ -1,11 +0,0 @@
-<article id="post-not-found" class="hentry clearfix">
- <header class="article-header">
- <h1><?php _e("Oops, Post Not Found!", "jointstheme"); ?></h1>
- </header>
- <section class="entry-content">
- <p><?php _e("Uh Oh. Something is missing. Try double checking things.", "jointstheme"); ?></p>
- </section>
- <footer class="article-footer">
- <p><?php _e("This is the error message in the partials/missing-content.php template.", "jointstheme"); ?></p>
- </footer>
-</article>
View
17 sidebar-offcanvas.php
@@ -0,0 +1,17 @@
+<div id="sidebar-offcanvas" class="sidebar large-4 medium-4 columns" role="complementary">
+
+ <?php if ( is_active_sidebar( 'offcanvas' ) ) : ?>
+
+ <?php dynamic_sidebar( 'offcanvas' ); ?>
+
+ <?php else : ?>
+
+ <!-- This content shows up if there are no widgets defined in the backend. -->
+
+ <div class="alert help">
+ <p><?php _e("Please activate some Widgets.", "jointstheme"); ?></p>
+ </div>
+
+ <?php endif; ?>
+
+</div>
Please sign in to comment.
Something went wrong with that request. Please try again.