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
{{> _str1-head }} | |
<body class="relative z-10 antialiased font-base text-gray-500 text-sm font-medium lg:text-base h-full bg-white dark:bg-gray-900 overflow-x-hidden dark:text-gray"> | |
<div id="site-wrapper" class="flex flex-col h-full js-site-wrapper"> | |
{{> _str1-header }} | |
{{> _str1-header-mobile-menu }} |
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
{{> _yt1-head }} | |
<body class="antialiased tracking-tight font-base text-gray-500 text-base h-full bg-white dark:bg-gray-900 overflow-x-hidden"> | |
<div id="site-wrapper" class="flex flex-col h-full js-site-wrapper"> | |
{{#unless header-layout}} | |
{{> _yt1-header-1 }} | |
{{/unless}} |
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
<div class="row"> | |
<div class="col-md-6"> | |
<div class="form-group"> | |
[text* your-name id:your-name class:form-control placeholder "Your Name"] | |
</div> | |
</div> | |
<div class="col-md-6"> | |
<div class="form-group"> | |
[email* your-email id:your-email class:form-control placeholder "Your Email"] | |
</div> |
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
if ( ! function_exists( 'add_custom_field_to_team_options' ) ) { | |
function add_custom_field_to_team_options( $options = array() ) { | |
$options[] = array( | |
'title' => 'Testify', | |
'desc' => 'Custom Option goes here', | |
'id' => 'sportspress_team_test', | |
'default' => 'no', | |
'type' => 'checkbox', | |
); |
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
// Styling Options | |
Redux::setSection( $opt_name, array( | |
'title' => esc_html__( 'Styling', 'alchemists' ), | |
'icon' => 'el-icon-tint', | |
'id' => 'alchemists__section-styling', | |
'fields' => array( | |
array( | |
'id' => 'alchemists__color-preset', | |
'type' => 'image_select', | |
'compiler' => false, |
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
<!-- Logo - Text Based --> | |
<div class="header-logo header-logo--txt"> | |
<a href="index.html" class="header-logo__inner"> | |
<h1 class="header-logo__heading">{{{global.logo-txt}}}</h1> | |
<span class="header-logo__tagline">{{global.tagline}}</span> | |
</a> | |
</div> | |
<!-- Logo - Text Based / End --> |
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
/** | |
* Escapium - Instagram Feed deprecation | |
**/ | |
function df_admin_notice_esc_instagram_feed() { | |
global $current_user; | |
$user_id = $current_user->ID; | |
$plugin_url = 'https://wordpress.org/plugins/instagram-feed/'; | |
if ( ! get_user_meta( $user_id, 'df_admin_notice_user_meta')) { |
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
function alc_event_blocks_add_ticket( $event ) { | |
echo '<div class="widget-game-result__tickets">'; | |
if ( 'future' == $event->post_status ) { | |
echo '<a href="#" class="btn btn-default btn-xs">' . esc_html__( 'Buy Ticket', 'sportspress' ) . '</a>'; | |
} | |
echo '</div>'; | |
} | |
add_action( 'sportspress_event_blocks_row', 'alc_event_blocks_add_ticket' ); |
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
/** | |
* @package Template | |
* @version 1.0.0. | |
* Template Scripts | |
* Created by Dan Fisher | |
*/ | |
;(function ($){ | |
'use strict'; |
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
// Creates sprites from SVG files. | |
gulp.task('sprites', function() { | |
return gulp | |
.src(PATHS.src_img + '/sprites/**/*.svg') | |
.pipe(svgSprites({ | |
cssFile: 'assets/scss/components/_sprites.scss', | |
common: 'icon-svg', | |
padding: 0, | |
baseSize: 10, | |
templates: { |
NewerOlder