Skip to content

Instantly share code, notes, and snippets.

View fschmittlein's full-sized avatar

Frank Schmittlein fschmittlein

View GitHub Profile
@manuelhudec
manuelhudec / blocksy-theme-jquery-filter-subcategories.php
Last active February 24, 2022 12:51
Blocksy Blog or CPT live jQuery filter (show only subcategories)
<script>
jQuery(document).ready(function($) {
$('.ct-filter').on( 'click', function(event){
var $type = $(this).data("filter");
if($type == "all"){
$('.entry-card').fadeOut(0);
$('.entry-card').fadeIn(500);
} else {
$('.entry-card').hide();
// For CPTs just change the category class to your CPTs slug for example: '.projects-'
@MailPoet-Staff
MailPoet-Staff / sign-up-confirmation
Last active February 27, 2022 15:50
MailPoet signup confirmation email
<!doctype html><html><head><meta charset="UTF-8"><title>Thanks for signing up</title></head><body bgcolor="#ffede3">
<table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#ffede3"><tr><td>
<table width="600" align="center" cellpadding="0" cellspacing="0" border="0" bgcolor="#ffffff"><tr><td colspan="3"><a href="http://www.mailpoet.com"><img style="display:block;border:0;outline:none;-ms-interpolation-mode:bicubic;" src="https://www.mailpoet.com/wp-content/uploads/2019/01/mailpoet-logo-orange-header.png" width="600" height="118" alt="MailPoet" /></a></td></tr><tr><td width="20"></td>
<td style="color:#071c6d;font-family:arial,sans-serif;font-size:15px;">
<b>Hello!</b>
Thanks for signing up.
@glueckpress
glueckpress / block-map.php
Last active September 17, 2019 15:29
[WordPress][Block Lab] Static Google Map block
<?php
/**
* Block: Map
* Description: Generates a static map image via Google Static Maps API.
*
* @see https://staticmapmaker.com/google/
* @see https://github.com/getblocklab/block-lab
* ----------------------------------------
* Block config:
* ----------------------------------------
@seoagentur-hamburg
seoagentur-hamburg / .htaccess
Last active June 6, 2024 06:40
UPDATE 2024/03: Perfect .htaccess file for highspeed and security. You can use it for every WordPress-Website without problems. Highspeed and Security - testet on hundreds of Websites. If you are using a WordPress Multisite, change the last part of this file.
########################################################################
# OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2.0.9 - 03/2024
# ----------------------------------------------------------------------
# @Author: Andreas Hecht
# @Author URI: https://seoagentur-hamburg.com
# License: GNU General Public License v2 or later
# License URI: http://www.gnu.org/licenses/gpl-2.0.html
########################################################################
@johnbillion
johnbillion / wp_mail.md
Last active June 3, 2024 13:31
WordPress Emails

WordPress Emails

This document lists all the situations where WordPress sends an email, along with how to filter or disable each email.

This documentation has moved here: https://github.com/johnbillion/wp_mail