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
qis__rates["qis_1"] = { | |
"formheader": false, | |
"buttons": "true", | |
"currency": "kr", | |
"iso": "USD", | |
"ba": "after", | |
"separator": "none", | |
"primary": false, | |
"secondary": false, | |
"interesttype": "amortisation", |
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
h2, .entry-content h2, .entry-content h2 a { | |
font-size: 42px; | |
font-size: 2.8rem; | |
} |
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
[wpbb-if post:acf type='text' name='auto-make' exp='equals' value='Porsche'] | |
This text displays when the value test is true. | |
[wpbb-else] | |
This text displays when the value test is false. | |
[/wpbb-if] |
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
add_action ( 'wp_footer', function(){ | |
if ( is_super_admin() ) return; | |
?> | |
<script id="restrict-bb-tools-menu"> | |
jQuery(document).ready(function($){ | |
$('.fl-builder-bar-title').css('cursor', 'inherit'); | |
$('.fl-builder-bar-title-caret').hide(); | |
$('body').off('click', '.fl-builder-bar-title') | |
}); | |
</script> |
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
add_filter( 'plugin_locale', function( $locale, $domain ) { | |
if ( 'fl-builder' == $domain || 'fl-builder' == $domain ) { | |
return 'fr_FR'; | |
} | |
return $locale; | |
}, 10, 2 ); |
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
<?php // Don't copy this line, copy from line 3 onwards | |
add_filter( 'fl_builder_main_menu', function( $views ) { | |
unset( $views['main']['items'][10] ); //Save Layout | |
unset( $views['main']['items'][20] ); //Duplicate Layout | |
unset( $views['main']['items'][30] ); //Preview Layout | |
unset( $views['main']['items'][35] ); //Revisions | |
unset( $views['main']['items'][40] ); //Separator Line | |
unset( $views['main']['items'][50] ); //Layout CSS & Javascript |
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($){ | |
$(function(){ | |
var navBar = $('.navbar-nav'), | |
navLinks = navBar.find( 'a[href*="#"]:not([href="#"])' ); | |
config = FLBuilderLayoutConfig.anchorLinkAnimations; | |
if ( navLinks.length > 0 ) { | |
navLinks.each(function(){ | |
var link = $( this ); | |
link.on( 'click', function(){ |
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
a:focus { | |
outline: none !important; | |
} |
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 diablo_color_presets( $colors ) { | |
$colors = array(); // reset the array | |
// Red | |
$colors[] = 'f22740'; | |
$colors[] = 'e31b23'; | |
$colors[] = 'bf1724'; | |
// Light Blue | |
$colors[] = 'a3c9d3'; | |
$colors[] = '9bb6c2'; | |
$colors[] = '7699a5'; |
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
add_filter( 'fl_builder_render_css', function( $css, $nodes, $global_settings, $include_global ) { | |
$site_url = 'http://bb-plugin'; | |
$cdn_url = 'http://some-cdn'; | |
$css = str_replace( $site_url, $cdn_url, $css ); | |
return $css; | |
}, 10, 4 ); |
NewerOlder