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.
then restarted httpd and the problem went away. It appears that the php-mcrypt rpm, at least as of php-mcrypt-5.3.3-1.el6.rf.i686, incorrectly creates the mcrypt.ini file.
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
The actual code to display the recent grants is in grantsdb/newgrants.php.
Thesis’ custom template customizations let me re-use the code from the old website with a minimum of fuss and did not require any modifications to WordPress at all.
Hello, fellow WordPressers!
Did you just follow me home?
It seems you came here from a link on the WordPress.org forums.
If you are following up on a support question that we were discussing in a forum, please note:
What happens in the forums stays in the forums
Bringing a forum argument here or to any other moderator's site is a violation of forum rules.
This is not the place to ask questions about forum moderation.
I do not provide paid, private support for any questions raised on forums, nor will I respond privately to any questions or issues raised on the forums.