For a lot of people, WordPress is the entry into web development. And a lot of them don’t stop there. They want more control over their WordPress site, so customizing design and functionality is the next logical step. If WordPress got you hooked, and you want to get more out of it to tailor your site more to your needs and ideas, then this eBook is for you.
To start out, you will learn to build custom page templates and extend WordPress’ flexibility with custom post types. Later, our expert authors will provide insights into customizing tree-like data structures to make them fit your particular needs, as well as tips to replace the regular custom field interface with something more powerful and user-friendly. You’ll also learn to build an advanced notification system to reach your users, and, last, but not least, we’ll dive deep into building, maintaining, and deploying WordPress plugins. WordPress’ flexible structure is predestined for customization. So make use of this grand potential to build your projects the way you imagine them to be.
TABLE OF CONTENTS
- A Detailed Guide To WordPress Custom Page Templates
by Nick Schäferhoff
- Extending WordPress With Custom Content Types
by Brian Onorio
- Building A Custom Archive Page For WordPress
by Karol K
- Customizing Tree-Like Data Structures In WordPress With The Walker Class
by Carlo Daniele
- Extending Advanced Custom Fields With Your Own Controls
by Daniel Pataki
- Building An Advanced Notification System For WordPress
by Carlo Daniele
- How To Use Autoloading And A Plugin Container In WordPress Plugins
by Nico Amarilla
- How To Deploy WordPress Plugins With GitHub Using Transients
by Matthew Ray
- Formats: PDF, EPUB, Kindle (DRM-free)
- Pages: 244
- Language: English
- Released: March 2016
- Publisher: Smashing Magazine GmbH
- ISBN (PDF): 978-3-945749-41-8
- ISBN (EPUB): 978-3-945749-39-5
- ISBN (KINDLE): 978-3-945749-40-1
Excerpt From Chapter 2
Extending WordPress With Custom Content Types — by
One of the best attributes of WordPress is its ease of use. It’s easy because there’s not a significant amount of bloat with endless bells and whistles that steepen the learning curve. On the flip side, some might find WordPress a little... well, light. It does a lot, but not quite enough. If you find yourself hacking WordPress to do the things you wish it would do, then the chances are high that this article is for you.
WordPress can be easily extended to fit the requirements of a custom data architecture. We’re going to explore the process of registering new data types in a fully compliant manner.
Excerpt From Chapter 4
Customizing Tree-Like Data Structures In WordPress With The Walker Class — by
In WordPress, a navigation menu, a list of categories or pages, and a list of comments all share one common characteristic: They are the visual representation of tree-like data structures. This means that a relationship of superordination and subordination exists among the elements of each data tree.
There will be elements that are parents of other elements and, conversely, elements that are children of other elements. A reply to a comment depends logically on its parent, in the same way that a submenu item depends logically on the root element of the tree (or subtree).