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
// watch browser width on resize | |
var browser_width = 0; | |
window.watchResize(function(){ | |
browser_width = window.innerWidth || document.body.offsetWidth; | |
}); | |
// do stuff after breakpoint | |
window.watchResize(function(){ | |
var threshold = 400; | |
if ( browser_width >= threshold ) { |
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: wpSEO Icon Fix | |
* Description: Admin icon hack for wpSEO. | |
* Version: 2018.08 | |
* Author: Simon Kraft, Caspar Hübinger, Torsten Landsiedel | |
* License: GNU General Public License v3 | |
* License URI: http://www.gnu.org/licenses/gpl-3.0.html | |
*/ |
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
# Don’t show errors which contain full path diclosure (FPD) | |
# Use that line only if PHP is installed as a module and not per CGI | |
# try using a php.ini in that case. | |
# CHANGE mod_php5.c TO mod_php7.c IF YOU RUN PHP7. | |
<IfModule mod_php5.c> | |
php_flag display_errors Off | |
</IfModule> | |
# Protect XMLRPC (needed for apps, offline blogging tools, pingback, etc.) | |
# If you use that, these tools will not work anymore |