Web Dev Tuts Blog

WordPress + AJAX 0

WordPress + AJAX

Action wp_ajax Always Returning 0 One of the common reason why this can happen is when the user is not logged in. Try adding the ff: add_action(‘wp_ajax_nopriv_extract-files’, ‘extractFiles’); When using jsonP, you cannot use...

Errors I Encountered When Setting Up a Magento Site 0

Errors I Encountered When Setting Up a Magento Site

I have been using WordPress all my life (just exaggerating) in building websites, and everything that I need for a website, may it be a blog, a portfolio, or an e-commerce one, can be...

How to Use WP Cron 0

How to Use WP Cron

Scheduling an event in WordPress is very common. This functionality is commonly known as CRON. Here are the steps on how to can create CRON tasks. Step 1: Determine the desired recurrence There are...

How to Disconnect a Project or Folder From GIT Repository 0

How to Disconnect a Project or Folder From GIT Repository

How to Remove GIT Tracking From a Project Command: rm -rf .git This command will remove all related GIT information such as files not committed, current committed files that needs to be pushed, etc....

How to Make PHP mail() Function Work in Localhost Server 0

How to Make PHP mail() Function Work in Localhost Server

There are several ways that could make PHP mail() function work in localhost. I haven’t tried them except for the solution below: Download sendmail and extract it on your desired location. Open sendmail.ini and...

Best WordPress Accordion Plugins 0

Best WordPress Accordion Plugins

When looking for an accordion plugin, there are so many options to choose from. I did this review so that I can help you minimize the time that you’re going to spend in finding...

How to Customize WooCommerce Front End Dashboard 0

How to Customize WooCommerce Front End Dashboard

Have you already set up a front end dashboard as discussed here? If not yet, just create a new page and add this shortcode: Now that you have a front end dashboard, you might...

How to Set Up WooCommerce Front End Dashboard 0

How to Set Up WooCommerce Front End Dashboard

For woocommerce websites, allowing customers/users to access dashboard in the front end has been a necesity. Customers can access them via default dashboard, which has a different layout than their website, the owners just...

How to Create Custom WP Metabox 0

How to Create Custom WP Metabox

Default and custom types already have default fields that we can fill in, but what it we need custom data for these post types? In this kind of need, we can opt to create...