Skip to content

Instantly share code, notes, and snippets.

@absowoot
absowoot / SassMeister-input-HTML.html
Created September 7, 2014 22:14
Generated by SassMeister.com.
<header>
<div class="wrapper">
<div id="logo"><a href="#"><h1>Test</h1></a></div>
<div id="menu"><ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
<li><a href="#">Link 4</a></li>
<li><a href="#">Link 5</a></li>
</ul></div>
@absowoot
absowoot / extend-column-settings.php
Last active July 8, 2016 14:31
BB extend column
<?php
function zestsms_load_custom_bb_extensions() {
if(class_exists('FLBuilder')) {
add_filter('fl_builder_register_settings_form', 'zestsms_extend_column_settings', 10, 2);
add_filter('fl_builder_render_css', 'zestsms_add_column_css', 10, 3);
}
}
add_action( 'after_setup_theme', 'zestsms_load_custom_bb_extensions' );
<?php
add_filter('builder/settings/page/controls_data', function ($data) {
$data['controlGroups']['landing-page-options'] = array(
'title' => 'Landing Page Options',
);
$data['controls']['testField'] = array(
'group' => 'landing-page-options',
'type' => 'text',