Skip to content

Instantly share code, notes, and snippets.

View DannyCooper's full-sized avatar
🎯
Focusing

Danny Cooper DannyCooper

🎯
Focusing
View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
>
<channel>
<!-- wp:spacer {"height":50} -->
<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:media-text {"align":"","mediaId":100,"mediaLink":"","mediaType":"image","mediaWidth":47,"imageFill":false} -->
<div class="wp-block-media-text is-stacked-on-mobile" style="grid-template-columns:47% auto"><figure class="wp-block-media-text__media"><img src="https://theme.websitesetup.org/wp-content/themes/wsu-business/assets/images/wsu-profile-image.jpg" alt="" class="wp-image-100"/></figure><div class="wp-block-media-text__content"><!-- wp:paragraph {"placeholder":""} -->
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph {"placeholder":""} -->
<!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">

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:

## 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:
/**
* Scripts to alter the behavior of Customizer controls.
*/
( function( $ ) {
'use strict';
wp.customize.bind( 'ready', function() {
hideFooterSettings();
const { __ } = wp.i18n;
const {
registerBlockType,
RichText,
InspectorControls,
AlignmentToolbar,
BlockControls,
} = wp.blocks;
const {
TextControl
@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;
@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' ) ) {
<!-- 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 -->