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
//Libraries | |
#include <DHT.h>; //need for temp/hum sensor | |
//#include <Time.h> //need for timer | |
//#include <TimeLib.h> //need for timer | |
//#include <SPI.h>//not sure | |
#include <Wire.h>//not sure | |
#include "RTClib.h" //need for clock | |
#include <Adafruit_SSD1306.h> //need for display |
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 | |
//Remove CPT's | |
function dk_delete_post_type(){ | |
unregister_post_type( 'beers' ); | |
} | |
add_action('init','dk_delete_post_type'); | |
//Custom Permalinks and Rewrites | |
function wpa_show_permalinks( $post_link, $post ){ | |
if ( is_object( $post ) && $post->post_type == 'event' ){ |
NewerOlder