I’ve been developing a WordPress child theme based on Astra for a client recently. This child theme comes with a custom post type, and I ran into a bit of trouble trying to remove the Astra Settings Meta Box (which Astra tags onto every single post type) from my custom post type.Continue reading
CSV stands for Comma-Separated Values, and CSV files are text files that look something like this:
Username,Email,Address,Contact johndoe,firstname.lastname@example.org,"71 Pickering Street, Singapore, Singapore",+65-91234567 janedoe,email@example.com,"24 Raffles Lane, Singapore, Singapore",+65-81234567 marysmith,firstname.lastname@example.org,"83 Riveting Road, Singapore, Singapore",+65-97654321 bobsmith,email@example.com,"84 Riveting Road, Singapore, Singapore",+65-87654321
Essentially, the CSV file format is meant to represent tabular data. The above CSV file represents the following table:
|firstname.lastname@example.org||71 Pickering Street, Singapore, Singapore||+65-91234567|
|email@example.com||24 Raffles Lane, Singapore, Singapore||+65-81234567|
|firstname.lastname@example.org||83 Riveting Road, Singapore, Singapore||+65-97654321|
|email@example.com||84 Riveting Road, Singapore, Singapore||+65-87654321|
Due to their tabular nature, data in a CSV file can very easily be imported into and stored in an SQL table. The commands to do that, however, are not very well-documented online.
If a CSV file does not open as a text file on your computer, that’s because your computer is opening the file with a spreadsheet program such as Microsoft Excel. In such a case, to see the file as text, you will want to open these files on a text editing software such as Notepad.Continue reading
Are you looking to run Python as a server-side scripting language on your XAMPP installation? Here’s a guide on how to set it up.Continue reading
Here’s a common error that people usually run into when doing Unity scripting, and it’s one that even reasonably-skilled programmers can take awhile to fix.Continue reading
If you, for some reason, are trying to remove the WordPress admin bar on the backend using
show_admin_bar(false) to no avail, that’s because the method does not remove the admin bar on the WordPress admin backend by design. If you still want to remove it, then this article is for you.