This repository has been archived by the owner on May 6, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 838fae7
Showing
711 changed files
with
145,203 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
*.cache | ||
.ftppass | ||
*.sublime-project | ||
*.sublime-workspace | ||
*.DS_Store | ||
*.log | ||
*.zip | ||
*.map | ||
*.pot | ||
*.css | ||
*.min.css | ||
*.min.js | ||
_demo/ | ||
_dist/ | ||
node_modules | ||
changelog.txt | ||
inc/admin/gulp/sftp.json | ||
environment.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
/** | ||
* The template for displaying the 404 error page | ||
* This page is set automatically, not through the use of a template | ||
* | ||
* @package Harbor | ||
* @link https://themebeans.com/themes/harbor | ||
*/ | ||
|
||
get_header(); ?> | ||
|
||
<div class="entry-content"> | ||
|
||
<div class="error-logo"> | ||
<a href="<?php echo home_url(); ?>" title="<?php echo bloginfo( 'name' ); ?>" rel="home"> | ||
<?php if ( get_theme_mod( '404-img-upload' ) ) { ?> | ||
<img src="<?php echo get_theme_mod( '404-img-upload' ); ?>"/> | ||
<?php } else { ?> | ||
<img src=" | ||
<?php | ||
echo get_template_directory_uri(); | ||
echo '/assets/images/404.png'; | ||
?> | ||
"> | ||
<?php } ?> | ||
</a> | ||
</div><!-- END .error-logo --> | ||
|
||
<p> | ||
<?php _e( 'Sorry, this page does not exist', 'harbor' ); ?></br> | ||
<a href="<?php echo home_url(); ?>"><?php _e( 'Go back to the homepage', 'harbor' ); ?></a> | ||
</p> | ||
|
||
</div><!-- END .entry-content --> | ||
|
||
<?php | ||
get_footer(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
/** | ||
* The template for displaying the default portfolio archive view | ||
* | ||
* Used to display archive-type pages for portfolio posts. | ||
* If you'd like to further customize these taxonomy views, you may create a | ||
* new template file for each specific one. This file has taxonomy-portfolio_category.php | ||
* and taxonomy-portfolio_tag.php pointing to it. | ||
* | ||
* @package Harbor | ||
* @link https://themebeans.com/themes/harbor | ||
*/ | ||
|
||
get_header(); | ||
|
||
get_template_part( 'content', 'portfolio' ); | ||
|
||
get_footer(); |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
/** | ||
* This file adds some LIVE to the Theme Customizer live preview. To leverage | ||
* this, set your custom settings to 'postMessage' and then add your handling | ||
* here. This javascript will grab settings from customizer controls, and | ||
* then make any necessary changes to the page using jQuery. | ||
*/ | ||
|
||
( function( $ ) { | ||
|
||
//LIVE HTML | ||
wp.customize( 'blogname', function( value ) { | ||
value.bind( function( newval ) { | ||
$( '.logo_text' ).html( newval ); | ||
} ); | ||
} ); | ||
|
||
wp.customize( 'custom_logo_max_width', function( value ) { | ||
value.bind( function( newval ) { | ||
var style, el; | ||
style = '<style class="custom_logo_max_width">@media screen and (min-width: 769px) { body.logged-in .custom-logo-link img.custom-logo { width:' + newval + 'px; } }</style>'; | ||
|
||
el = $( '.custom_logo_max_width' ); | ||
|
||
if ( el.length ) { | ||
el.replaceWith( style ); // style element already exists, so replace it | ||
} else { | ||
$( 'head' ).append( style ); // style element doesn't exist so add it | ||
} | ||
} ); | ||
} ); | ||
|
||
wp.customize( 'custom_logo_mobile_max_width', function( value ) { | ||
value.bind( function( newval ) { | ||
var style, el; | ||
style = '<style class="custom_logo_mobile_max_width">@media screen and (max-width: 768px) { body.logged-in .custom-logo-link img.custom-logo { width:' + newval + 'px; } }</style>'; | ||
|
||
el = $( '.custom_logo_mobile_max_width' ); | ||
|
||
if ( el.length ) { | ||
el.replaceWith( style ); // style element already exists, so replace it | ||
} else { | ||
$( 'head' ).append( style ); // style element doesn't exist so add it | ||
} | ||
} ); | ||
} ); | ||
|
||
wp.customize( 'portfolio_cta_btn_text', function( value ) { | ||
value.bind( function( newval ) { | ||
$( '.call-to-action .clickme' ).html( newval ); | ||
} ); | ||
} ); | ||
|
||
wp.customize( 'testimonials_title', function( value ) { | ||
value.bind( function( newval ) { | ||
$( '.testimonials h3' ).html( newval ); | ||
} ); | ||
} ); | ||
|
||
wp.customize( 'portfolio_cta_text', function( value ) { | ||
value.bind( function( newval ) { | ||
$( '.call-to-action h3' ).html( newval ); | ||
} ); | ||
} ); | ||
|
||
wp.customize( 'contact_button_text', function( value ) { | ||
value.bind( function( newval ) { | ||
$( '.bean-contactform li.submit .button' ).html( newval ); | ||
} ); | ||
} ); | ||
|
||
|
||
wp.customize( 'footer_copyright', function( value ) { | ||
value.bind( function( newval ) { | ||
$( '.copyright' ).html( newval ); | ||
} ); | ||
} ); | ||
|
||
|
||
//LIVE CSS | ||
wp.customize( 'thumb_bg_color', function( value ) { | ||
value.bind( function( newval ) { | ||
$('.grid-item .post-thumb').css('background-color', newval ); | ||
} ); | ||
} ); | ||
|
||
} )( jQuery ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
jQuery( document ).ready( function($) { | ||
|
||
|
||
//COLORPICKER | ||
$('.colorpicker').each(function(){ | ||
$(this).wpColorPicker(); | ||
}); | ||
|
||
|
||
//POST FORMAT METABOX SWITCH | ||
var $linkSettings = $('#bean-meta-box-link').hide(), | ||
$videoSettings = $('#bean-meta-box-video').hide(), | ||
$audioSettings = $('#bean-meta-box-audio').hide(), | ||
$gallerySettings = $('#bean-meta-box-gallery').hide(), | ||
$quoteSettings = $('#bean-meta-box-quote').hide(), | ||
$postFormat = $('#post-formats-select input[name="post_format"]'); | ||
$postFormat.each(function() { | ||
var $this = $(this); | ||
if( $this.is(':checked') ) | ||
changePostFormat( $this.val() ); | ||
}); | ||
|
||
$postFormat.change(function() { | ||
changePostFormat( $(this).val() ); | ||
}); | ||
|
||
function changePostFormat( val ) { | ||
$linkSettings.hide(); | ||
$videoSettings.hide(); | ||
$audioSettings.hide(); | ||
$gallerySettings.hide(); | ||
$quoteSettings.hide(); | ||
|
||
if( val === 'link' ) { | ||
$linkSettings.show(); | ||
} else if( val === 'video' ) { | ||
$videoSettings.show(); | ||
} else if( val === 'audio' ) { | ||
$audioSettings.show(); | ||
} else if( val === 'image' ) { | ||
$gallerySettings.show(); | ||
} else if( val === 'gallery' ) { | ||
$gallerySettings.show(); | ||
} else if( val === 'quote' ) { | ||
$quoteSettings.show(); | ||
} | ||
} | ||
|
||
|
||
//PORTFOLIO FORMAT METABOX CHECKBOXES | ||
var displayGallery = $('#_bean_portfolio_type_gallery'), | ||
displayVideo = $('#_bean_portfolio_type_video'), | ||
displayAudio = $('#_bean_portfolio_type_audio'), | ||
|
||
portfolioGalleryType = $('#bean-meta-box-portfolio-images'), | ||
portfolioVideoType = $('#bean-meta-box-portfolio-video'), | ||
portfolioAudioType = $('#bean-meta-box-portfolio-audio'); | ||
|
||
|
||
portfolioGalleryType.css('display', 'none'); | ||
portfolioVideoType.css('display', 'none'); | ||
portfolioAudioType.css('display', 'none'); | ||
|
||
if( displayGallery.is(':checked') ) portfolioGalleryType.css('display', 'block'); | ||
if( displayVideo.is(':checked') ) portfolioVideoType.css('display', 'block'); | ||
if( displayAudio.is(':checked') ) portfolioAudioType.css('display', 'block'); | ||
|
||
displayGallery.click(function(e) { | ||
if( $(this).is(':checked') ) portfolioGalleryType.css('display', 'block'); | ||
else portfolioGalleryType.css('display', 'none'); | ||
}); | ||
|
||
displayVideo.click(function(e) { | ||
if( $(this).is(':checked') ) portfolioVideoType.css('display', 'block'); | ||
else portfolioVideoType.css('display', 'none'); | ||
}); | ||
|
||
displayAudio.click(function(e) { | ||
if( $(this).is(':checked') ) portfolioAudioType.css('display', 'block'); | ||
else portfolioAudioType.css('display', 'none'); | ||
}); | ||
|
||
|
||
//FULLSCREEN SLIDESHOW SETTING | ||
var portfolioTypeTrigger = jQuery('#_bean_portfolio_layout'), | ||
$portfolioSlideshow = $('#bean-meta-box-portfolio-slideshow').hide(), | ||
currentType = portfolioTypeTrigger.val(); | ||
|
||
changePortfolioFormat(currentType); | ||
|
||
portfolioTypeTrigger.change( function() { | ||
currentType = jQuery(this).val(); | ||
changePortfolioFormat(currentType); | ||
}); | ||
|
||
$postFormat.change(function() { | ||
changePortfolioFormat( $(this).val() ); | ||
}); | ||
|
||
function changePortfolioFormat( val ) { | ||
$portfolioSlideshow.hide(); | ||
|
||
if( val === 'fullscreen' ) { | ||
$portfolioSlideshow.show(); | ||
} | ||
} | ||
}); |
Oops, something went wrong.