Skip to content

Instantly share code, notes, and snippets.

<?php
/**
* Add our field to the comment form
*/
add_action( 'comment_form_logged_in_after', 'emend_add_comment_fields' );
add_action( 'comment_form_after_fields', 'emend_add_comment_fields' );
function emend_add_comment_fields()
{
?>
@htrex
htrex / app.module.ts
Last active March 21, 2017 23:24
app.module.ts sample for ngx-warehouse debug
import { NgModule, ApplicationRef } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { RouterModule } from '@angular/router';
import { removeNgStyles, createNewHosts, createInputTransfer} from '@angularclass/hmr';
// Guard & Services
import { NgxWarehouseModule } from 'ngx-warehouse';
import { AuthGuard } from './_guards/auth.guard';
<!doctype html>
<html ⚡>
<head>
<meta charset="utf-8">
<title>amp-img</title>
<script async src="https://cdn.ampproject.org/v0.js"></script>
<link rel="canonical" href="https://www.opmag.hantarex.org/amp-img-test.html">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-a