This file contains hidden or 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 | |
| /** | |
| * Run w/in same directory as CSV | |
| */ | |
| $file = fopen( dirname( __FILE__ ) . "/filename.csv", "r" ); | |
| while( !feof( $file )){ | |
| $line = fgetcsv( $file ); |
This file contains hidden or 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 | |
| /** | |
| * Get content by taxonomy | |
| * Sorts in reverse-cron | |
| * @param category {integer} the ID of the term we're pulling from | |
| * @param postType {string, array} the post type(s) we're drawing from | |
| * @param numberPosts {integer} the number of posts we'd like back | |
| */ |
This file contains hidden or 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
| { | |
| "neutral" : [ | |
| { | |
| "gray" : { | |
| "dark" : "#2F3634", | |
| "light" : "#868688" | |
| } | |
| } | |
| ], | |
| "data" : [ |
OlderNewer