Skip to content

Instantly share code, notes, and snippets.

@alexxxseo
alexxxseo / Ajax Login Form
Created June 14, 2017 19:07
Wordpress Ajax Login Form
<?php
// Wordpress Ajax Login Form
// Source: http://www.sutanaryan.com/custom-user-login-signin-using-ajax-wordpress/
//html
<div class="userLogin">
<?php
// check if the user already login
@alexxxseo
alexxxseo / meta-tags.md
Created April 12, 2017 14:24 — forked from whitingx/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@alexxxseo
alexxxseo / force-ssl-url-scheme.php
Created February 2, 2017 20:01 — forked from webaware/force-ssl-url-scheme.php
For WordPress, force the protocol scheme to be HTTPS when is_ssl() doesn't work, e.g. on a load-balanced server where _SERVER['HTTPS'] and _SERVER['SERVER_PORT'] don't indicate that SSL is being used. NB: may not be needed now, see SSL Insecure Content Fixer and HTTP Detection: https://ssl.webaware.net.au/https-detection/
<?php
/*
Plugin Name: Force SSL URL Scheme
Plugin URI: https://gist.github.com/webaware/4688802
Description: Force the protocol scheme to be HTTPS when is_ssl() doesn't work
Version: 1.0.0
Author: WebAware
Author URI: http://webaware.com.au/
@ref: http://wordpress.org/support/topic/ssl-insecure-needs-35-compatibility