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
#include <PubSubClient.h> | |
#include <ESP8266WiFi.h> | |
#define MQTT_SERVER "192.168.1.2" // change the mqttbroker address | |
const char* ssid = "xxxxx"; // your wi-fi name | |
const char* password = "xxxxx"; // your wi-fi password | |
const int pin = 0; // in basic esp-01 you can control pin-0 and pin-2 | |
char* clientname = "newesp"; // the mqtt client adress must be unique more than one esp usage | |
char* sublight = "/test/light"; // the mqtt sub adress | |
char* publight = "/test/light/confirm"; // the mqtt pub adress |
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 | |
add_filter( 'get_comment_date', function ( $d ) { | |
$d = date_i18n(get_option( 'date_format' )); | |
return $d; | |
} ); | |
add_filter( 'get_comment_time', function ( $h ) { | |
$h = date_i18n(get_option( 'time_format' )); | |
return $h; | |
} ); |
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 | |
add_filter( 'register_taxonomy_args', function ( $args, $taxonomy ) { | |
if ( 'blc-aff-categories' === $taxonomy ) { | |
$args['rewrite']['slug'] = 'affiliate-category'; | |
} | |
return $args; | |
}, 10, 2 ); |
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
[data-prefix="blog"] [data-cards="simple"] .entry-card {position:relative;min-height:700px;} | |
[data-prefix="blog"] [data-cards="simple"] .entry-excerpt {background:#fff;padding:80px 30px; margin:0 10px; border-radius:15px;position:absolute;bottom:0;border:1px solid #eee;min-height:430px;} | |
[data-prefix="blog"] [data-cards="simple"] .entry-title {position:absolute;top:300px;z-index:1;padding:0 40px;} | |
[data-prefix="blog"] [data-cards="simple"] .ct-button {position:absolute;bottom:30px;margin:0 40px;} |
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
[data-prefix="blog"] [data-cards="boxed"] .entry-card {position:relative;} | |
[data-prefix="blog"] [data-cards="boxed"] .entry-meta li.meta-date{position:absolute;top:0;right:-10px; background:var(--paletteColor1);color:var(--paletteColor5);padding:1em;} | |
[data-prefix="blog"] [data-cards="boxed"] .entry-meta li.meta-author{position:absolute;top:250px;color:var(--paletteColor5);padding:1em;} | |
[data-prefix="blog"] [data-cards="boxed"] .ct-button {border-radius:50px;} |
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_filter( 'login_url', function () { return home_url( '/my-account'); } ); |
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
[data-prefix="projeler_archive"] [data-cards="simple"] .entry-card {position:relative; padding:0; overflow:hidden; border-radius:20px;} | |
[data-prefix="projeler_archive"] [data-cards="simple"] .entry-card .ct-image-container{margin:0;} | |
[data-prefix="projeler_archive"] [data-cards="simple"] .entry-excerpt {position:absolute; width:100%; height:100%; padding:60px 30px; top:0; left:100%; transition:.5s; color:var(--paletteColor5); background:var(--paletteColor3);} | |
[data-prefix="projeler_archive"] [data-cards="simple"] .entry-card:hover .entry-excerpt {top:0; left:0%;} | |
[data-prefix="projeler_archive"] [data-cards="simple"] .entry-title {position:absolute; bottom:0; padding:30px; margin:0; width:100%; background:linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);color:var(--paletteColor5);z-index:1;} |
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
[data-prefix="blog"] [data-cards="boxed"] .entry-card {position:relative;} | |
[data-prefix="blog"] [data-cards="boxed"] .entry-meta {margin-bottom:0;} | |
[data-prefix="blog"] [data-cards="boxed"] .entry-meta li.meta-categories {position:absolute; right:10px; margin-top:-40px;} | |
[data-prefix="blog"] [data-cards="boxed"] .entry-meta li.meta-categories a {background:var(--paletteColor1); color:var(--paletteColor8); font-size:11px; padding:.5em 1em; border-radius:5px;} | |
[data-prefix="blog"] [data-cards="boxed"] .entry-meta li.meta-categories a:hover {background:var(--paletteColor2);} |
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
.ct-mailchimp-block form section { position: relative; } | |
.ct-mailchimp-block form input { width: 550px; height: 55px; padding: 0 150px 0 35px; border:2px solid var(--paletteColor5); border-radius: 4px; } | |
.ct-mailchimp-block form button { position: absolute; padding: 0 15px; width: 135px; top: 8px; right: 8px; border-radius: 4px; } |
OlderNewer