- Autocomplete
- Autocomplete Plus
- Zen
- Color Picker
- Linter
- Linter Php
- Linter csslint
- Linter Jshint
- Linter Jsonlint
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
categories: { | |
"Technology", | |
"Finance", | |
"Justice", | |
"Culture", | |
"Art", | |
"Education", | |
"Science", | |
"Nature", | |
"Live", |
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
<!-- Begin --> | |
<?php | |
$menu_name = 'primary'; | |
$locations = get_nav_menu_locations(); | |
$menu = wp_get_nav_menu_object($locations[$menu_name]); | |
$menuitems = wp_get_nav_menu_items($menu->term_id, array('order' => 'DESC')); | |
?> | |
<?php | |
$count = 0; |
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 explodeTree($array, $delimiter = "_", $baseval = false) { | |
if(!is_array($array)) return false; | |
$splitRE = "/" . preg_quote($delimiter, "/") . "/"; | |
$returnArr = array(); | |
foreach ($array as $key => $val) { | |
// Get parent parts and the current leaf | |
$parts = preg_split($splitRE, $key, -1, PREG_SPLIT_NO_EMPTY); | |
$leafPart = array_pop($parts); |
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
$.get("http://www.earthtools.org/height/" + LATITUDE + "/" + LONGITUDE, function(heightdata) { | |
var xml = heightdata, | |
xmlDoc = $.parseXML(xml), | |
$xml = $(xmlDoc), | |
$height_mt = $xml.find("meters"), | |
$height_ft = $xml.find("feet"); | |
console.log("Metri: " + $height_mt.text(), "Piedi: " + $height_ft.text()); | |
}); |
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
{ | |
"status": { | |
"state": "ok" | |
}, | |
"paging": { | |
"affected": 9, | |
"actual": 9, | |
"skipped": 0, | |
"limit": 50 | |
}, |
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
{ | |
paging: { | |
step: 50, | |
total: 3, | |
}, | |
table: { | |
params: { | |
description_tooltip: "true", | |
filter_addon: "false", | |
paging_buttons: { |
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
// See http://localhost/API/?definitions=api&keep_update=true | |
// to get the last updated version from Milko's commit | |
var kAPI_REQUEST_OPERATION = "op"; | |
var kAPI_REQUEST_LANGUAGE = "lang"; | |
var kAPI_REQUEST_PARAMETERS = "param"; | |
var kAPI_RESPONSE_STATUS = "status"; | |
var kAPI_RESPONSE_PAGING = "paging"; | |
var kAPI_RESPONSE_REQUEST = "request"; | |
var kAPI_RESPONSE_RESULTS = "results"; |
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 | |
/*======================================================================================= | |
* FORMATTED RESPONSE PARAMETERS * | |
*======================================================================================*/ | |
/** | |
* Property type (string). | |
* | |
* This tag indicates the type of the formatted property, it indicates how the | |
* {@link kAPI_PARAM_RESPONSE_FRMT_DISP} is structured and whether to expect additional |