WPBrigade Blog

  • How to Add Privacy Policy Checkbox in Registration Form?
    Last updated on May 1st, 2026 by captain

    How to Add Privacy Policy Checkbox in Registration Form?

    By default, the user registration for WordPress is off. Once you enable it, you’ll find it doesn’t let you gather much information from users when they first register on your site. It has basic fields, including Username or Email Address and Password.  Custom fields empower you to get extra information from your users, such as an address or phone number, or ask them to accept your Terms & Conditions, Privacy Policy, etc. Important: The WordPress Checkboxes or checkboxes at any website are legal, as clicking on a checkbox is urging a signature on a written contract. Here we’ll explain how…

    Continue Reading

  • Select Dropdown Countries Template for WordPress developers
    Last updated on May 1st, 2026 by captain

    Select Dropdown Countries Template for WordPress developers

    Hello WordPressers, I was working on a project where I had to add the countries dropdown on the signup page. So, for making select dropdown countries selection sticky in the case of error at signup, I needed to check the $_POST[‘countries’] with every option in the select dropdown. It seems a redundant effort to me as It took me 30 mins to do this task.

    Continue Reading

  • Diving in Google Drive APIs – List Files and Folders
    Last updated on May 13th, 2026 by captain

    Diving in Google Drive APIs – List Files and Folders

    Today, we are going to actually start playing with Google Drive APIs. Previous parts served as the basis for implementing web apps using Google APIs. In part 3, we will use Google Drive’s file listing functions to list files and folders and display them on a page. I assume you have already gone through the authentication and Installation process. I have shared my code on GitHub, where we are moving toward building a simple web app to list our Google Drive files and perform operations, etc. The following is a simple function that fetches the latest 100 files from the user’s…

    Continue Reading

  • Diving in Google Drive APIs – Authentication
    Last updated on May 13th, 2026 by captain

    Diving in Google Drive APIs – Authentication

    In Part 2 of the Google Drive Series, we are going to dig into the most important and confusing concept of connecting with Google APIs. Yes, I wrote ‘confusing’ because many developers get confused when they need to implement connectivity for their applications to Google APIs. I will try to make this concept easier in this post. I assume you have read the first part of this series and have created a project in Google Developers Console, and before that, have downloaded the PHP Client libraries to play with.

    Continue Reading

  • Diving in Google Drive APIs
    Last updated on May 13th, 2026 by captain

    Diving in Google Drive APIs

    Continue Reading