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
function hide_download_buttons_on_embeds_render_block( $block_content, $block ) { | |
if ( 'core/audio' === $block['blockName'] ) { | |
$block_content = str_replace( | |
'<audio ', | |
'<audio controlsList="nodownload" ', | |
$block_content | |
); | |
} | |
if ( 'core/video' === $block['blockName'] ) { | |
$block_content = str_replace( |
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
li.lang-switch a::before { | |
--color: #8ba4c0; | |
--content: ''; | |
content: var(--content); | |
font-weight:bold; | |
cursor: default; | |
font-weight: var(--font-weight-heavy); | |
border-right: 1px solid #ededed; | |
padding-right: 6px; |
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 | |
// Feel free to save your $list_id and $api_key where you want. | |
/** | |
* Send Contact Form 7 to Newsletter | |
* | |
* @param $form object WPCF7_ContactForm | |
* @param $abort boolean | |
* @param $submission object WPCF7_Submission |
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
/** | |
* iPad MEDIA QUERY´s | |
*/ | |
// iPad Media Queries (All generations - including iPad mini) | |
@mixin ipad { | |
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) { | |
@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
#cloud-config | |
# Upgrade the instance on first boot | |
# (ie run apt-get upgrade) | |
# | |
# Default: false | |
# Aliases: apt_upgrade | |
package_upgrade: true | |
# Install additional packages on first boot |
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
jQuery("zu klickendes element").click(function() { | |
var welches = jQuery(this).next("content zum ein/ausblenden"); | |
if (jQuery(welches).is(":hidden")) { | |
jQuery(welches).stop().slideDown("slow"); | |
jQuery(this).addClass("active"); | |
} else { | |
jQuery(welches).stop().slideUp("slow"); | |
jQuery(this).removeClass("active"); | |
}; | |
}); |