View capital_eszett_dangit.php
<?php
/**
* Capitalize ẞ Dangit
*
* @package CapitalizeẞDangit
* @author Bernhard Kau
* @license GPLv3
*
* @wordpress-plugin
* Plugin Name: Capitalize ẞ Dangit
View not.css
/********Link-Klasse****/
a.download-button {
color: #fff !important;
background: #c8504b;
padding: 10px 20px;
border-radius: 2px;
margin: 5px;
}
/****** angewendeter Code auf alle Links, die nicht .fy-button als Klasse haben ***/
View functions.php
<?php
// Automatically convert permalinks to PDFs in search results to the PDF itself, not the Attachment page
add_filter( 'the_permalink', function( $permalink ) {
global $post;
if ( is_search() && 'application/pdf' == get_post_mime_type( $post->ID ) ) {
// if the result is a PDF, link directly to the file not the attachment page
$permalink = wp_get_attachment_url( $post->ID );
}
View .gitignore
*
!/memberpress-de_DE.*
View footer.php
View allow-svg-uploads.php
<?php
/**
* Plugin Name: Allow SVG uploads
* Description: Enable the users of your blog to upload SVG files
* Version: 1.0.0
* Author: Bernhard Kau
* Author URI: https://kau-boys.de
* License: GPLv3
* License URI: http://www.gnu.org/licenses/gpl-3.0
*/
View deactivate-full-size-image-links.php
View wp-tag-cloud-tag-number.php
<?php
/**
* Plugin Name: WP Tag Cloud Tag Number
* Description: This plugin will limit the number of the shown tags to a custom number
* Version: 1.0.0
* Author: Bernhard Kau
* Author URI: https://kau-boys.de
* License: GPLv3
* License URI: http://www.gnu.org/licenses/gpl-3.0
*/
View form_validation_hightlight.js
jQuery( document ).ready( function( $ ) {
$( 'form' ).submit( function() {
$( this ).attr( 'data-touched', true );
} );
$( ':submit' ).click( function() {
$( this ).closest( 'form' ).attr( 'data-touched', true );
} );
View wysija-newsletters-load-textdomain-fix.php
<?php
/**
* Plugin Name: MailPoet Load Textdomain Fix
* Description: This plugin will deactivate the translation laoding from the MailPoet plugin and load it in the correct was instead, so other plugins that hook into the loading of translations works together with MailPoet
* Version: 1.0
* Author: Bernhard Kau
* Author URI: http://kau-boys.com
* License: GPLv3
* License URI: http://www.gnu.org/licenses/gpl-3.0