Initial commit
authorLaury <laury@gaslightmedia.com>
Thu, 26 Apr 2018 13:18:56 +0000 (09:18 -0400)
committerLaury <laury@gaslightmedia.com>
Thu, 26 Apr 2018 13:18:56 +0000 (09:18 -0400)
34 files changed:
404.php [new file with mode: 0644]
archive.php [new file with mode: 0644]
comments.php [new file with mode: 0644]
error_log [new file with mode: 0644]
footer.php [new file with mode: 0644]
front-page.php [new file with mode: 0644]
functions.php [new file with mode: 0644]
header.php [new file with mode: 0644]
home.php [new file with mode: 0644]
img/apple-touch-icon-ipad-76x76.png [new file with mode: 0644]
img/apple-touch-icon-ipad-retina-152x152.png [new file with mode: 0644]
img/apple-touch-icon-iphone-60x60.png [new file with mode: 0644]
img/apple-touch-icon-iphone-retina-120x120.png [new file with mode: 0644]
img/bg.jpg [new file with mode: 0644]
img/favicon.ico [new file with mode: 0644]
img/hbg.png [new file with mode: 0644]
img/icon.png [new file with mode: 0644]
img/logo1.png [new file with mode: 0644]
img/logo2.png [new file with mode: 0644]
img/logo3.png [new file with mode: 0644]
img/logo4.png [new file with mode: 0644]
img/photo-button.png [new file with mode: 0644]
img/play-button.png [new file with mode: 0644]
index.php [new file with mode: 0644]
page-gallery.php [new file with mode: 0644]
page.php [new file with mode: 0644]
screenshot.png [new file with mode: 0644]
sidebar.php [new file with mode: 0644]
single.php [new file with mode: 0644]
style.css [new file with mode: 0644]
template-contact.php [new file with mode: 0644]
woocommerce.css [new file with mode: 0644]
woocommerce.php [new file with mode: 0644]
wp_bootstrap_navwalker.php [new file with mode: 0644]

diff --git a/404.php b/404.php
new file mode 100644 (file)
index 0000000..9a00857
--- /dev/null
+++ b/404.php
@@ -0,0 +1,6 @@
+<?php get_header(); ?>
+
+<h1 align="center">Page Not Found</h1>
+<h2 align="center">Please try again!</h2>
+
+<?php get_footer(); ?>
\ No newline at end of file
diff --git a/archive.php b/archive.php
new file mode 100644 (file)
index 0000000..90c34fc
--- /dev/null
@@ -0,0 +1,48 @@
+<?php get_header(); ?>\r
+\r
+<section class="two-column row no-max pad">\r
+  <div class="col-xs-12">\r
+    <div class="row">\r
+      <!-- Primary Column -->\r
+      <div class="col-xs-12 col-sm-9">\r
+        <div class="primary">\r
+        \r
+        <div class="leader">\r
+            <h1><?php wp_title(''); ?> Blog Posts</h1>\r
+            </div>\r
+            \r
+        <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>\r
+\r
+             <article class="post">\r
+                <h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>\r
+                 <ul class="list-inline">\r
+                  <li class="date"><i class="fa fa-calendar"></i> Published: <?php the_time('F j, Y'); ?></li>\r
+                  <li class="cat">in <?php the_category( ',' ); ?></li>\r
+                </ul>\r
+                <p><?php echo strip_tags( get_the_excerpt() ); ?></p>\r
+                 <?php if( get_the_post_thumbnail() ): ?>\r
+                <div class="img-container">\r
+                  <?php the_post_thumbnail( 'large' ); ?>\r
+                </div>\r
+                 <?php endif; ?>\r
+            </article>\r
+            \r
+            \r
+            \r
+        <?php endwhile; else : ?>\r
+\r
+          <p><?php _e( 'Sorry, no pages or posts found.' ); ?></p>\r
+\r
+        <?php endif; ?>\r
+    \r
+      </div>\r
+    </div>\r
+\r
+        \r
+    <?php get_sidebar(); ?>\r
+        \r
+  </div>\r
+</div>\r
+</section>\r
+\r
+<?php get_footer(); ?>
\ No newline at end of file
diff --git a/comments.php b/comments.php
new file mode 100644 (file)
index 0000000..39482e6
--- /dev/null
@@ -0,0 +1,107 @@
+<?php \r
+if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Please do not load this page directly. Thanks!');\r
+if (!empty($post->post_password)) { // if there's a password\r
+       if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie\r
+?>\r
+\r
+<h1><?php _e('Password Protected'); ?></h1>\r
+<p><?php _e('Enter the password to view comments.'); ?></p>\r
+\r
+<?php return;\r
+       }\r
+}\r
+\r
+       \r
+\r
+$oddcomment = 'alt';\r
+\r
+?>\r
+\r
+\r
+\r
+<?php if ($comments) : ?>\r
+<div class="box">\r
+<div class="post-full">\r
+\r
+<ul class="commentlist" style="margin-top:0;margin-bottom:0;margin-left:0;padding-left:0;">\r
+<?php foreach ($comments as $comment) : ?>\r
+\r
+       <li class="<?php echo $oddcomment; ?>" style="list-style:none;padding-left:0;margin-left:0;border-bottom:2px dotted #FFF;padding-bottom:10px;margin-bottom:12px;" id="comment-<?php comment_ID() ?>">\r
+\r
+<div class="commentmetadata">\r
+<strong>Name:</strong> <?php comment_author_link() ?> <?php edit_comment_link('Edit Comment','',''); ?>\r
+               <?php if ($comment->comment_approved == '0') : ?>\r
+               <em><?php _e('Your comment is awaiting moderation.'); ?></em>\r
+               <?php endif; ?>\r
+</div>\r
+\r
+<?php comment_text() ?>\r
+       </li>\r
+\r
+<?php /* Changes every other comment to a different class */\r
+       if ('alt' == $oddcomment) $oddcomment = '';\r
+       else $oddcomment = 'alt';\r
+?>\r
+\r
+<?php endforeach; ?>\r
+       </ul>\r
+</div></div>\r
+<?php else :  ?>\r
+\r
+<?php if ('open' == $post->comment_status) : ?>\r
+       <!-- If comments are open, but there are no comments. -->\r
+       <?php else : // comments are closed ?>\r
+\r
+       <!-- If comments are closed. -->\r
+<p class="nocomments">Comments are closed.</p>\r
+\r
+       <?php endif; ?>\r
+<?php endif; ?>\r
+\r
+\r
+<?php if ('open' == $post->comment_status) : ?>\r
+<div class="box">\r
+<div class="post-full">\r
+<h4 id="respond">Submit a Comment</h4>\r
+\r
+<?php if ( get_option('comment_registration') && !$user_ID ) : ?>\r
+<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.</p>\r
+\r
+<?php else : ?>\r
+\r
+<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">\r
+<?php if ( $user_ID ) : ?>\r
+\r
+<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Logout &raquo;</a></p>\r
+\r
+<?php else : ?>\r
+\r
+<div class="form-group"><p><input class="form-control" type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="40" tabindex="1" />\r
+<label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label></p></div>\r
+\r
+<div class="form-group"><p><input class="form-control" type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="40" tabindex="2" />\r
+<label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p></div>\r
+\r
+<div class="form-group"><p><input class="form-control" type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="40" tabindex="3" />\r
+<label for="url"><small>Website</small></label></p></div>\r
+\r
+<?php endif; ?>\r
+\r
+<!--<p><small><strong>XHTML:</strong> <?php _e('You can use these tags&#58;'); ?> <?php echo allowed_tags(); ?></small></p>-->\r
+\r
+<div class="form-group"><p><textarea class="form-control" name="comment" id="comment" cols="60" rows="10" tabindex="4"></textarea></p></div>\r
+\r
+<p><input name="submit" class="btn btn-default" type="submit" id="submit" tabindex="5" value="Submit" />\r
+</p>\r
+\r
+<input type="hidden" name="redirect_to" value="<?php echo htmlspecialchars($_SERVER['REQUEST_URI']); ?>" />\r
+<?php comment_id_fields(); ?>\r
+<?php do_action('comment_form', $post->ID); ?>\r
+\r
+</form>\r
+</div>\r
+</div>\r
+\r
+<?php endif; ?>\r
+\r
+<?php endif; ?>
\ No newline at end of file
diff --git a/error_log b/error_log
new file mode 100644 (file)
index 0000000..97daaf0
--- /dev/null
+++ b/error_log
@@ -0,0 +1,70 @@
+[09-Jun-2016 16:40:12 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[05-Jul-2016 20:42:17 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[07-Jul-2016 16:44:26 UTC] PHP Fatal error:  Class 'Walker_Nav_Menu' not found in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/wp_bootstrap_navwalker.php on line 13
+[08-Jul-2016 02:21:12 UTC] PHP Fatal error:  Class 'Walker_Nav_Menu' not found in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/wp_bootstrap_navwalker.php on line 13
+[26-Jul-2016 08:33:11 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[24-Oct-2016 22:14:14 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[16-Mar-2017 21:51:37 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[23-Mar-2017 15:02:09 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[01-Apr-2017 03:39:33 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[04-May-2017 13:14:59 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/index.php on line 1
+[21-Sep-2017 08:35:35 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[21-Sep-2017 08:35:36 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[23-Sep-2017 10:17:52 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/archive.php on line 1
+[23-Sep-2017 10:17:52 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/archive.php on line 1
+[27-Sep-2017 04:23:32 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/archive.php on line 1
+[27-Sep-2017 04:23:32 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/archive.php on line 1
+[28-Sep-2017 03:33:53 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[28-Sep-2017 03:33:54 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[29-Sep-2017 07:43:37 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[29-Sep-2017 07:43:37 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[30-Sep-2017 04:38:57 UTC] PHP Fatal error:  Call to undefined function wp_title() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/header.php on line 21
+[03-Oct-2017 06:28:28 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/archive.php on line 1
+[03-Oct-2017 06:28:28 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/archive.php on line 1
+[06-Oct-2017 01:59:52 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[06-Oct-2017 01:59:52 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[06-Oct-2017 02:01:32 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/archive.php on line 1
+[06-Oct-2017 02:01:32 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/archive.php on line 1
+[06-Oct-2017 03:01:45 UTC] PHP Fatal error:  Call to undefined function wp_title() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/header.php on line 21
+[06-Oct-2017 09:15:00 UTC] PHP Fatal error:  Call to undefined function wp_title() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/header.php on line 21
+[07-Oct-2017 02:19:27 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/index.php on line 1
+[07-Oct-2017 02:19:27 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/index.php on line 1
+[10-Oct-2017 10:28:44 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/archive.php on line 1
+[10-Oct-2017 10:28:45 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/archive.php on line 1
+[10-Oct-2017 16:43:42 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[10-Oct-2017 16:43:43 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[13-Oct-2017 17:11:59 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/archive.php on line 1
+[13-Oct-2017 17:11:59 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/archive.php on line 1
+[16-Oct-2017 23:56:24 UTC] PHP Fatal error:  Call to undefined function wp_title() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/header.php on line 21
+[17-Oct-2017 01:02:36 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/index.php on line 1
+[17-Oct-2017 01:02:37 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/index.php on line 1
+[17-Oct-2017 16:38:59 UTC] PHP Fatal error:  Call to undefined function wp_title() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/header.php on line 21
+[18-Oct-2017 23:01:45 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/index.php on line 1
+[18-Oct-2017 23:01:45 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/index.php on line 1
+[19-Oct-2017 08:22:19 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[19-Oct-2017 08:22:19 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[19-Oct-2017 11:43:50 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/index.php on line 1
+[19-Oct-2017 11:43:51 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/index.php on line 1
+[24-Oct-2017 03:06:51 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/archive.php on line 1
+[24-Oct-2017 03:06:52 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/archive.php on line 1
+[05-Nov-2017 06:41:11 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/index.php on line 1
+[08-Dec-2017 10:24:29 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[08-Dec-2017 10:24:30 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[02-Feb-2018 15:14:47 UTC] PHP Fatal error:  Call to undefined function dynamic_sidebar() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/sidebar.php on line 4
+[02-Feb-2018 15:14:47 UTC] PHP Fatal error:  Call to undefined function dynamic_sidebar() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/sidebar.php on line 4
+[08-Feb-2018 01:00:05 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/index.php on line 1
+[08-Feb-2018 01:00:06 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/index.php on line 1
+[08-Feb-2018 01:00:13 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/single.php on line 1
+[08-Feb-2018 01:00:14 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/single.php on line 1
+[05-Mar-2018 02:39:23 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[05-Mar-2018 02:39:23 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[16-Mar-2018 07:39:27 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[16-Mar-2018 07:39:28 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[24-Mar-2018 08:59:26 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/archive.php on line 1
+[24-Mar-2018 08:59:26 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/archive.php on line 1
+[25-Mar-2018 11:02:49 UTC] PHP Fatal error:  Call to undefined function wp_title() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/header.php on line 21
+[26-Mar-2018 04:49:09 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/index.php on line 1
+[29-Mar-2018 02:28:40 UTC] PHP Fatal error:  Call to undefined function wp_title() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/header.php on line 21
+[29-Mar-2018 06:36:28 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/index.php on line 1
+[08-Apr-2018 13:02:04 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
+[08-Apr-2018 13:02:06 UTC] PHP Fatal error:  Call to undefined function get_header() in /home/amfudgecom/public_html/wp-content/themes/pwm-theme/404.php on line 1
diff --git a/footer.php b/footer.php
new file mode 100644 (file)
index 0000000..43c0e95
--- /dev/null
@@ -0,0 +1,15 @@
+</div>
+</div>
+
+<div class="container">
+<div id="footer">
+<div id="credits"><p>&copy; <?php echo date("Y"); ?> Murdick's Famous Fudge, All Rights Reserved - <a href="http://host.prowebsecure.net/webmail" target="_blank">Webmail</a> - <a href="/site-map/">Site Map</a><br /><a href="http://www.prowebmarketing.com/" title="Traverse City Web Design" rel="nofollow" target="_blank">Website Design by Pro Web Marketing</a></p></div>
+</div>
+</div>
+
+<script src="//code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
+<script src="//cdn.jsdelivr.net/bootstrap/3.3.2/js/bootstrap.min.js"></script>
+
+<?php wp_footer(); ?>
+</body>
+</html>
\ No newline at end of file
diff --git a/front-page.php b/front-page.php
new file mode 100644 (file)
index 0000000..850e707
--- /dev/null
@@ -0,0 +1,26 @@
+<?php get_header(); ?>
+
+<div class="row">
+
+<div class="col-xs-12 col-sm-4 col-md-4 col-lg-4 block">
+
+<?php if(get_field('b1_link')): ?><h3><a href="<?php the_field('b1_link'); ?>"><?php the_field('b1_title'); ?></a></h3><?php else: ?><h3><?php the_field('b1_title'); ?></h3><?php endif; ?>
+<p><a href="<?php the_field('b1_link'); ?>"><img src="<?php the_field('b1_image'); ?>" alt=""/></a></p>
+<?php if(get_field('b1_description')): ?><p><?php the_field('b1_description'); ?></p><?php endif; ?>
+</div>
+
+<div class="col-xs-12 col-sm-4 col-md-4 col-lg-4 block">
+<?php if(get_field('b2_link')): ?><h3><a href="<?php the_field('b2_link'); ?>"><?php the_field('b2_title'); ?></a></h3><?php else: ?><h3><?php the_field('b2_title'); ?></h3><?php endif; ?>
+<p><a href="<?php the_field('b2_link'); ?>"><img src="<?php the_field('b2_image'); ?>" alt=""/></a></p>
+<?php if(get_field('b2_description')): ?><p><?php the_field('b2_description'); ?></p><?php endif; ?>
+</div>
+
+<div class="col-xs-12 col-sm-4 col-md-4 col-lg-4 block">
+<?php if(get_field('b3_link')): ?><h3><a href="<?php the_field('b3_link'); ?>"><?php the_field('b3_title'); ?></a></h3><?php else: ?><h3><?php the_field('b3_title'); ?></h3><?php endif; ?>
+<p><a href="<?php the_field('b3_link'); ?>"><img src="<?php the_field('b3_image'); ?>" alt=""/></a></p>
+<?php if(get_field('b3_description')): ?><p><?php the_field('b3_description'); ?></p><?php endif; ?>
+</div>
+
+</div>
+
+<?php get_footer(); ?>
\ No newline at end of file
diff --git a/functions.php b/functions.php
new file mode 100644 (file)
index 0000000..5d93ba6
--- /dev/null
@@ -0,0 +1,93 @@
+<?php\r
+\r
+require_once('wp_bootstrap_navwalker.php');\r
+\r
+register_nav_menus( array(\r
+    'primary' => __( 'Primary', 'custom' ),\r
+) );\r
+\r
+if(function_exists('acf_add_options_page')) {\r
+     acf_add_options_page();\r
+     acf_add_options_sub_page('Contact');\r
+        acf_add_options_sub_page('Icons');\r
+}\r
+\r
+// Change Place Order Text\r
+add_filter( 'woocommerce_order_button_text', 'woocustomorderbuttontext' ); function woocustomorderbuttontext() { return __( 'Continue', 'woocommerce' ); }\r
+\r
+add_theme_support( 'woocommerce' );\r
+add_theme_support( 'post-thumbnails' );\r
+\r
+function wpt_create_widget( $name, $id, $description ) {\r
+\r
+       register_sidebar(array(\r
+               'name' => __( $name ),   \r
+               'id' => $id, \r
+               'description' => __( $description ),\r
+               'before_widget' => '<div class="widget">',\r
+               'after_widget' => '</div>',\r
+               'before_title' => '<h2 class="module-heading">',\r
+               'after_title' => '</h2>'\r
+       ));\r
+\r
+}\r
+wpt_create_widget( 'Blog Sidebar', 'blog', 'Displays on the side of pages in the blog section' );\r
+\r
+// resize on upload to the largest size in media setting\r
+function replace_uploaded_image($image_data) {\r
+\r
+// if there is no large image : return\r
+if (!isset($image_data['sizes']['large'])) return $image_data;\r
+\r
+// path to the uploaded image and the large image\r
+$upload_dir = wp_upload_dir();\r
+$uploaded_image_location = $upload_dir['basedir'] . '/' .$image_data['file'];\r
+$large_image_location = $upload_dir['path'] . '/'.$image_data['sizes']['large']['file'];\r
+\r
+// delete the uploaded image\r
+unlink($uploaded_image_location);\r
+\r
+// rename the large image\r
+rename($large_image_location,$uploaded_image_location);\r
+\r
+// update image metadata and return them\r
+$image_data['width'] = $image_data['sizes']['large']['width'];\r
+$image_data['height'] = $image_data['sizes']['large']['height'];\r
+unset($image_data['sizes']['large']);\r
+return $image_data;\r
+}\r
+\r
+add_filter('wp_generate_attachment_metadata','replace_uploaded_image');\r
+\r
+// Disable product review (tab)\r
+function woo_remove_product_tabs($tabs) {\r
+    unset($tabs['description']);                 // Remove Description tab\r
+    unset($tabs['additional_information']);      // Remove Additional Information tab\r
+    unset($tabs['reviews']);                     // Remove Reviews tab\r
+    return $tabs;\r
+}\r
+\r
+add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );\r
+\r
+// Display 24 products per page. Goes in functions.php\r
+add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 24;' ), 20 );\r
+\r
+// Change the footer\r
+function modify_footer_admin () { echo 'Created by <a href="http://www.prowebmarketing.com" target="_blank">Pro Web Marketing</a>. '; echo 'Powered by <a href="http://www.wordpress.org" target="_blank">WordPress</a>.'; } add_filter('admin_footer_text', 'modify_footer_admin');\r
+\r
+// Hide the WordPress Logo\r
+function my_custom_login_logo() { echo '<style type="text/css">h1{display:none;}</style>'; }\r
+add_action('login_head', 'my_custom_login_logo');\r
+\r
+// Change the WordPress Logo URL\r
+function my_login_logo_url() { return get_bloginfo( 'url' ); }\r
+add_filter( 'login_headerurl', 'my_login_logo_url' );\r
+\r
+// Change the Powered by: WordPress to your Own Title\r
+function my_login_logo_url_title() { return 'WP Admin'; }\r
+add_filter( 'login_headertitle', 'my_login_logo_url_title' );\r
+\r
+function annointed_admin_bar_remove() { global $wp_admin_bar; $wp_admin_bar->remove_menu('wp-logo'); }\r
+add_action('wp_before_admin_bar_render', 'annointed_admin_bar_remove', 0);\r
+\r
+?>
\ No newline at end of file
diff --git a/header.php b/header.php
new file mode 100644 (file)
index 0000000..3a55528
--- /dev/null
@@ -0,0 +1,237 @@
+<!DOCTYPE html>
+
+<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
+
+<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
+
+<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
+
+<!--[if gt IE 8]><!-->
+
+<html class="no-js"> 
+
+<!--<![endif]-->
+
+<head>
+
+<meta charset="utf-8" />
+
+<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+
+<title><?php wp_title(); ?></title>
+
+<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />    
+
+<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
+
+<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
+
+<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
+
+<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
+
+<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
+
+<meta name="viewport" content="width=device-width,initial-scale=1.0" />
+
+<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" media="screen">
+
+<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
+
+<link href='//fonts.googleapis.com/css?family=Patua+One|Roboto' rel='stylesheet' type='text/css'>
+
+<!-- add in your own icons (start) -->
+
+<link rel="icon" href="<?php bloginfo( 'template_directory' ); ?>/img/icon.png" /> <!-- Backup Favicon -->
+
+<link rel="apple-touch-icon-precomposed" sizes="60x60" href="<?php bloginfo( 'template_directory' ); ?>/img/apple-touch-icon-iphone-60x60.png" />
+
+<link rel="apple-touch-icon-precomposed" sizes="76x76" href="<?php bloginfo( 'template_directory' ); ?>/img/apple-touch-icon-ipad-76x76.png" />
+
+<link rel="apple-touch-icon-precomposed" sizes="120x120" href="<?php bloginfo( 'template_directory' ); ?>/img/apple-touch-icon-iphone-retina-120x120.png" />
+
+<link rel="apple-touch-icon-precomposed" sizes="152x152" href="<?php bloginfo( 'template_directory' ); ?>/img/apple-touch-icon-ipad-retina-152x152.png" />
+
+<link rel="shortcut icon" type="image/x-icon" href="<?php bloginfo( 'template_directory' ); ?>/img/favicon.ico" /> <!-- Actual Favicon -->
+
+<!-- add in your own icons (end) -->
+
+<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" />
+
+<?php if( is_woocommerce() || is_shop() || is_product_category() || is_product_tag() || is_product() || is_cart() || is_checkout() || is_account_page() || is_ajax() ) : ?>
+
+<link rel="stylesheet" href="<?php bloginfo( 'template_directory' ); ?>/woocommerce.css" />
+
+<?php endif; ?>
+
+<script src="//cdn.jsdelivr.net/modernizr/2.8.3/modernizr.min.js"></script>
+
+<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
+
+    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
+
+    <!--[if lt IE 9]>
+
+      <script src="//cdn.jsdelivr.net/html5shiv/3.7.2/html5shiv-printshiv.min.js"></script>
+
+      <script src="//cdn.jsdelivr.net/respond/1.4.2/respond.min.js"></script>
+
+    <![endif]-->
+
+<?php wp_get_archives('type=monthly&format=link'); ?>
+
+<?php //comments_popup_script(); // off by default ?>
+
+<?php wp_head(); ?>
+
+<script type="text/javascript">
+
+  var _gaq = _gaq || [];
+
+  _gaq.push(['_setAccount', 'UA-40202901-6']);
+
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+
+  })();
+
+</script>
+
+<script src='https://www.google.com/recaptcha/api.js'></script>
+
+</head>
+
+<body>
+
+<!--[if lte IE 9]>
+
+<p align="center">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to use our website.</p>
+
+<![endif]-->
+
+
+
+<div class="container">
+
+<div id="topbar">
+
+
+
+<p><i class="hidden-xs fa fa-map-marker"></i> <?php the_field('address', 'options'); ?> - <i class="hidden-xs fa fa-phone"></i> <?php the_field('phone', 'options'); ?> - <i class="hidden-xs fa fa-envelope"></i> <a href="mailto:<?php the_field('email', 'options'); ?>"><?php the_field('email', 'options'); ?></a></p>
+
+<!--<p><i class="hidden-xs fa fa-map-marker"></i> <?php the_field('address2', 'options'); ?> - <i class="hidden-xs fa fa-phone"></i> <?php the_field('phone2', 'options'); ?> - <i class="hidden-xs fa fa-envelope"></i> <a href="mailto:<?php the_field('email', 'options'); ?>"><?php the_field('email', 'options'); ?></a></p>-->
+
+
+
+</div>
+
+</div>
+
+
+
+<div class="container">
+
+<div id="header">
+
+
+
+<div class="col-xs-12 col-sm-4 col-md-4 col-lg-4 nopadding logo"><a href="/"><img src="<?php bloginfo( 'template_directory' ); ?>/img/logo4.png" alt=""/></a></div>
+
+<div class="col-xs-12 col-sm-8 col-md-8 col-lg-8 rightbuttons">
+
+
+
+<p>
+
+<?php if( get_field('social_media', 'options' ) ): ?>
+
+<?php while( has_sub_field('social_media', 'options' ) ): ?>
+
+<?php if(get_sub_field('internal_link')): ?>
+
+<a href="<?php the_sub_field('internal_link'); ?>"><span class="fa-stack fa-sm"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-<?php the_sub_field('social_icon'); ?> fa-inverse fa-stack-1x"></i></span></a>
+
+<?php elseif(get_sub_field('external_link')): ?>
+
+<a href="<?php the_sub_field('external_link'); ?>" target="_blank"><span class="fa-stack fa-sm"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-<?php the_sub_field('social_icon'); ?> fa-inverse fa-stack-1x"></i></span></a>
+
+<?php elseif(get_sub_field('social_icon')): ?>
+
+<span class="fa-stack fa-sm"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-<?php the_sub_field('social_icon'); ?> fa-inverse fa-stack-1x"></i></span>
+
+<?php endif; ?>
+
+<?php endwhile; ?>
+
+<?php endif; ?>
+
+</p>
+
+
+
+<p><a href="/checkout/" class="btn btn-default">Checkout</a> <a href="/cart/" class="btn btn-default">View Cart</a> <a href="/shipping-information/" class="btn btn-default">Shipping Info</a></p>
+
+</div>
+
+
+
+</div>
+
+</div>
+
+
+
+<div class="container">
+
+<div class="navbar navbar-default" role="navigation">
+
+        <div class="navbar-header">
+
+          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+
+<i class="fa fa-bars"></i> Toggle Navigation
+
+          </button>
+
+        </div>
+
+        <div class="collapse navbar-collapse">
+
+          <?php wp_nav_menu( array(
+
+               'menu' => 'primary',
+
+               'theme_location' => 'primary',
+
+               'container' => 'ul',
+
+               'menu_class' => 'nav navbar-nav nav-justified',
+
+               'fallback_cb' => 'wp_bootstrap_navwalker::fallback',
+
+               'walker' => new wp_bootstrap_navwalker()) 
+
+               ); ?>
+
+        </div><!--/.nav-collapse -->
+
+      </div>
+
+</div>
+
+
+
+<?php if (is_front_page('')) { ?><div class="container"><div id="banner"><?php echo do_shortcode("[metaslider id=124]"); ?></div></div><?php } ?>
+
+
+
+<div class="container">
+
+<div id="content">
\ No newline at end of file
diff --git a/home.php b/home.php
new file mode 100644 (file)
index 0000000..d556590
--- /dev/null
+++ b/home.php
@@ -0,0 +1,40 @@
+<?php get_header(); ?>\r
+\r
+<section class="row">\r
+  <div class="col-xs-12">\r
+      <!-- Primary Column -->\r
+      <div class="col-xs-12 col-md-9">\r
+        <div class="primary">\r
+    \r
+        <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>\r
+                               <article <?php post_class('posts'); ?>>\r
+                               <div class="hidden-xs col-xs-12 col-sm-2 date-news">\r
+                       <div class="date-box">  \r
+                  <p class="tdate"><?php the_time('M'); ?></p>\r
+                  <p class="mdate"><?php the_time('j'); ?></p>\r
+                  <p class="bdate"><?php the_time('g:i A'); ?></p>\r
+                       </div>\r
+                </div>\r
+               <div class="col-xs-12 col-sm-10 blog-des">\r
+                <h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>\r
+                <p><i class="fa fa-question-circle"></i> <?php the_category( ',' ); ?></p>\r
+                <p><?php echo strip_tags( get_the_excerpt() ); ?></p>\r
+               </div>\r
+            </article>\r
+            \r
+        <?php endwhile; else : ?>\r
+\r
+          <p><?php _e( 'Sorry, no Posts found.' ); ?></p>\r
+\r
+        <?php endif; ?>\r
+    \r
+      </div>\r
+    </div>\r
+        \r
+<?php get_sidebar(); ?>\r
+        \r
+\r
+</div>\r
+</section>\r
+\r
+<?php get_footer(); ?>
\ No newline at end of file
diff --git a/img/apple-touch-icon-ipad-76x76.png b/img/apple-touch-icon-ipad-76x76.png
new file mode 100644 (file)
index 0000000..0b26d6e
Binary files /dev/null and b/img/apple-touch-icon-ipad-76x76.png differ
diff --git a/img/apple-touch-icon-ipad-retina-152x152.png b/img/apple-touch-icon-ipad-retina-152x152.png
new file mode 100644 (file)
index 0000000..98e6ead
Binary files /dev/null and b/img/apple-touch-icon-ipad-retina-152x152.png differ
diff --git a/img/apple-touch-icon-iphone-60x60.png b/img/apple-touch-icon-iphone-60x60.png
new file mode 100644 (file)
index 0000000..427c34f
Binary files /dev/null and b/img/apple-touch-icon-iphone-60x60.png differ
diff --git a/img/apple-touch-icon-iphone-retina-120x120.png b/img/apple-touch-icon-iphone-retina-120x120.png
new file mode 100644 (file)
index 0000000..1838689
Binary files /dev/null and b/img/apple-touch-icon-iphone-retina-120x120.png differ
diff --git a/img/bg.jpg b/img/bg.jpg
new file mode 100644 (file)
index 0000000..72d7096
Binary files /dev/null and b/img/bg.jpg differ
diff --git a/img/favicon.ico b/img/favicon.ico
new file mode 100644 (file)
index 0000000..c68e152
Binary files /dev/null and b/img/favicon.ico differ
diff --git a/img/hbg.png b/img/hbg.png
new file mode 100644 (file)
index 0000000..80f9ace
Binary files /dev/null and b/img/hbg.png differ
diff --git a/img/icon.png b/img/icon.png
new file mode 100644 (file)
index 0000000..9c8476d
Binary files /dev/null and b/img/icon.png differ
diff --git a/img/logo1.png b/img/logo1.png
new file mode 100644 (file)
index 0000000..159ee8b
Binary files /dev/null and b/img/logo1.png differ
diff --git a/img/logo2.png b/img/logo2.png
new file mode 100644 (file)
index 0000000..0913d57
Binary files /dev/null and b/img/logo2.png differ
diff --git a/img/logo3.png b/img/logo3.png
new file mode 100644 (file)
index 0000000..92b727f
Binary files /dev/null and b/img/logo3.png differ
diff --git a/img/logo4.png b/img/logo4.png
new file mode 100644 (file)
index 0000000..111f7c0
Binary files /dev/null and b/img/logo4.png differ
diff --git a/img/photo-button.png b/img/photo-button.png
new file mode 100644 (file)
index 0000000..43df999
Binary files /dev/null and b/img/photo-button.png differ
diff --git a/img/play-button.png b/img/play-button.png
new file mode 100644 (file)
index 0000000..f68d93d
Binary files /dev/null and b/img/play-button.png differ
diff --git a/index.php b/index.php
new file mode 100644 (file)
index 0000000..3946eb9
--- /dev/null
+++ b/index.php
@@ -0,0 +1,3 @@
+<?php get_header(); ?>
+
+<?php get_footer(); ?>
\ No newline at end of file
diff --git a/page-gallery.php b/page-gallery.php
new file mode 100644 (file)
index 0000000..4a137de
--- /dev/null
@@ -0,0 +1,42 @@
+<?php 
+/*
+Template Name: Gallery
+*/
+get_header(); ?>
+
+<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
+<h1><?php the_title(); ?></h1>
+
+
+<div class="col-sm-12 thegallery">
+<div class="row">
+  <div class="col-sm-6 col-md-6 videos">
+    <div class="thumbnail">
+      <a href="<?php the_field('video_page_link'); ?>"><img src="<?php the_field('video_image2'); ?>" alt="<?php the_field('video_text'); ?>">
+      <div id="play"></div>
+      </a>
+      <div class="caption">
+        <a href="<?php the_field('video_page_link'); ?>"><h3><?php the_field('video_text'); ?></h3></a>
+      </div>
+
+    </div>
+  </div>
+
+  <div class="col-sm-6 col-md-6 photogals">
+    <div class="thumbnail">
+      <a href="<?php the_field('photo_page_link'); ?>"><img src="<?php the_field('photogallery_image2'); ?>" alt="<?php the_field('photo_gallery_text'); ?>"/>
+      <div id="play"></div>
+      </a>
+      <div class="caption">
+        <a href="<?php the_field('photo_page_link'); ?>"><h3><?php the_field('photo_gallery_text'); ?></h3></a>
+      </div>
+    </div>
+  </div>
+</div>
+</div>
+
+<?php the_content(); ?>
+<?php endwhile; ?>
+<?php endif; ?>
+
+<?php get_footer(); ?>
\ No newline at end of file
diff --git a/page.php b/page.php
new file mode 100644 (file)
index 0000000..4070800
--- /dev/null
+++ b/page.php
@@ -0,0 +1,9 @@
+<?php get_header(); ?>
+
+<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
+<h1><?php the_title(); ?></h1>
+<?php the_content(); ?>
+<?php endwhile; ?>
+<?php endif; ?>
+
+<?php get_footer(); ?>
\ No newline at end of file
diff --git a/screenshot.png b/screenshot.png
new file mode 100644 (file)
index 0000000..67d97be
Binary files /dev/null and b/screenshot.png differ
diff --git a/sidebar.php b/sidebar.php
new file mode 100644 (file)
index 0000000..5db3adf
--- /dev/null
@@ -0,0 +1,8 @@
+<!-- Secondary Column -->\r
+<div class="col-xs-12 col-md-3">\r
+<div class="secondary">\r
+    <?php if( !dynamic_sidebar('blog') ): ?>\r
+    <?php endif; ?>\r
+    \r
+</div>\r
+</div>
\ No newline at end of file
diff --git a/single.php b/single.php
new file mode 100644 (file)
index 0000000..04747be
--- /dev/null
@@ -0,0 +1,39 @@
+<?php get_header(); ?>\r
+\r
+<section class="col-xs-12">\r
+\r
+    <div class="row">\r
+      <!-- Primary Column -->\r
+      <div class="col-xs-12 col-md-9">\r
+        <div class="primary">\r
+    \r
+        <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>\r
+\r
+             <article class="post">\r
+                <h1><?php the_title(); ?></h1>\r
+                <ul class="list-inline">\r
+                  <li class="date"><i class="fa fa-calendar"></i> Published: <?php the_time('F j, Y'); ?></li>\r
+                  <li class="cat">in <?php the_category( ',' ); ?></li>\r
+                </ul>\r
+                 \r
+                 <?php the_content(); ?>\r
+                 <?php comments_template(); ?>\r
+            </article>\r
+            \r
+            \r
+            \r
+        <?php endwhile; else : ?>\r
+\r
+          <p><?php _e( 'Sorry, no posts found.'); ?></p>\r
+\r
+        <?php endif; ?>\r
+       </div>\r
+    </div>\r
+        \r
+        <?php get_sidebar(); ?>\r
+  \r
+    </div>\r
+</div>\r
+</section>\r
+\r
+<?php get_footer(); ?>
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644 (file)
index 0000000..4861ecb
--- /dev/null
+++ b/style.css
@@ -0,0 +1,106 @@
+/*\r
+\r
+Theme Name: PWM Custom Theme\r
+Theme URL: http://www.aaronmurdicksfudge.com\r
+Custom Wordpress Theme\r
+Version: 1.0\r
+Author: Pro Web Marketing\r
+Author URI: http://www.prowebmarketing.com\r
+\r
+*/\r
+\r
+body{background:#f2f2fe url(img/bg.jpg) repeat;font-family: 'Roboto', sans-serif;font-size:16px;color:#000;}\r
+img{max-width:100%;height:auto;}\r
+a, a:hover{color:#0c005b;}\r
+\r
+h1,h2,h3,h4,h5,h6{font-family: 'Patua One', cursive;font-weight:400;color:#cb6733;}\r
+\r
+a:link, button:link{outline: 0!important;}\r
+\r
+.nopadding{padding-left:0;padding-right:0;}\r
+\r
+#topbar{background:#0c005b;color:#FFF;text-align:center;padding:15px;padding-top:10px;padding-bottom:10px;font-size:14px;}\r
+#topbar a{color:#FFF;}\r
+#topbar a:hover{color:#cc6635;}\r
+#topbar p{margin:0;}\r
+\r
+#header{color:#000;padding-top:10px;padding-bottom:10px;background:#FFF url(img/hbg.png) repeat-x top;overflow:hidden;}\r
+.logo{padding-top:10px;padding-bottom:10px;text-align:center;}\r
+\r
+.rightbuttons{text-align:center;font-size:18px;}\r
+.rightbuttons .fa{color:#0c005b;}\r
+.rightbuttons .fa-inverse{color:#FFF;}\r
+#header .btn-default{border:0;background:#0c005b;border-radius:0;color:#FFF !important;}\r
+#header .btn-default:hover{border:0;background:#0c005b;color:#cc6635 !important;}\r
+\r
+.navbar-default{background:#000058;border:0;border-radius:0;padding:0;}\r
+.navbar{margin-bottom:0;}\r
+.nav-justified > li{float:none;}\r
+.navbar-nav{margin:0;}\r
+.nav>li>a{text-transform:uppercase;}\r
+.navbar-default .navbar-nav>li>a, .navbar-default .navbar-nav>li>a:visited, .dropdown-menu>li>a, .navbar-default .navbar-nav .open .dropdown-menu>li>a{background:none;color:#FFF;border-radius:0;margin-left:5px;margin-right:5px;}\r
+.navbar-default .navbar-nav>li>a:hover, .dropdown-menu>li>a:hover, .navbar-default .navbar-nav .open .dropdown-menu>li>a:hover, .navbar-default .navbar-nav .open .dropdown-menu>li>a:focus, .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:visited, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus{background:#000058;color:#cc6635;}\r
+\r
+.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus{background:#000058;color:#cc6635;}\r
+.dropdown-menu{background:#3d3c38;border:0;border-radius:0;}\r
+\r
+.navbar-default .navbar-collapse, .navbar-default .navbar-form{border-color:#000058;}\r
+.navbar-default .navbar-toggle, .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus{border:0;background:none;color:#FFF;}\r
+.navbar-toggle{text-align:center;width:100%;margin-right:0;float:none;}\r
+\r
+#content{background:#FFF;padding:15px;overflow:hidden;}\r
+#content .block h3{color:#000058;font-weight:400;padding:15px;text-align:center;font-size:20px;margin-top:0;}\r
+\r
+#footer{font-size:12px;background:#0c005b;padding:15px;text-align:center;color:#FFF;}\r
+#footer a{color:#FFF;}\r
+\r
+.postarea .wp-editor-expand{display:none !important;}\r
+.thumbnail .caption{text-align:center;}\r
+.thumbnail a{text-decoration: none;}\r
+.thumbnail .caption h3:hover{text-decoration: none; color: #000058;}\r
+.videos, .photogals{position:relative;}\r
+.videos .thumbnail a img{z-index:9; text-align:center;}\r
+.videos #play { background: url('img/play-button.png') center center no-repeat; margin: -273px 10px 0 0;height: 270px;position: relative;z-index: 10;transition: all .2s ease-in-out;}\r
+.photogals #play { background: url('img/photo-button.png') center center no-repeat; margin: -273px 10px 0 0;height: 270px;position: relative;z-index: 10;transition: all .2s ease-in-out;}\r
+.photogals #play:hover, .videos #play:hover{transform: scale(1.1);}\r
+\r
+\r
+\r
+.btn-default{border:0;background:#0c005b;border-radius:0;color:#FFF !important;}\r
+.btn-default:hover{border:0;background:#0c005b;color:#cc663e !important;}\r
+\r
+/* keep for WP image captions and alignments */\r
+img.centered {clear:both;display: block;margin-left: auto;margin-right: auto;}\r
+img.alignright {padding: 4px;margin: 0 0 2px 7px;display: inline;}\r
+img.alignleft {padding: 4px;margin: 0 7px 2px 0;display: inline;}\r
+.alignright {float: right;}\r
+.alignleft {float: left;}\r
+.aligncenter{clear:both;display:block;margin-left:auto;margin-right:auto;}\r
+.wp-caption .wp-caption-text{font-size:11px;line-height:17px;margin:0;padding:0 4px 8px 0;}\r
+.wp-caption{background-color:#f5f5f5;border:1px solid #ddd;max-width:99%;margin-bottom:10px;padding-top:4px;text-align:center;}\r
+/* */\r
+\r
+.woocommerce ul.products li.product{width:19.05% !important;}\r
+\r
+.wccs-field-class{width:100% !important;}\r
+input#myfld1{position:relative !important;}\r
+\r
+/* anything smaller is not needed */\r
+@media (min-width:768px) {\r
+       .rightbuttons{text-align:right;margin-top:20px;}\r
+       .date-news{text-align:center; margin-top: 30px; color:#fff;}\r
+       .date-box{background-color: #0C005B;width:100%;}\r
+       .tdate{text-transform: uppercase;margin: 0px;}\r
+       .mdate{  font-size: 30px;margin: 0px;padding: 0px;}\r
+       .bdate{font-size: 12px;border-top: 1px solid #fff;}\r
+       }\r
+@media (min-width:992px) {\r
+       .nopadding.stackedicons{padding-left:15px;}\r
+       .rightbuttons{margin-top:20px;}\r
+       .date-box{background-color: #0C005B;width:100%;}\r
+       }\r
+@media (min-width:1200px) {\r
+       .rightbuttons{margin-top:20px;}\r
+       .text{font-size:14px;}\r
+       .date-box{background-color: #0C005B;width:70%;}\r
+       }
\ No newline at end of file
diff --git a/template-contact.php b/template-contact.php
new file mode 100644 (file)
index 0000000..f7bb07c
--- /dev/null
@@ -0,0 +1,17 @@
+<?php
+/*
+Template Name: Contact
+*/
+?>
+<?php get_header(); ?>
+
+<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"><h1><?php the_title(); ?></h1></div>
+
+<div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
+<?php the_field('c1_content' ); ?>
+</div>
+<div class="col-xs-12 col-sm-8 col-md-8 col-lg-8">
+<?php the_field('c2_content' ); ?>
+</div>
+
+<?php get_footer(); ?>
\ No newline at end of file
diff --git a/woocommerce.css b/woocommerce.css
new file mode 100644 (file)
index 0000000..9873d23
--- /dev/null
@@ -0,0 +1,57 @@
+/*\r
+\r
+Author: Pro Web Marketing\r
+Version: 2.1\r
+\r
+*/\r
+\r
+.postarea .wp-editor-expand{display:none !important;}\r
+\r
+mark.count{display:none !important;}\r
+.woocommerce .woocommerce-message:before, .woocommerce .woocommerce-error:before, .woocommerce .woocommerce-info:before, .woocommerce-page .woocommerce-message:before, .woocommerce-page .woocommerce-error:before, .woocommerce-page .woocommerce-info:before{height:auto !important;}\r
+.woocommerce .cart-collaterals .cross-sells, .woocommerce-page .cart-collaterals .cross-sells{display:none !important;}\r
+.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals{float:none !important;width:100% !important;text-align:left !important;}\r
+.woocommerce .cart-collaterals .shipping_calculator, .woocommerce-page .cart-collaterals .shipping_calculator{width:100% !important;clear:none !important;float:none !important;}\r
+.woocommerce table.shop_table, .woocommerce-page table.shop_table{font-size:12px;}\r
+td.product-remove, th.product-remove, td.product-price, th.product-price, td.product-thumbnail, th.product-thumbnail{display:none;}\r
+.woocommerce table.cart td.actions .coupon .input-text, .woocommerce #content table.cart td.actions .coupon .input-text, .woocommerce-page table.cart td.actions .coupon .input-text, .woocommerce-page #content table.cart td.actions .coupon .input-text, .woocommerce #content table.cart td.actions .button.alt, .woocommerce #content table.cart td.actions .input-text+.button, .woocommerce table.cart td.actions .button.alt, .woocommerce table.cart td.actions .input-text+.button, .woocommerce-page #content table.cart td.actions .button.alt, .woocommerce-page #content table.cart td.actions .input-text+.button, .woocommerce-page table.cart td.actions .button.alt, .woocommerce-page table.cart td.actions .input-text+.button{float:none;width:100%;}\r
+.woocommerce #content table.cart td.actions .button, .woocommerce #content table.cart td.actions .input-text, .woocommerce #content table.cart td.actions input, .woocommerce table.cart td.actions .button, .woocommerce table.cart td.actions .input-text, .woocommerce table.cart td.actions input, .woocommerce-page #content table.cart td.actions .button, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions input, .woocommerce-page table.cart td.actions .button, .woocommerce-page table.cart td.actions .input-text, .woocommerce-page table.cart td.actions input{width:100% !important;}\r
+.woocommerce #content table.cart td.actions .coupon, .woocommerce table.cart td.actions .coupon, .woocommerce-page #content table.cart td.actions .coupon, .woocommerce-page table.cart td.actions .coupon{float:none !important;}\r
+.woocommerce .related ul li.product img, .woocommerce .related ul.products li.product img, .woocommerce .upsells.products ul li.product img, .woocommerce .upsells.products ul.products li.product img, .woocommerce-page .related ul li.product img, .woocommerce-page .related ul.products li.product img, .woocommerce-page .upsells.products ul li.product img, .woocommerce-page .upsells.products ul.products li.product img{width:auto !important;}\r
+.woocommerce .related, .woocommerce .upsells.products, .woocommerce-page .related, .woocommerce-page .upsells.products{display:none;}\r
+.woocommerce div.product .woocommerce-tabs ul.tabs li, .woocommerce #content div.product .woocommerce-tabs ul.tabs li, .woocommerce-page div.product .woocommerce-tabs ul.tabs li, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs li{display:block !important;}\r
+.woocommerce div.product .woocommerce-tabs ul.tabs, .woocommerce #content div.product .woocommerce-tabs ul.tabs, .woocommerce-page div.product .woocommerce-tabs ul.tabs, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs{padding:0 !important;margin:0 !important;}\r
+.woocommerce table.cart th, .woocommerce table.cart td, .woocommerce #content table.cart th, .woocommerce #content table.cart td, .woocommerce-page table.cart th, .woocommerce-page table.cart td, .woocommerce-page #content table.cart th, .woocommerce-page #content table.cart td{vertical-align:top !important;}\r
+.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{width:100% !important;}\r
+.panel{background:none !important;}\r
+\r
+.woocommerce div.product form.cart .variations td{padding-bottom: 5px;}\r
+td.label label{color:#000 !important;}\r
+.woocommerce .cart .button, .woocommerce .cart input.button{margin-bottom: 8px;}\r
+\r
+/* widgets */\r
+\r
+.woocommerce ul.cart_list li img, .woocommerce ul.product_list_widget li img, .woocommerce-page ul.cart_list li img, .woocommerce-page ul.product_list_widget li img{margin-left:0 !important;margin-right:15px !important;display:block !important;max-width:100% !important;float:left !important;width:auto !important;}\r
+.woocommerce ul.cart_list li, .woocommerce ul.product_list_widget li, .woocommerce-page ul.cart_list li, .woocommerce-page ul.product_list_widget li{float:left !important;width:33.05% !important;font-size:12px !important;width:100% !important;}\r
+.woocommerce ul.cart_list, .woocommerce ul.product_list_widget, .woocommerce-page ul.cart_list, .woocommerce-page ul.product_list_widget{margin-left:10px !important;}\r
+img.attachment-shop_thumbnail.wp-post-image{display:block !important;}\r
+label.screen-reader-text{display:none !important;}\r
+.woocommerce #content input.button.added:before, .woocommerce #respond input#submit.added:before, .woocommerce a.button.added:before, .woocommerce button.button.added:before, .woocommerce input.button.added:before, .woocommerce-page #content input.button.added:before, .woocommerce-page #respond input#submit.added:before, .woocommerce-page a.button.added:before, .woocommerce-page button.button.added:before, .woocommerce-page input.button.added:before, .sku_wrapper{display:none !important;}\r
+\r
+/* anything smaller is not needed */\r
+@media (min-width:768px) {\r
+     .woocommerce ul.cart_list, .woocommerce ul.product_list_widget, .woocommerce-page ul.cart_list, .woocommerce-page ul.product_list_widget{margin-left:0 !important;}\r
+     .woocommerce ul.cart_list li, .woocommerce ul.product_list_widget li, .woocommerce-page ul.cart_list li, .woocommerce-page ul.product_list_widget li{font-size:16px !important;width:33.05% !important;}\r
+     .woocommerce ul.products li.product, .woocommerce-page ul.products li.product{width:22.05% !important;}\r
+     .woocommerce div.product .woocommerce-tabs ul.tabs, .woocommerce #content div.product .woocommerce-tabs ul.tabs, .woocommerce-page div.product .woocommerce-tabs ul.tabs, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs{padding:0 0 0 1em !important;margin:0 0 1.618em !important;}\r
+     .woocommerce div.product .woocommerce-tabs ul.tabs li, .woocommerce #content div.product .woocommerce-tabs ul.tabs li, .woocommerce-page div.product .woocommerce-tabs ul.tabs li, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs li{display:inline-block !important;}\r
+     .woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images{width:26%;}\r
+     .woocommerce table.shop_table, .woocommerce-page table.shop_table{font-size:inherit;}\r
+     td.product-remove, th.product-remove, td.product-price, th.product-price{display:table-cell;}\r
+     .woocommerce table.shop_table, .woocommerce-page table.shop_table{font-size:16px;}\r
+     .woocommerce .related, .woocommerce .upsells.products, .woocommerce-page .related, .woocommerce-page .upsells.products{display:block; clear: both !important;}\r
+     }\r
+@media (min-width:992px) {\r
+     }\r
+@media (min-width:1200px) {\r
+     }
\ No newline at end of file
diff --git a/woocommerce.php b/woocommerce.php
new file mode 100644 (file)
index 0000000..86af6b3
--- /dev/null
@@ -0,0 +1,7 @@
+<?php get_header(); ?>
+
+<div class="woocommerce">
+<?php woocommerce_content(); ?>
+</div>
+
+<?php get_footer(); ?>
\ No newline at end of file
diff --git a/wp_bootstrap_navwalker.php b/wp_bootstrap_navwalker.php
new file mode 100644 (file)
index 0000000..8dabc00
--- /dev/null
@@ -0,0 +1,206 @@
+<?php
+
+/**
+ * Class Name: wp_bootstrap_navwalker
+ * GitHub URI: https://github.com/twittem/wp-bootstrap-navwalker
+ * Description: A custom WordPress nav walker class to implement the Bootstrap 3 navigation style in a custom theme using the WordPress built in menu manager.
+ * Version: 2.0.4
+ * Author: Edward McIntyre - @twittem
+ * License: GPL-2.0+
+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
+ */
+
+class wp_bootstrap_navwalker extends Walker_Nav_Menu {
+
+       /**
+        * @see Walker::start_lvl()
+        * @since 3.0.0
+        *
+        * @param string $output Passed by reference. Used to append additional content.
+        * @param int $depth Depth of page. Used for padding.
+        */
+       public function start_lvl( &$output, $depth = 0, $args = array() ) {
+               $indent = str_repeat( "\t", $depth );
+               $output .= "\n$indent<ul role=\"menu\" class=\" dropdown-menu\">\n";
+       }
+
+       /**
+        * @see Walker::start_el()
+        * @since 3.0.0
+        *
+        * @param string $output Passed by reference. Used to append additional content.
+        * @param object $item Menu item data object.
+        * @param int $depth Depth of menu item. Used for padding.
+        * @param int $current_page Menu item ID.
+        * @param object $args
+        */
+       public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {
+               $indent = ( $depth ) ? str_repeat( "\t", $depth ) : '';
+
+               /**
+                * Dividers, Headers or Disabled
+                * =============================
+                * Determine whether the item is a Divider, Header, Disabled or regular
+                * menu item. To prevent errors we use the strcasecmp() function to so a
+                * comparison that is not case sensitive. The strcasecmp() function returns
+                * a 0 if the strings are equal.
+                */
+               if ( strcasecmp( $item->attr_title, 'divider' ) == 0 && $depth === 1 ) {
+                       $output .= $indent . '<li role="presentation" class="divider">';
+               } else if ( strcasecmp( $item->title, 'divider') == 0 && $depth === 1 ) {
+                       $output .= $indent . '<li role="presentation" class="divider">';
+               } else if ( strcasecmp( $item->attr_title, 'dropdown-header') == 0 && $depth === 1 ) {
+                       $output .= $indent . '<li role="presentation" class="dropdown-header">' . esc_attr( $item->title );
+               } else if ( strcasecmp($item->attr_title, 'disabled' ) == 0 ) {
+                       $output .= $indent . '<li role="presentation" class="disabled"><a href="#">' . esc_attr( $item->title ) . '</a>';
+               } else {
+
+                       $class_names = $value = '';
+
+                       $classes = empty( $item->classes ) ? array() : (array) $item->classes;
+                       $classes[] = 'menu-item-' . $item->ID;
+
+                       $class_names = join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item, $args ) );
+
+                       if ( $args->has_children )
+                               $class_names .= ' dropdown';
+
+                       if ( in_array( 'current-menu-item', $classes ) )
+                               $class_names .= ' active';
+
+                       $class_names = $class_names ? ' class="' . esc_attr( $class_names ) . '"' : '';
+
+                       $id = apply_filters( 'nav_menu_item_id', 'menu-item-'. $item->ID, $item, $args );
+                       $id = $id ? ' id="' . esc_attr( $id ) . '"' : '';
+
+                       $output .= $indent . '<li' . $id . $value . $class_names .'>';
+
+                       $atts = array();
+                       $atts['title']  = ! empty( $item->title )       ? $item->title  : '';
+                       $atts['target'] = ! empty( $item->target )      ? $item->target : '';
+                       $atts['rel']    = ! empty( $item->xfn )         ? $item->xfn    : '';
+
+                       // If item has_children add atts to a.
+                       if ( $args->has_children && $depth === 0 ) {
+                               $atts['href']                   = '#';
+                               $atts['data-toggle']    = 'dropdown';
+                               $atts['class']                  = 'dropdown-toggle';
+                               $atts['aria-haspopup']  = 'true';
+                       } else {
+                               $atts['href'] = ! empty( $item->url ) ? $item->url : '';
+                       }
+
+                       $atts = apply_filters( 'nav_menu_link_attributes', $atts, $item, $args );
+
+                       $attributes = '';
+                       foreach ( $atts as $attr => $value ) {
+                               if ( ! empty( $value ) ) {
+                                       $value = ( 'href' === $attr ) ? esc_url( $value ) : esc_attr( $value );
+                                       $attributes .= ' ' . $attr . '="' . $value . '"';
+                               }
+                       }
+
+                       $item_output = $args->before;
+
+                       /*
+                        * Glyphicons
+                        * ===========
+                        * Since the the menu item is NOT a Divider or Header we check the see
+                        * if there is a value in the attr_title property. If the attr_title
+                        * property is NOT null we apply it as the class name for the glyphicon.
+                        */
+                       if ( ! empty( $item->attr_title ) )
+                               $item_output .= '<a'. $attributes .'><span class="glyphicon ' . esc_attr( $item->attr_title ) . '"></span>&nbsp;';
+                       else
+                               $item_output .= '<a'. $attributes .'>';
+
+                       $item_output .= $args->link_before . apply_filters( 'the_title', $item->title, $item->ID ) . $args->link_after;
+                       $item_output .= ( $args->has_children && 0 === $depth ) ? ' <span class="caret"></span></a>' : '</a>';
+                       $item_output .= $args->after;
+
+                       $output .= apply_filters( 'walker_nav_menu_start_el', $item_output, $item, $depth, $args );
+               }
+       }
+
+       /**
+        * Traverse elements to create list from elements.
+        *
+        * Display one element if the element doesn't have any children otherwise,
+        * display the element and its children. Will only traverse up to the max
+        * depth and no ignore elements under that depth.
+        *
+        * This method shouldn't be called directly, use the walk() method instead.
+        *
+        * @see Walker::start_el()
+        * @since 2.5.0
+        *
+        * @param object $element Data object
+        * @param array $children_elements List of elements to continue traversing.
+        * @param int $max_depth Max depth to traverse.
+        * @param int $depth Depth of current element.
+        * @param array $args
+        * @param string $output Passed by reference. Used to append additional content.
+        * @return null Null on failure with no changes to parameters.
+        */
+       public function display_element( $element, &$children_elements, $max_depth, $depth, $args, &$output ) {
+        if ( ! $element )
+            return;
+
+        $id_field = $this->db_fields['id'];
+
+        // Display this element.
+        if ( is_object( $args[0] ) )
+           $args[0]->has_children = ! empty( $children_elements[ $element->$id_field ] );
+
+        parent::display_element( $element, $children_elements, $max_depth, $depth, $args, $output );
+    }
+
+       /**
+        * Menu Fallback
+        * =============
+        * If this function is assigned to the wp_nav_menu's fallback_cb variable
+        * and a manu has not been assigned to the theme location in the WordPress
+        * menu manager the function with display nothing to a non-logged in user,
+        * and will add a link to the WordPress menu manager if logged in as an admin.
+        *
+        * @param array $args passed from the wp_nav_menu function.
+        *
+        */
+       public static function fallback( $args ) {
+               if ( current_user_can( 'manage_options' ) ) {
+
+                       extract( $args );
+
+                       $fb_output = null;
+
+                       if ( $container ) {
+                               $fb_output = '<' . $container;
+
+                               if ( $container_id )
+                                       $fb_output .= ' id="' . $container_id . '"';
+
+                               if ( $container_class )
+                                       $fb_output .= ' class="' . $container_class . '"';
+
+                               $fb_output .= '>';
+                       }
+
+                       $fb_output .= '<ul';
+
+                       if ( $menu_id )
+                               $fb_output .= ' id="' . $menu_id . '"';
+
+                       if ( $menu_class )
+                               $fb_output .= ' class="' . $menu_class . '"';
+
+                       $fb_output .= '>';
+                       $fb_output .= '<li><a href="' . admin_url( 'nav-menus.php' ) . '">Add a menu</a></li>';
+                       $fb_output .= '</ul>';
+
+                       if ( $container )
+                               $fb_output .= '</' . $container . '>';
+
+                       echo $fb_output;
+               }
+       }
+}