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
<span style="padding-right:5px;"><input type="email" name="EMAIL" placeholder="Your Email Address" required /></span> | |
<input type="submit" value="Notify Me!" /> |
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
jQuery(document).ready(function($) { | |
setTimeout(function(){ | |
$(window).trigger('resize'); | |
}, 500); | |
function dtResize() { | |
var elements = []; | |
elements['accord']= jQuery(".wpb_accordion_header"), | |
elements['ult_tab'] = $(".ult_tabs > ul >li"), | |
elements['theme_tab'] = $(".wpb_tour_tabs_wrapper > ul >li"), | |
elements['togg'] = $(".wpb_toggle"); |
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
add_filter( 'presscore_localized_script', function( $data ) { | |
$ossdl_off_cdn_url = get_option( 'ossdl_off_cdn_url' ); | |
$ossdl_off_blog_url = get_option( 'ossdl_off_blog_url' ); | |
$theme_settings = $data['themeSettings']; | |
$theme_settings['floatingHeader']['logo']['html'] = str_replace( $ossdl_off_blog_url, $ossdl_off_cdn_url, $theme_settings['floatingHeader']['logo']['html'] ); | |
$theme_settings['floatingHeader']['logo']['url'] = str_replace( $ossdl_off_blog_url, $ossdl_off_cdn_url, $theme_settings['floatingHeader']['logo']['url'] ); | |
$theme_settings['stickyMobileHeaderFirstSwitch']['logo']['html'] = str_replace( $ossdl_off_blog_url, $ossdl_off_cdn_url, $theme_settings['stickyMobileHeaderFirstSwitch']['logo']['html'] ); | |
$theme_settings['stickyMobileHeaderSecondSwitch']['logo']['html'] = str_replace( $ossdl_off_blog_url, $ossdl_off_cdn_url, $theme_settings['stickyMobileHeaderSecondSwitch']['logo']['html'] ); |
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
<span style="padding-right:5px;"><input type="email" name="EMAIL" placeholder="Your Email Address" required /></span> | |
<input type="submit" value="Notify Me!" /> |
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 disable_comment_url($fields) { | |
$fields['url'] = '</div>'; | |
return $fields; | |
} | |
add_filter('comment_form_default_fields','disable_comment_url'); |
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 presscore_theme_color_meta() { | |
$color = '#fff'; | |
printf( '<meta name="theme-color" content="%s"/>', $color ); | |
} |
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 my_dt_portfolio_thumbnail_args($thumb_args) { | |
$thumb_args['wrap'] = '<a %HREF% %CLASS% %TITLE% %CUSTOM%><img %IMG_CLASS% %SRC% %ALT% %SIZE% /></a>'; | |
return $thumb_args; | |
} | |
add_filter( 'dt_portfolio_thumbnail_args', 'my_dt_portfolio_thumbnail_args', 10, 1); |
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
<script> | |
function fixWooIsotope() { | |
if (dtGlobals.isPhone) { | |
jQuery(window).trigger("scroll"); | |
return; | |
} | |
var $container = jQuery('.iso-container'); | |
var $dataAttrContainer = $container, | |
i = 0, |
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
add_action( 'admin_menu', 'my_menu_filter', 9999 ); | |
function my_menu_filter() { | |
$replace_text = "My text"; | |
foreach ( $menu AS $k => &$v ) { | |
$result = array_search( 'the7-dashboard', $v ); | |
if ( $result ) { | |
$v[0] = str_replace( "The7", $replace_text, $v[0] ); | |
} | |
} |
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
[vc_row type="vc_default" full_width="stretch_row_content"][vc_column][dt_portfolio orderby="rand" show_filter="true" loading_effect="fade_in" same_width="true" padding="5" descriptions="bg_with_lines" hover_bg_color="dark" show_title="true" show_link="true" show_zoom="true" show_details="true" show_categories="true" responsiveness="browser_width_based" columns_on_desk="5" columns_on_mobile="1" category="consulting,product-design,corporate-identity,research,digital,web-mobile,media"][/vc_column][/vc_row] |