My collected notes on WordPress.
WordPress code snippets
A place to store some useful snippets of code for working with WordPress. Just a personal reference. All these codes have been tested by me and they work as intended, unless otherwise noted.
How WordPress Actually Works Behind the Scenes (Infographic)
This terrific infographic is courtesy of wpbeginner.com. Im taking the liberty of storing a copy here just in case something happens to the original. View the whole post which comes with a complete text/html version of the info graphic also.
Without further ado… Continue reading “How WordPress Actually Works Behind the Scenes (Infographic)”
WordPress 4.4.2 Database tables
Notes on programming state
A computer program stores data in variables, which represent storage locations in the computer’s memory. The contents of these memory locations, at any given point in the program’s execution, is called the program’s state.
Notes on Programming
Procedural language is a type of computer programming language that specifies a series of well-structured steps and procedures within its programming context to compose a program. It contains a systematic order of statements, functions and commands to complete a computational task or program
Notes on Computing
Just some general notes I’ve stored for personal use.
Centering Images with CSS
img {
text-align: center;
}
That will not work as the text-align property applies to block containers, not inline elements, and img is an inline element.
Put text-align: center on a containing block and as long as the image is still inline, it will be centered.
If the image itself is set to block then it must have left and right margins set to auto.
SO Bookmarklet Code
Just a bookmarklet for personal use.
Continue reading “SO Bookmarklet Code”Simple columns in WordPress content area
It used to be an annoying problem.