Updated 11/16/2015: add IPv6 support and link user agent to StatCounter. This snippet adds a link to geolocation and ISP data on IPaddress.com (IPv4) / ipinfo.io (IPv6) and the submitter’s user agent to the Entry metabox via the gform_entry_info hook.
Slides and code samples from my “WordPress and AWS” talk at the June 2014 WordPress DC Meetup Continue reading
2016-07-01: Updated code samples to use __return_false instead of an anonymous function By default, the W3 Total Cache (W3TC) WordPress plugin adds an HTML comment like the one below to the page footer. To remove it without modifying the W3TC … Continue reading
When you create a WordPress network (multisite) in subdomain mode, WordPress recommends that you remove www from the site URL, so the network (site #1) is served from the zone apex, and other sites are served from first-level subdomains. For … Continue reading
How to localize both Genesis Framework and a custom child theme, without the risk of framework upgrades removing the gettext catalogs. This example covers localizing a theme in Spanish (Mexico), but the process is the same for other languages and … Continue reading