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
/* Add line breaks in KASIMIR-THeme Login-Widget*/ | |
.widget_cb_user_widget a { | |
display: block; | |
} |
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
{{ADDRESS_1}}<br> | |
{{ADDRESS_2}}<br> | |
{{ADDRESS_3}}<br> | |
{{ZIP}} {{CITY}}<br> | |
{{COUNTRY}} |
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 | |
echo wp_script_is('jquery', 'queue') | |
? '<br>' . '[jquery] Script is enqueued' . '<br>' | |
: '<br>' . '[jquery] Script not enqueued' . '<br>'; | |
?> |
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
// Wordpress Footnotes iOS Fix | |
// Prevents iOS from rendering ↩ (curved back arrow) as emoji | |
// Background: http://mts.io/2015/04/21/unicode-symbol-render-text-emoji/ | |
// | |
.footnotes { | |
a[href^="#"] { | |
// Hide original glyph | |
visibility: hidden; | |
position: relative; |
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
// Foldingtext-Theme | |
@light-gray: RGB(246, 247, 246); | |
@dark-gray: RGB(51, 51, 52); | |
@yellow: RGB(243, 156, 56); | |
@blue: RGB(68, 150, 236); | |
@fontFamily: "-apple-system"; // Use San francisco | |
@textColor: @dark-gray; |
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 | |
/** | |
* Adds category_children_widget widget. | |
*/ | |
class category_children_widget extends WP_Widget { | |
/** | |
* Register widget with WordPress. | |
*/ |
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
# csv: extract rows and save as new csv | |
import csv | |
in_f = open('test.csv') | |
out_f = open('out.csv', 'wb') | |
reader = csv.DictReader(in_f) | |
# Define column names |
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 | |
sendMessage( „Hallo Jasper", $diekamp ) { | |
while ( $diekamp->status == „unavailable“) { | |
$egermann->wait( 1 day ); | |
$egermann->daeumchendreh(); | |
} | |
} | |
?> |
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
// Prevent Wordpress from adding emoji and smiley js and css | |
remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); | |
remove_action( 'wp_print_styles', 'print_emoji_styles' ); |