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
# ----------------------------------------------------------------- | |
# .gitignore for WordPress | |
# Bare Minimum Git | |
# http://ironco.de/bare-minimum-git/ | |
# ver 20150227 | |
# | |
# This file is tailored for a WordPress project | |
# using the default directory structure | |
# | |
# This file specifies intentionally untracked files to ignore |
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
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
that detects and handles AJAXed content. | |
Usage example: | |
waitForKeyElements ( | |
"div.comments" | |
, commentCallbackFunction | |
); |
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
/** | |
* echo barley field with wrapper, use instead of the_field | |
* @author schurpf | |
* @url http://schurpf.com | |
* @version 0.1 | |
* @date 2014-10-09 | |
* @dependency barley, the_field_without_wpautop | |
* @param string $field_name your normal ACF field name | |
* @param boolean $noautop whether to omit wrapping p tags, needs the_field_without_wpautop | |
* @return none echos out content |
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 | |
/** | |
* Debugging WordPress things. | |
* | |
* All of this belongs in your wp-config.php file. | |
* | |
* This will make sure that the code you release is, at a minimum, | |
* relatively free of PHP notices and warnings. | |
* | |
* - WP_DEBUG: This turns on debugging mode. |