Tag: template tags
-
CMDR Mitchcraft
·
PHP ‘include’, ‘get_template_part’, and ‘require’: Best Practices
Including files in a PHP environment can be tricky for new developers. There are no less than four ways to include a file: include, include_once, require, and require_once. Moreso, there’s very subtle differences in the reasons behind using each one. Throw in WordPress (which has its own specific flavor of include tag – get_template_part) and…
-
CMDR Mitchcraft
·
Under the Hood with WordPress, Part 5: PHP/MySQL
Today, we’re covering PHP – the “PHP Hypertext Preprocessor” that runs, computes, analyzes, and stores your WordPress data.