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
# Logs | |
logs | |
*.log | |
# Runtime data | |
pids | |
*.pid | |
*.seed | |
# Directory for instrumented libs generated by jscoverage/JSCover |
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
JavaScript learning resources. | |
Starting point for those, who have already learned JS, but forgotten. Good article. Quite compact. | |
https://developer.mozilla.org/en/JavaScript/A_re-introduction_to_JavaScript | |
Question: what's the best learning source on JS. Some answers. | |
http://stackoverflow.com/questions/11246/best-resources-to-learn-javascript | |
http://stackoverflow.com/questions/2687566/learning-javascript-in-one-weekend | |
http://net.tutsplus.com/tutorials/javascript-ajax/the-best-way-to-learn-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
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
* Source: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/query.php | |
*/ | |
$args = 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
add_action('wp_head', 'change_fp_ids'); | |
function change_fp_ids(){ | |
add_filter('fpc_featured_pages_ids', 'my_fp_ids', 20); | |
function my_fp_ids( $fp_ids ){ | |
$role_page = array( | |
// Role => Page/Post name | |
'administrator' => 'Blog', | |
'editor' => 'A', | |
); | |
// do nothing if in admin backend or in the customize |