Customizing the Homepage of WooCommerce Storefront and Its Child Themes

WooCommerce Storefront theme

By default, Storefront WooCommerce theme by WooThemes displays a maximum number of four(4) feature, recent, on sale and top rated products in four columns while the product categories are in three columns.This also hold true for its child theme save for Boutique which displays a limit of three homepage products in three columns.In this tutorial, i will show us how to increase the number of feature, recent, on sale and top rated … [Continue reading]

Getting 2Checkout to Play Nice With CloudFlare

Getting 2Checkout to Play Nice With CloudFlare

We use 2Checkout as payment gateway for selling our premium ProfilePress WordPress plugin.When an order is made via 2co, it passes through their fraud review system and subsequently, a POST request is sent to a provided notification URL when the order passes the fraud review. It is this POST request our system will decipher to finally complete the order.On setting up CloudFlare at profilepress.net, orders weren't getting marked as … [Continue reading]

How to Install cURL in Windows Easily

Environmental variable button

From the its websitecURL is a command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMTP, SMTPS, Telnet and TFTP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, HTTP/2, cookies, user+password authentication (Basic, Plain, Digest, CRAM-MD5, NTLM, Negotiate … [Continue reading]

HOST1PLUS VPS Hosting Review

Host1plus hosting review

I recently received a virtual private server (VPS) for free from the fine folks at Host1Plus. Admittedly, I am impressed and pleased with their service.As a developer that pretty much knows his way around servers, it took me few minutes to install a LEMP stack and to migrate a web project of mine to it.If you are coming from the shared hosting world, you might find a virtual private server (VPS) daunting. A VPS provides freedom and … [Continue reading]

Using GitHub After Enabling Two-Factor Authentication

Generate GitHub access token

If you've activated Two-Factor authentication for your GitHub account, you will discover your GitHub account password will become obsolete when performing Git operations that requires account authentication (such as push, fetch, pull) using HTTPS.A personal access token instead of an account password is what is required to interact with GitHub via https.Creating a GitHub Personal Access Token Firstly, log in to your GitHub account, … [Continue reading]

Import WordPress Plugins From the SVN Repository to GitHub Properly

Importing in progress

Few days ago, I created a free version of my premium plugin ProfilePress and open sourced it on GitHub.Prior to putting it on GitHub, it has been in a private Bitbucket repository where all code changes and deployment to WordPress plugin subversion (SVN) repository are carried out.In this article, I will show us how I imported the plugin hosted in a plugin SVN repo. to GitHub with all the tags and commit history preserved.First off, … [Continue reading]

How to Remove and Create Hidden WordPress Admin Pages

WordPress Admin Menu

WordPress provides add_menu_page() and add_submenu_page() for creating top-level menu and sub menu admin pages. Settings pages created with these functions usually appear in the admin menu.In this tutorial, we will learn how to remove admin pages / items from the admin menu and still be able to them directly via their page URL.Removing Top Level Menu Pages To remove top-level pages item in amin menu, use remove_menu_page() as … [Continue reading]

Query WordPress Posts in a Custom Post Type and Custom Taxonomy

WordPress WP_Query

Here is a quick tip on querying posts that belongs to a custom post type and category / custom taxonomy.Actually, I ran into this problem while working with Easy Digital Downloads plugin.I wanted to query a list of products in a given category. I thought the query will be easy to construct but I was wrong.Note: all EDD products are actually posts of a download custom post type and the category, a custom taxonomy with name … [Continue reading]