Skip to content

Instantly share code, notes, and snippets.

View DannyCooper's full-sized avatar
🎯
Focusing

Danny Cooper DannyCooper

🎯
Focusing
View GitHub Profile
@DannyCooper
DannyCooper / zues-columns-shortcode
Last active August 29, 2015 14:09
Zues Columns Shortcode
[zues_column size="one-half" position="first"]
<strong>One Half</strong>
Zues Shortcodes is the best Free shortcodes plugin out there.
[/zues_column]
[zues_column size="one-half" position="last"]
<strong>One Half</strong>
Zues Shortcodes is the best Free shortcodes plugin out there.
@DannyCooper
DannyCooper / zues-clear-floats
Created November 10, 2014 19:11
Zues Clear Floats Shortcode
[zues_clear_floats]
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-T9BF6R"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-T9BF6R');</script>
<!-- End Google Tag Manager -->
@DannyCooper
DannyCooper / ot_apollo_filter_archive_title.php
Last active January 25, 2018 11:41
Modify The Section Archive Title
<?php
/**
* Remove 'Section:' from Section archive titles.
*
* @param string $title The default title to be filtered.
*/
function ot_apollo_filter_archive_title( $title ) {
if ( is_tax( 'section' ) ) {
@DannyCooper
DannyCooper / block.js
Last active March 15, 2018 12:15
First Block Attempt
/**
* Simple block to output a list of posts (as hyperlinked images).
*
* Simple block, renders and saves the same content without interactivity.
*
*/
var el = wp.element.createElement,
registerBlockType = wp.blocks.registerBlockType,
withAPIData = wp.components.withAPIData;
const { __ } = wp.i18n;
const {
registerBlockType,
RichText,
InspectorControls,
AlignmentToolbar,
BlockControls,
} = wp.blocks;
const {
TextControl
/**
* Scripts to alter the behavior of Customizer controls.
*/
( function( $ ) {
'use strict';
wp.customize.bind( 'ready', function() {
hideFooterSettings();
## Undocumented use of a 3rd Party or external service
You call LINK
While this is actually okay, you neglected to fully document this in your readme.
We require plugins that reach out to other services to disclose this, in clear and plain language, so users are aware of where data is being sent. This allows them to ensure that any legal issues with data transmissions are covered (like people in the EU). This is true even if YOU are the 3rd party service.
In order to do so, you must update your readme to do the following:

Keybase proof

I hereby claim:

  • I am dannycooper on github.
  • I am dannycooper147 (https://keybase.io/dannycooper147) on keybase.
  • I have a public key ASCGessLiNEuzdQsunfIudiG_FiLjCKB8P99Vvj-Et6Clgo

To claim this, I am signing this object:

<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php wp_head(); ?>
</head>
<header class="site-header">
<p class="site-title">