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 | |
/** | |
* Insert HTML between paragraphs in WordPress post content using php DOMDocument(). | |
* | |
* Inserts HTML in the middle of top level paragraphs. | |
* For example: | |
* | |
* <p>Hello</p> | |
* <blockquote> | |
* <p>Awesome</p><!-- not a top level paragraph --> |
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> | |
<meta charset="utf-8"> | |
<title>Yahoo Weather API</title> | |
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> | |
</head> | |
<body> | |
<select id="cities"></select> |
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
class Color_Picker_Widget_25809 extends WP_Widget { | |
/** | |
* Widget constructor. | |
* | |
* @since 1.0 | |
* | |
* @access public | |
*/ | |
public function __construct() { |