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 | |
add_action( 'add_meta_boxes', 'add_custom_box', 1); | |
function add_custom_box() | |
{ | |
add_meta_box( | |
'id_box', | |
"Title Box", | |
'inner_custom_box'), | |
'post', |
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 | |
/* | |
Plugin Name: | |
Plugin URI: http:// | |
Description: | |
Version: 1.0 | |
Author: | |
Author URI: | |
Network: 1 | |
*/ |
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($){ | |
$.fn.extend({ | |
brickSlider: function(options) { | |
this.defaultOptions = {}; | |
var settings = $.extend({}, this.defaultOptions, options); | |
return this.each(function() { | |
var $this = $(this); | |
}); |
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
/* | |
* MEDIA QUERIES | |
*/ | |
/* Smartphones (portrait and landscape) ----------- */ | |
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) { | |
/*Your Styles*/ | |
} | |
/* Smartphones (landscape) ----------- */ |
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
ul.menu-always-on-top li ul li a { | |
padding: 10px 0 0 0px; | |
text-align: center; | |
} |
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
Array | |
( | |
[configuration] => Array | |
( | |
[icon] => icon-cog | |
[pos] => 1 | |
[name] => Admin Shortcuts | |
[opts] => Array() | |
), | |
[basic_settings] => Array(...), |
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 | |
function section_persistent() | |
{ | |
add_filter('pl_sorted_settings_array', array(&$this, 'add_global_panel')); | |
} |
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 | |
function add_global_panel($settings){ | |
$settings['coolSettings'] = array( | |
'name' => 'Cool Settings', | |
'icon' => 'icon-cogs', | |
'opts' => array( | |
// Regular Options Engine | |
array( | |
'key' => 'custom_copyright', |
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 | |
$this->opt('custom_copyright') ); |
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 | |
unset($settings['importexport']); |
OlderNewer