This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* mix | |
* | |
* @param mixed $color_1 | |
* @param mixed $color_2 | |
* @param mixed $weight | |
* | |
* @return void |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace WPMemeShortcode; | |
/** | |
* The WordPress Meme Shortcode admin page. | |
* | |
* @author Carl Alexander | |
*/ | |
class AdminPage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( function( wp ) { | |
var el = wp.element.createElement; | |
var __ = wp.i18n.__; | |
wp.blocks.registerBlockType( 'learn-gutenberg/ex2-vue', { | |
title: __( 'Learn Gutenberg Example 2: VueJS', 'learn-gutenberg' ), | |
category: 'widgets', | |
supportHTML: false, | |
attributes: { | |
who: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. You must create the infowindows with pixelOffset setting | |
var iw = new google.maps.InfoWindow({ | |
content: 'HTML_CONTENT_HERE', | |
pixelOffset: new google.maps.Size(left, top) | |
}); | |
// 2. On first infowindow is shown we add a class to the infowindow container | |
// So we can add styles to it overriding default ones | |
// $map is JQuery selector with map container | |
if ($map.find('.gm-style-iw-container').length === 0) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link href="//code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.min.css" rel="stylesheet" type="text/css" /> | |
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script> | |
<script src="//code.jquery.com/ui/1.11.1/jquery-ui.min.js"></script> | |
<script src="http://fb.me/react-0.3.0.js"></script> | |
<script src="http://fb.me/JSXTransformer-0.3.0.js"></script> | |
<meta charset="utf-8"> |