Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

horses page is done

  • Loading branch information...
commit e913069f955f24dd2ff07e665ab34fbb71ec178c 1 parent ea895bf
@zakirsajib authored
View
22 footer.php
@@ -7,18 +7,36 @@
</footer>
</div> <!--! end of #container -->
+
+
<!-- Grab Google CDN's jQuery. fall back to local if necessary -->
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
+ <!--
+/*
+<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="<?php echo get_stylesheet_directory_uri() ?>/static/js/libs/jquery-1.4.2.min.js"%3E%3C/script%3E'))</script>
+*/
+-->
+
+
+<!-- Polaroid pluign gets conflict with jquery 1.4.2, but this jquery 1.4.2 exact version requires for theme to work-->
+<!--
+/*
+<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
+<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri() ?>/static/CACHE/js/2c749dbfef88.js" charset="utf-8"></script>
+*/
+-->
+
+
<!--[if lt IE 9 ]>
<script src="<?php echo get_stylesheet_directory_uri() ?>/static/js/libs/excanvas.compiled.js"></script>
<![endif]-->
- <script type="text/javascript" src="<?php echo get_stylesheet_directory_uri() ?>/static/CACHE/js/2c749dbfef88.js" charset="utf-8"></script>
+ <!-- /* <script type="text/javascript" src="<?php echo get_stylesheet_directory_uri() ?>/static/CACHE/js/2c749dbfef88.js" charset="utf-8"></script> */ -->
<!-- /* <script src="http://maps.google.com/maps/api/js?sensor=false&callback=SB.initGMaps"></script> */ -->
<?php wp_footer();?>
+
</body>
</html>
View
26 functions.php
@@ -89,4 +89,30 @@ function new_excerpt_more( $more ) {
return '';
}
add_filter('excerpt_more', 'new_excerpt_more');
+function exclude_thumbnail_from_gallery($null, $attr)
+{
+ if (!$thumbnail_ID = get_post_thumbnail_id())
+ return $null; // no point carrying on if no thumbnail ID
+
+ // temporarily remove the filter, otherwise endless loop!
+ remove_filter('post_gallery', 'exclude_thumbnail_from_gallery');
+
+ // pop in our excluded thumbnail
+ if (!isset($attr['exclude']) || empty($attr['exclude']))
+ $attr['exclude'] = array($thumbnail_ID);
+ elseif (is_array($attr['exclude']))
+ $attr['exclude'][] = $thumbnail_ID;
+
+ // now manually invoke the shortcode handler
+ $gallery = gallery_shortcode($attr);
+
+ // add the filter back
+ add_filter('post_gallery', 'exclude_thumbnail_from_gallery', 10, 2);
+
+ // return output to the calling instance of gallery_shortcode()
+ return $gallery;
+}
+add_filter('post_gallery', 'exclude_thumbnail_from_gallery', 10, 2);
+
+
?>
View
64 header.php
@@ -37,39 +37,53 @@
<link href="<?php echo get_stylesheet_directory_uri() ?>/style.css" rel="stylesheet" type="text/css" />
-<?php wp_enqueue_script( 'jquery' ); ?>
+<?php wp_enqueue_script( 'jquery'); ?>
<?php wp_head();?>
<!-- now Loads all of your other scripts below-->
+
+
+
<script src="<?php echo get_stylesheet_directory_uri() ?>/static/js/libs/modernizr-1.6.min.js"></script>
<script type="text/javascript">
// Create a global object to put all of our stuff in
SB = [];
</script>
-<link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_directory_uri() ?>/colorbox/colorbox.css" media="screen" />
-<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri() ?>/colorbox/jquery.colorbox.js"></script>
+<link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_directory_uri() ?>/colorbox/colorbox.css" media="screen"/>
+<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri() ?>/colorbox/jquery.colorbox.js"></script>
<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri() ?>/js/jquery.cycle.min.js"></script>
+<?php
+wp_enqueue_script('j142', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js',0, true);
+wp_enqueue_script('jtheme', get_bloginfo('template_url').'/static/CACHE/js/2c749dbfef88.js',0, true);?>
+
+
+
<script type="text/javascript">
- $j = jQuery.noConflict();
- $j( document ).ready(function() {
+ jQuery.noConflict();
+ jQuery( document ).ready(function($) {
- $j(".myfancybox").colorbox({
+ $(".myfancybox").colorbox({
iframe:false, width:"80%", height:"70%"
});
- $j(".subsections ul").cycle({
+
+
+
+ $(".subsections ul").cycle({
fx:'fade',
continuous: 0,
//pager: '.nav',
- timeout:10000,
+ timeout:1000000,
+ containerResize: 0,
+ slideResize: 0,
sync:1,
prev: '.btn_prev',
next: '.btn_next',
@@ -89,21 +103,17 @@
});
*/
-
-
-
- $j('.full-box-content a, .box-content1 a, .box-content2 a, .box-content3 a').click(function() {
+
+ $('.full-box-content a, .box-content1 a, .box-content2 a, .box-content3 a').click(function() {
- $j('.subsections ul').cycle('pause');
+ $('.subsections ul').cycle('pause');
});
-
-
+
-
-
+
/*Image pause
$j('.fullbox img').click(function() {
@@ -111,8 +121,8 @@
});
*/
- $j('.btn_prev, .btn_next').click(function() {
- $j('.subsections ul').cycle('resume');
+ $('.btn_prev, .btn_next').click(function() {
+ $('.subsections ul').cycle('resume');
});
@@ -120,9 +130,9 @@
- $j("#header h1 a").click(function(){
+ $("#header h1 a").click(function(){
- $j("#header h1 a").animate({
+ $("#header h1 a").animate({
"background":"url(<?php bloginfo("template_url");?>/static/img/logo1.png) no-repeat 0 0",
"width":"205px",
"height":"292px",
@@ -133,18 +143,18 @@
- $j("#header .bones_club a").click(function(){
- $j("#header .bones_club a").css({
- "background-position": "-490px -152px!important",
+ $("#header .bones_club a").click(function(){
+ $("#header .bones_club a").css({
+ "background-position": "-490px -152px!important",
"width": "136px",
"height": "150px"
});
});
- $j("#header .menu a, #header .locations a, #header .deals a, #header .merch a, #header .bones_togo a, #header .jobs a, #header .company a, #header .bones_club a, #header .social a").click(function(){
+ $("#header .menu a, #header .locations a, #header .deals a, #header .merch a, #header .bones_togo a, #header .jobs a, #header .company a, #header .bones_club a, #header .social a").click(function(){
- $j("#header h1 a").animate({
+ $("#header h1 a").animate({
"background":"url(<?php bloginfo("template_url");?>/static/img/logo-active.png) no-repeat 0 0",
"width":"205px",
"height":"104px",
@@ -155,10 +165,12 @@
});
+
});
</script>
+
</head>
<body class="home">
View
39 home.php
@@ -144,11 +144,42 @@
+<?php
+ $page_details_horse= get_page_by_title('horses');
+ $pid_horse= $page_details_horse->ID;
+?>
-<div id="deals" class="section with_subs">
+<div id="deals" class="section with_subs" style="background:url(<?php echo wp_get_attachment_url(get_post_thumbnail_id($pid_horse)); ?> )no-repeat center center;">
+
+ <?php $query = new WP_Query( 'pagename=horses' );?>
- <div class="scrollable">
+
+ <div class="subsections">
+ <div id="one-perfect-burger" class="subsection">
+ <div class="section_inner">
+ <div class="content">
+
+ <?php while ( $query->have_posts() ) : $query->the_post(); ?>
+
+
+ <?php the_content();?>
+
+
+ <?php endwhile;?>
+ </div>
+ </div>
+ </div>
+ </div>
+<?php
+// Reset Post Data
+wp_reset_postdata();
+?>
+
+
+
+ <!--
+<div class="scrollable">
<div class="subsections">
<div id="one-perfect-burger" class="subsection">
@@ -181,6 +212,7 @@
<span class="btn_prev">Prev</span>
<span class="btn_next">Next</span>
<div class="center"><div class="navi"></div></div>
+-->
</div> <!-- /#deals -->
@@ -302,7 +334,6 @@
<?php }elseif($video_code){ ?>
<?php echo $video_code ;?>
-
<?php }else{ ?>
@@ -671,7 +702,7 @@ function loadScript() {
?>
-<div id="merch" class="section clearfix" style="background:url(<?php echo wp_get_attachment_url(get_post_thumbnail_id($pid_serv)); ?> )no-repeat 0 0;">
+<div id="merch" class="section clearfix" style="background:url(<?php echo wp_get_attachment_url(get_post_thumbnail_id($pid_serv)); ?> )no-repeat center center;">
<div id="bones_bucks_1">
<div id="bones_bucks_2">
<div id="dudes">
View
BIN  images/horse1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/horse2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/horse3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/horse4.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/horse5.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/horses-bg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
12 page-horses.php
@@ -0,0 +1,12 @@
+<?php
+get_header();
+?>
+
+<?php while ( have_posts() ) : the_post(); ?>
+
+ <?php the_content();?>
+
+
+<?php endwhile;?>
+
+<?//php get_footer();?>
View
8 page.php
@@ -2,5 +2,11 @@
get_header();
?>
+<?php while ( have_posts() ) : the_post(); ?>
-<?php get_footer();?>
+ <?php the_content();?>
+
+
+<?php endwhile;?>
+
+<?//php get_footer();?>
View
158 style.css
@@ -152,13 +152,13 @@ height: 88px!important;
#nav_main{width:513px!important; margin-left: 195px!important;}
-#nav_alt {float: left!important; width: 285px!important}
+#nav_alt {float: left!important; width: 285px!important;}
/*3 sections based layout*/
/*news page */
.box1{
- float: left;
+ float: left!important;
width:620px;
height: 750px;
margin: 0px;
@@ -177,14 +177,14 @@ height: 88px!important;
.box2{
- float: left;
+ float: left!important;
width: 645px;
height: 375px;
margin: 0px;
}
.box3{
- float: left;
+ float: left!important;
width:645px;
height: 375px;
margin: 0px;
@@ -294,7 +294,7 @@ height: 88px!important;
#subnav_menu, #subnav li{width:80px!important;}
-
+.subsection{width:1265px!important;}
@@ -407,7 +407,7 @@ height: 88px!important;
#locations{
- background: url(images/contact-bg.png) no-repeat 0 0;
+ background: url(images/contact-bg.png) no-repeat center center;
max-width: 100%;
height: 750px;
@@ -584,6 +584,152 @@ height: 88px!important;
.docs:hover{color: #000;}
+/*Horses page
+-----------------*/
+
+#deals .section_inner{
+
+ padding-top: 80px;
+
+}
+#gallery-1 .gallery-item{width:25%!important;}
+
+.gallery dl dt{
+ float: left;
+ /* padding: 10px 10px 25px 10px; */
+ background: none;
+ /* border: 1px solid #fff; */
+ -moz-box-shadow: 0px 2px 15px #333;
+ position: relative;
+}
+
+
+#gallery-2 img{border: none!important;}
+
+.gallery dl dt:hover{
+ z-index: 10;
+ -moz-box-shadow: 3px 5px 15px #333;
+ -moz-transform: rotate(10deg);
+ -webkit-transform: rotate(10deg);
+}
+
+
+
+.gallery dl:nth-child(1){
+
+ z-index: 1;
+ -webkit-transform: rotate(-10deg);
+ -moz-transform: rotate(-10deg);
+}
+
+
+
+.gallery dl:nth-child(2){
+
+ z-index: 5;
+ -webkit-transform: rotate(-3deg);
+ -moz-transform: rotate(-3deg);
+}
+
+.gallery dl:nth-child(3){
+
+ z-index: 3;
+ -webkit-transform: rotate(4deg);
+ -moz-transform: rotate(4deg);
+}
+
+
+.gallery dl:nth-child(4){
+
+ z-index: 4;
+ -webkit-transform: rotate(-6deg);
+ -moz-transform: rotate(-6deg);
+
+}
+
+.gallery dl:nth-child(5){
+
+ z-index: 4;
+ -webkit-transform: rotate(4deg);
+ -moz-transform: rotate(4deg);
+
+}
+
+.gallery dl:nth-child(6){
+
+ z-index: 2;
+ -webkit-transform: rotate(-12deg);
+ -moz-transform: rotate(-12deg);
+
+}
+.gallery dl:nth-child(7){
+
+ z-index: 4;
+ -webkit-transform: rotate(14deg);
+ -moz-transform: rotate(14deg);
+
+}
+.gallery dl:nth-child(8){
+
+ z-index: 6;
+ -webkit-transform: rotate(-14deg);
+ -moz-transform: rotate(-14deg);
+
+}
+.gallery dl:nth-child(9){
+
+ z-index: 4;
+ -webkit-transform: rotate(6deg);
+ -moz-transform: rotate(6deg);
+
+}
+.gallery dl:nth-child(10){
+
+ z-index: 4;
+ -webkit-transform: rotate(-4deg);
+ -moz-transform: rotate(-4deg);
+
+}
+.gallery dl:nth-child(11){
+
+ z-index: 4;
+ -webkit-transform: rotate(10deg);
+ -moz-transform: rotate(10deg);
+
+}
+.gallery dl:nth-child(12){
+
+ z-index: 4;
+ -webkit-transform: rotate(14deg);
+ -moz-transform: rotate(14deg);
+
+}
+.gallery dl:nth-child(13){
+
+ z-index: 4;
+ -webkit-transform: rotate(14deg);
+ -moz-transform: rotate(14deg);
+
+}
+.gallery dl:nth-child(14){
+
+ z-index: 4;
+ -webkit-transform: rotate(14deg);
+ -moz-transform: rotate(14deg);
+
+}
+.gallery dl:nth-child(15){
+
+ z-index: 4;
+ -webkit-transform: rotate(14deg);
+ -moz-transform: rotate(14deg);
+
+}
+
+
+
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.