Portfolio

Blog

Enabling & Installing Posts to Posts When a New Blog Is Created

The other day I came across an issue where Posts to Posts requires an administrator or someone with `manage_options` capability in order to install Posts to Posts table on a new blog creation. This does not work if all new sites create the default user as an Editor, and you need to immediately make Posts to Posts available for immediate use.

So here is the code that I used in order to make this possible.

Setting Up a Local Environment via XAMPP: Installing WordPress via Download

4. Download WordPress Go to wordpress.org and download the latest build of WordPress. Go to the htdocs folder (where you installed the XAMPP), extract the wordpress.zip to a new folder (eg. mywordpress). 5. Run the Famous WordPress 5-minute ... Read

Setting Up a Local Environment via XAMPP: Security

3. Setup XAMPP Security Go back to localhost or localhost:8080 in your web browser. Click on security and it will open a new window/tab to http://localhost/security/index.php or http://localhost:8080/security/index.php. Then click on the ... Read

Setting Up a Local Environment via XAMPP: Error with Port 80 & Skype

If when you install it, port 80 is busy. This could be because of another program (like Skype) or your corporate network. So, if you have Skype installed, I recommend changing Skype's default port. It simply makes everything easier. Open Tools ... Read

Setting Up a Local Environment via XAMPP: Launching Apache & MySQL

Next we will launch Apache & MySQL. To do this easily, open the Control Panel. Click Start on both Apache and MySQL. Now, if you want, you can install Apache and your local webserver to another port like 8080. To change the ... Read

Setting Up a Local Environment via XAMPP: Configuring PHP

PHP comes installed with a preset configuration. In local environments, I tend to set things a lot higher than I normally would in a production site simply because it is for me and for strenuous testing, auditing, developing, debugging, etc. So ... Read

Setting Up a Local Environment via XAMPP: Creating a Database via phpMyAdmin

4. Create a New Database After you’ve installed XAMPP, run it by opening a browser and going to localhost, which will take you to the splash page. Click on your preferred language. It should take you to the start page, http://localhost/xampp/. ... Read