The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Revised by Bytes Unlimited : June 14th 2017
add_filter('wpseo_locale', 'override_og_locale'); | |
function override_og_locale($locale) | |
{ | |
return "en_GB"; // thanks to stack overflow for this | |
} | |
add_filter('wpseo_opengraph_type', 'homepage_opengraph_type'); | |
function homepage_opengraph_type($type) | |
{ | |
$page = get_the_ID(); |
<?php | |
require_once('Creare_Twitter.php'); | |
$twitter = new Creare_Twitter(); | |
########################################################## | |
# You can either edit the following per implementation - # | |
# or simply edit them in the class and remove all of # | |
# these property overrides # |
################################################################## | |
######## Wordpress .htaccess Boilerplate - Rob's Edition ######## | |
################################################################## | |
### This collection of HTACCESS commands are the strict intellectual property of Creare Communications Ltd ### | |
### Add support for SVG Graphics and CSS3 Pie | |
AddType image/svg+xml svg svgz | |
AddEncoding gzip svgz | |
AddType text/x-component .htc |
#this is a gist | |
#this is it edited |