Skip to content

Instantly share code, notes, and snippets.

View Reedyseth's full-sized avatar

Israel Barragan C. Reedyseth

View GitHub Profile
<?php
/*
Plugin Name: Subscribe to Comments Reloaded
Version: 140125
Stable tag: 140125
Requires at least: 2.9.2
Tested up to: 3.8
Plugin URI: http://wordpress.org/extend/plugins/subscribe-to-comments-reloaded/
<?php
/*
Plugin Name: Subscribe to Comments Reloaded
Version: 140125
Stable tag: 140125
Requires at least: 2.9.2
Tested up to: 3.8
Plugin URI: http://wordpress.org/extend/plugins/subscribe-to-comments-reloaded/
<?php
function simple_markdown_to_html($simple_markdown)
{
/*
Minimum Requirements:
- `content` = <code>content</code>
- ```content``` = <pre><code>content</code></pre>
- **content** = <strong>content</strong>
<?php
/*
Author: WP Sharks
Author URI: https://wpsharks.com
Version: 1.0
Plugin Name: Alert Box Shortcode
Description: Provides an `[alert_box]` shortcode.
Plugin URI: https://wordpress.org/plugins/alert-box-shortcode/
Text Domain: alert-box-shortcode
*/
/**
* This will parse a given URL into an Object.
* @author Reedyseth
*
* @param qs String The URL to be parse.
* @return elements Object With the variables and the values.
**/
function parseQueryString(qs) {
var elements = {};
var a = qs.split("&");
$.extend( DataTable.ext.classes, {
"sTable": "dataTable",
"sNoFooter": "no-footer",
/* Paging buttons */
"sPageButton": "paginate_button",
"sPageButtonActive": "current",
"sPageButtonDisabled": "disabled",
/* Striping classes */
/* Replace jQuery UI constants @todo depreciated */
if ( sAttr == "H" )
{
sAttr = classes.sJUIHeader;
}
else if ( sAttr == "F" )
{
sAttr = classes.sJUIFooter;
}
<a ng-click="go_to_action('new_product')">New</a>
<div ng-controller="products_list_controller" >
<table class="table table-striped table-hover">
<thead>
<tr>
<th>Code</th>
<th>Description</th>
<th>Cost</th>
<div ng-controller="products_controller">
<div class="col-xs-5 col-sm-5 col-md-5 col-lg-5">
<form action="" method="POST" class="form-horizontal" role="form">
<div class="form-group">
<legend>Form title</legend>
</div>
<div class="form-group">
<label for="code">Code</label>
<input ng-model="product.code" type="text" name="code" id="code" class="form-control" value="" required="required" pattern="" title="">
{
"added_words":
[
"screenshot",
"Datatable",
"plugin",
"usr"
],
"afn_blacklist_scopes":
[