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($('#iph_check').next().attr('checked')){ | |
$('#iph_check').iphoneSwitch("on", | |
function() { | |
if($('#iph_check').next().attr('checked')){ | |
//then checked attribute exist so modify it! | |
$('#iph_check').next().prop('checked', !$checkbox[0].checked); | |
}else{ | |
$('#iph_check').next().attr('checked', true); |
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
/************************************************ | |
* jQuery iphoneSwitch plugin * | |
* * | |
* Author: Daniel LaBare * | |
* Date: 2/4/2008 * | |
************************************************/ | |
jQuery.fn.iphoneSwitch = function(start_state, switched_on_callback, switched_off_callback, options) { | |
var state = start_state == 'on' ? start_state : 'off'; |
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
/** | |
* SMOF js | |
* | |
* contains the core functionalities to be used | |
* inside SMOF | |
*/ | |
jQuery.noConflict(); | |
/** Fire up jQuery - let's dance! |
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
/** | |
* Create Options page | |
* | |
* @uses add_action() | |
* @uses wp_enqueue_script() | |
* | |
* @since 1.0.0 | |
*/ | |
function of_load_only() |
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 | |
/*----------------------- Remowe admin bar --------------------------*/ | |
show_admin_bar( false ); | |
/*----------------------- Include shortcodes --------------------------*/ | |
add_filter('the_content', 'do_shortcode'); |
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() { | |
$('.accordion').collapse() | |
}); |
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="accordion" id="accordion2"> | |
<div class="accordion-group"> | |
<div class="accordion-heading"> | |
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne"> | |
Collapsible Group Item #1 | |
</a> | |
</div> | |
<div id="collapseOne" class="accordion-body in collapse" style="height: auto; "> | |
<div class="accordion-inner"> | |
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you |
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
/* ============================================================= | |
* bootstrap-collapse.js v2.0.3 | |
* http://twitter.github.com/bootstrap/javascript.html#collapse | |
* ============================================================= | |
* Copyright 2012 Twitter, Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* |
NewerOlder