WordPress WP_Query

WP Shout’s article “Using WP_Query Objects Without the Loop” explains it well: WP_Query isn’t an abstract entity; rather, it’s an object, in the programming sense. Let’s quickly summarize that discussion: Every individual object belongs to a larger class of those objects. For example, an individual Car object belongs to the class Car. Every object has things in common with…

Learning PHP for WordPress

PHP for Beginners: Starting on Backend WordPress Development – WP Shout PHP 101: Gentle Introduction to WordPress Programming – Know The Code WordPress Template Tags: How They Show Post Content & More (eg: the_title vs get_the_title) – WP Shout Intermediate WP_Query Arguments – Bill Erickson Customizing the WordPress Query with pre_get_posts – Bill Erickson Custom…

PHP Symbols – What Does This Symbol Mean in PHP?

Source: Stack Overflow PHP . (dot/decimal point) What does a . (dot) do in PHP? (Source: Stack Overflow) “.” and “.=” String Operators (Source: PHP.net manual) There are two string operators. The first is the concatenation operator (‘.’), which returns the concatenation of its right and left arguments. The second is the concatenating assignment operator (‘.=‘), which…

WordPress All-in-One WP Migration

Really diggin’ ServMask’s All-in-One WP Migration WordPress plugin to move site from stage to live. And easy to Export/Import serialized data. I usually move from a Stage site to a Live site. The following instructions are super-helpful. Instructions c/o: WP Shout Open All-in-One WP Migration. Click the “Find <text> Replace with <another-text> in the database” accordion…