Download e-book for kindle: Customizing WordPress by Smashing Magazine

The placeholder comment visible in the middle is where we’re going to start including our custom elements. However, let’s do it through an additional functions file, just to keep things reusable from theme to theme. php')) { wp_enqueue_style('archives-page-style', get_template_directory_uri get_template_directory_uri() .

For brevity, we’re not going to repeat the code already referenced above. Keep that in mind as you’re creating your data type. Although this article is long and in-depth, it really is about a 10-minute process from concept to conclusion once you fully understand what’s going on. REFERENCES 8 • “register_post_type ,” WordPress Codex • “register_taxonomy ,” WordPress Codex • “Metadata API ,” WordPress Codex • “get_post_meta ,” WordPress Codex • “get_fields ,” ACF Documentation • “Template Hierarchy ,” WordPress Codex • “Action Reference ,” WordPress Codex • “Filter Reference ,” WordPress Codex ❧ 9 10 11 12 13 14 15 — 1.

Download PDF sample

Customizing WordPress by Smashing Magazine


by Steven
4.1

Rated 4.72 of 5 – based on 43 votes