I hereby claim:
- I am tr8MAyAwruxU on github.
- I am paulvanbuuren (https://keybase.io/paulvanbuuren) on keybase.
- I have a public key whose fingerprint is 61C2 912B 050A 85D4 1AA0 4EE4 5F4F 3DB7 EF78 EA3F
To claim this, I am signing this object:
<style type="text/css"> | |
.dinges div { | |
margin: 10px; | |
float: left; | |
border: 1px solid #00F; | |
width: 120px; | |
padding: 10px; | |
} | |
.dinges .item:target { | |
border: 1px solid #F00; |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/* | |
Plugin Name: Events Manager Improvements | |
Version: 1.0 | |
Description: Improves some of Event Manager's functionality (WordPress plugin) | |
Author: Paul van Buuren | |
Author URI: http://wbvb.nl/ | |
*/ | |
/* ====================================================== | |
LESS mixin to help you identify the level | |
of the headers in your text. | |
--------------- | |
Using a sound and complete header hierarchy vastly | |
improves the accessibility and understandability of your | |
document. | |
====================================================== */ |
// from: http://www.codeinwp.com/blog/wordpress-image-code-snippets/ | |
// ============================================================================ | |
// Show Featured Images in Your WordPress Blog’s RSS Feed | |
// By default, featured images are not shown in your blog’s RSS feed. This is no good at all, and is high on my list of must-change // tasks when designing a new site. | |
// | |
// Fortunately, the solution is simple enough. Just use the following code snippet: | |
// ============================================================================ | |
add_filter('the_content_feed', 'rss_post_thumbnail'); | |
function rss_post_thumbnail($content) { |
// from: http://www.codeinwp.com/blog/wordpress-image-code-snippets/ | |
// ============================================================================ | |
// If you’re going to add your logo to the login page, you may as well top things off by adding to the admin page too, right? | |
// Just add the following code and upload your logo (again, feel free to change the file location to suit): | |
// ============================================================================ | |
function custom_admin_logo() { | |
echo '<style type="text/css"> | |
#header-logo { background-image: url('.get_bloginfo('template_directory').'/images/admin_logo.png) !important; } |
// from: http://www.codeinwp.com/blog/wordpress-image-code-snippets/ | |
// ============================================================================ | |
// WordPress: Require Featured Image | |
// | |
// If you add the following code to your functions.php and try to publish a post that doesn’t have a featured image, | |
// you will receive the following message: “You must select a Featured Image before your Post can be published.” | |
// ============================================================================ | |
add_action('save_post', 'wpds_check_thumbnail'); | |
add_action('admin_notices', 'wpds_thumbnail_error'); |
// from: http://www.codeinwp.com/blog/wordpress-image-code-snippets/ | |
// ============================================================================ | |
// WordPress: Remove Automatic JPEG Compression | |
// ============================================================================ | |
add_filter( 'jpeg_quality', 'smashing_jpeg_quality' ); | |
function smashing_jpeg_quality() { | |
return 100; | |
} |
Verifying that +paulvanbuuren is my blockchain ID. https://onename.com/paulvanbuuren |
define( 'ANIMATIONCOOKIEKEY', 'mag_animatie_tonen' ); | |
//======================================================================================================== | |
add_action( 'init', 'gist_check_if_cookies_are_enabled' ); | |
//======================================================================================================== |