Archive for the ‘Wordpress’ Category

Detect Language in WordPress in Multi-installs

Saturday, August 14th, 2010

Problem When using wordpress our theme (or some other component) might want to check a wordpress defined variable. In a regular install of WordPress (single site), you can access them directly because they are defined in wp-config.php. //wp-config.php define(‘WPLANG’,’ja’); //somewhere in my theme echo WPLANG; We can access this on only the base site of [...]

Process Paypal IPN Requests Through WordPress

Sunday, August 16th, 2009

Introduction Paypal is perhaps the easiest way to send/receive money online and WordPress is perhaps the most popular blogging platform out there. Wouldn’t it be great if there was a way we could integrate them together? There are currently a number of plugins available that allow you use WordPress with paypal for invoicing customers and [...]