Category Archives: WordPress

WordPress: Requirement for Deployment to Production

WordPress Plugins Duplicator – Create a backup of your WordPress files and database. Duplicate and move an entire site from one location to another in a few steps. Create a full snapshot of your site at any point in time. Better Search and Replace – A small plugin for running a search/replace on your WordPress… Read More »

How to Include PHP ActiveRecord in WordPress as Global Feature

This post for developers who used to ORM/ActiveRecord and not familiar with WordPress Query (like me) and want the ORM/ActiveRecord to be available in WordPress. As per post’s title, this post regarding how you can include PHP ActiveRecord for global use – let say you have multiple plugins that use PHP ActiveRecord, you can’t load… Read More »

WordPress: Custom RSS Feed

There’s three main steps to create your custom RSS Feed. Register your feed in functions.php Create your template file feed-custom.php in your theme folder. You can copy and paste from wp-includes/feed-rss2.php to make things easier and make changes something like the following – I fetch post with post_type is ajde_events and is it a featured… Read More »

WordPress: Install from Composer

Create a composer.json in project root directory and copy paste the following composer configuration. Then run composer install. Once done, copy wp/index.php to project root directory and update require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ ); to require( dirname( __FILE__ ) . ‘/wp/wp-blog-header.php’ );. Now run the WP at http://localhost/wp-project-root and continue with installation and you’re… Read More »