Category: WordPress


nginx WordPress Multisite subdomain configuration example

This is a simple tutorial for how to setup a WordPress Multisite subdomain configuration within nginx. This setup will require a plugin provided by rtCamp called nginx-helper that will provide a map of blog ids that you can include in the configuration example below.  Again, this is an nginx WordPress Multisite subdomain configuration example, so this may need… Read more »

How to properly escape and decode HTML entities in WordPress get_the_title(), get_the_content(), and get_the_excerpt() functions to deliver to social networks

If you’ve ever tried to create your own sharing buttons to allow your users to easily share one of your posts to their social media accounts, you may have run into issues delivering dynamic content from get_the_title(), get_the_content(), get_the_excerpt(), etc. In this post I’ll explain how I escape and decode HTML entities in WordPress in order to prepare a… Read more »

How to create a completely custom login and register page in WordPress with custom HTML, password strength meter, CAPTCHA (using reCAPTCHA), and front and back end validation

In this tutorial I’m going to walk through a custom login and register page in WordPress that is independent of the native WordPress login and registration system. It can be a pain to work with WordPress’ native login/register forms to make them your own and work well, so this is my suggested method of doing something… Read more »

WordPress function to show all filters attached to a hook

This is just a quick little code snippet for a function that will WordPress function to show all filters attached to a hook. All this will do is print out all the functions attached to the hook. This means that anything added with something like add_filter( ‘the_content’, ‘some_function’ ); would be able to be printed out… Read more »

Add batcache to your WordPress site (nginx + APC + php-fpm + batcache)

This is a continuation of my other blog post(s) – Install nginx, php-fpm, APC, MariaDB, and phpMyAdmin on CentOS 6 and How to install a web server on CentOS 7 using nginx, php-fpm, MariaDB, and firewalld. This is just a simple post about installing Batcache (the best caching plugin for WordPress IMHO) and fixing it to output the… Read more »