I’ve rejiggered things. This server is no longer using mod_ruid2 (see here). I’ve switched to the more modern and maintained php-fpm process, under PHP version 7. The system seems to be faster while using less memory and CPU.
Thanks to Opsec and JPhase for assistance on this!
At the bottom of a list of posts, WordPress puts navigation to newer and older posts. Typically, the linkage is “older posts” and “newer posts”, so your visitor can move one page at a time in either direction. There’s a quick way to modify your theme to use pagination like this:
Installing a current version of phyMyAdmin on Centos 6 turned out to be a grand pain. First, it turns out there are two packages in the rpmforge repo, “phymyadmin” and “phpMyAdmin”, resulting in installations of version 2 and 3, respectively.
Once past that, phpMyAdmin reports “Cannot load mcrypt extension. Please check your PHP configuration“. Well, that should be easy to fix. Just a quick “yum install php-mcrypt”. Nope. After digging around for a while, installing, uninstalling, rebooting, etc, I checked the the file /etc/php.d/mcrypt.ini.
WordPress is a great, highly flexible content management system (CMS), but inserting a big chuck of custom PHP code that does a lot of database manipulation can be very tricky. Go ahead and google it… I’ll wait a minute.
I’m working on a site for a grant making organization. The website needs to include a list of recent grantees and the ability to search the list of grants by date, amount, and/or grantee. It was easy to include this on their old HTML and PHP site. Making this to work in the new WordPress site was a bit of a worry. It turned out to be a lot easier than I feared.
The site is being built using the Thesis theme. One of the very nice features of Thesis is a that it supports a custom template that can be modified programmatically. What does this mean? On the page that will list the recent grantees, I set the type to “Custom Template”.
The Thesis custom_functions.php file then dynamically modifies the custom template for the page in question