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
About the author:
All posts by Terence:
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.
In programming, a concept that usually creates a lot of confusion among those new to it is the concept of passing a variable by value, versus passing a variable by reference. The 2 examples below illustrate the difference between these two ways variables can be passed in Java:Continue reading
If you’re just starting your foray into web development, you’ll probably find that HTML and CSS have a variety of quirks that can make working with them somewhat frustrating for beginners. One of these quirks involves the
text-align CSS attribute, as the attribute only applies its effects to certain kinds of HTML elements.