Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Wordpress Web Application Development - Third Edition

You're reading from  Wordpress Web Application Development - Third Edition

Product type Book
Published in May 2017
Publisher Packt
ISBN-13 9781787126800
Pages 536 pages
Edition 3rd Edition
Languages
Concepts
Author (1):
Rakhitha Nimesh Ratnayake Rakhitha Nimesh Ratnayake
Profile icon Rakhitha Nimesh Ratnayake
Toc

Table of Contents (14) Chapters close

Preface 1. WordPress as a Web Application Framework 2. Implementing Membership Roles, Permissions, and Features 3. Planning and Customizing the Core Database 4. Building Blocks of Web Applications 5. Implementing Application Content Restrictions 6. Developing Pluggable Modules 7. Customizing the Dashboard for Powerful Backends 8. Adjusting Theme for Amazing Frontends 9. Enhancing the Power of Open Source Libraries and Plugins 10. Listening to Third-Party Applications 11. Integrating and Finalizing the Forum Management Application 12. Supplementary Modules for Web Development 13. Configurations, Tools, and Resources

Enhancing features of the questions plugin

In the previous sections, we illustrated how to quickly adapt WordPress into different kinds of implementations by customizing its core features. However, I had to limit the functionality to the most basic level in order to keep this chapter short and interesting for beginners. If you are willing to improve it, you can try other new features of such an application. Here, we will be looking at some of the enhancements to this plugin and how we can use core WordPress features to implement them.

Customizing the design of questions

This is one of the major requirements in such an application. Here, we have a very basic layout and it's difficult to know whether this is a question or just a normal post. Consider the following screenshot for a well-designed question interface:

Remember that we customized the comments list for adding new options. Similarly, we can customize the design of questions to create an interface such as the previous screenshot by using a separate template file for the questions custom post type. We have to create a file called single-wpwa_question.php and change the design and functionality as we want.

You have been reading a chapter from
Wordpress Web Application Development - Third Edition
Published in: May 2017 Publisher: Packt ISBN-13: 9781787126800
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}