Wordpress

How to Add Google News Meta with WordPress Tags

Add this code to your functions.php in your WordPress Themes folder to automatically add “news_keywords” into your HTML.  The news_keywords meta is a new way to tag news articles that allows webmasters to assist Google News in categorizing posts. /* * Title: News Meta Function * Author: Alexander Conroy * Version: 1.0.1 * Website: http://www.esotech.org * Purpose: Tags Tags for Current Post and puts... read more

mySQL Find and Replace throughout Entire WordPress Database

Just finished writing this very handy Script for updating all links in a wordpress site should you choose to move your domain. This goes through every column of every table in the database and replaces string searched with the desired string. This code should be placed in “functions.php” in the base directory of the theme you are currently using in WordPress. You should place this code in the functions file... read more

Change WordPress Site URL

I’m almost positive many of you web developers have had to move a WordPress site in your day. Well, sometimes the domain changes, and you realize how much pain you’re in for since that involves scouring the database. Fear not! WordPress has a simpler alternative, a feature that is nearly as awesome as the picture above! Courtesy of the WordPress Codex: Relocate method WordPress supports an automatic relocation... read more

Complex WordPress Header Javascript and IFrame Injection Problem, Solution and Analysis

While working on a development site, that sat idle before any actual work was done for a while, we noticed that some kind of iframe injection had occured. There was no trace of it in the database or the server code, nothing that said iFrame, nothing that added extra scripts. This was a brand new website, template from scratch with no plugins and no content…I Was pulling my hair out, but slowly started getting on... read more