This file contains hidden or 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
/** | |
* HTML Markup for featured image thumb. | |
* | |
* @since 3.6.4 | |
*/ | |
function highend_featured_image_thumb( $args = array() ) { | |
$args = wp_parse_args( | |
$args, | |
array( |
This file contains hidden or 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
function highend_featured_image_thumb( $args = array() ) { | |
$args = wp_parse_args( | |
$args, | |
array( | |
'post_id' => '', | |
'width' => false, | |
'height' => false, | |
'crop' => false, | |
'alt' => '', |
This file contains hidden or 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
/*****************************************/ | |
/* Sticky Header CSS | |
/*****************************************/ | |
.si-sticky-header #sinatra-header-inner { | |
position: fixed; | |
left: 0; | |
right: 0; | |
top: 0; | |
z-index: 999; |
This file contains hidden or 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
/*****************************************/ | |
/* Sticky Header JS | |
/*****************************************/ | |
( function() { | |
var sinatraStickyHeader = () => { | |
var header = document.getElementById('sinatra-header'); | |
var headerInner = document.getElementById('sinatra-header-inner'); | |
var wpadminbar = document.getElementById('wpadminbar'); | |
var stickyPosition = header.getBoundingClientRect().top; |
This file contains hidden or 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
<?php | |
if ( ! defined( 'ABSPATH' ) ) { die( 'Direct access forbidden.' ); } | |
if ( ! class_exists( 'WP_Upgrader' ) ) { | |
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; | |
} | |
if ( ! function_exists( 'request_filesystem_credentials' ) ) { | |
require_once ABSPATH . '/wp-admin/includes/file.php' ; | |
} |
This file contains hidden or 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
<?php | |
/** | |
* Metabox Class. | |
* | |
* @package Highend | |
* @since 3.5.0 | |
*/ | |
if ( ! class_exists( 'Highend_Metaboxes' ) ) : |