I hereby claim:
- I am davinian on github.
- I am davinian (https://keybase.io/davinian) on keybase.
- I have a public key ASANs8EmNHjP8THybIDhAe8Paf2ctlXJxY8UzkncQLdZIQo
To claim this, I am signing this object:
/** | |
* Add this to your WordPress Child Theme funtions.php file | |
* David Churchill www.seedo.media | |
*/ | |
/** | |
* Remove Profile bits from WooCommerce | |
* Removing the // from the lines below to hide the sections | |
* In this example Address and Downloads are hidden |
/* Custom Login Logo */ | |
function my_login_logo() { ?> | |
<style type="text/css"> | |
body.login {background: #fff;} | |
#login h1 a, .login h1 a { background-image: url(<?php echo get_stylesheet_directory_uri(); ?>/images/login-logo.png); | |
height:65px; width:320px; background-size: 320px 65px; background-repeat: no-repeat; padding-bottom: 0px; } | |
#login label { color: #333333; } | |
#login .button-primary { background-color:#719b67; } | |
#login .button-primary:hover { background-color:#336633; } | |
#login #nav a:hover, #login #backtoblog a:hover, #login .privacy-policy-page-link a.privacy-policy-link, #login #login_error a { color:#336633; text-decoration: none; } |
// Function to handle the thumbnail request | |
function get_the_post_thumbnail_src($img) | |
{ | |
return (preg_match('~\bsrc="([^"]++)"~', $img, $matches)) ? $matches[1] : ''; | |
} | |
function wpvkp_social_buttons($content) { | |
global $post; | |
if(is_singular() || is_home()){ | |
// Get current page URL |
<!doctype html> | |
<title>Site Maintenance</title> | |
<style> | |
body { text-align: center; padding: 150px; } | |
h1 { font-size: 50px; } | |
body { font: 20px Helvetica, sans-serif; color: #333; } | |
article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
a { color: #dc8100; text-decoration: none; } | |
a:hover { color: #333; text-decoration: none; } | |
</style> |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Gravity Wiz // Gravity Forms Coupons // Exclude Products from Coupon Discount | |
* | |
* Exclude specific products when calculating discounts with the Gravity Forms Coupons add-on. | |
* | |
* Requires Gravity Forms Coupons v1.1 | |
* | |
* @version 1.0 | |
* @author David Smith <david@gravitywiz.com> |
Due to the incessant swarm of complete and utter nonsense that has been forcing its way into Firefox over time, I've decided to start collecting my personal list of “must-have” about:config tweaks required to turn Firefox into a functional brower.
NOTE: Unfortunately this is somewhat out of date. The comments link to some resources that may be more up-to-date. Patches welcome.
These can be used for nefarious purposes and to bypass access restrictions.
I hereby claim:
To claim this, I am signing this object:
<?php | |
/* | |
Template Name: Print Processing Orders :) | |
*/ | |
if (!is_user_logged_in() || !current_user_can('manage_options')) wp_die('This page is private.'); | |
?> | |
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |