- Overview
- Transcript
3.4 Customizing the Posts and Pages Editing Screens
In this lesson you’ll learn how to customize the posts and pages editing screens.
Related Links
1.Introduction3 lessons, 06:23
1.1Welcome00:49
1.2About the WordPress Back-End02:53
1.3Reasons You Might Consider Customization02:41
2.Customization: Smaller Tasks6 lessons, 38:49
2.1Cleaning Up and Organizing the Left Menu14:42
2.2Reinventing the Dashboard Screen04:16
2.3Removing Unnecessary Table Columns03:00
2.4Adding Help08:20
2.5Setting User Permissions02:33
2.6Other Small Customizations05:58
3.Customization: Bigger Tasks5 lessons, 24:53
3.1Adding New Colour Schemes04:20
3.2Customizing the Login Screen08:47
3.3Changing the Default Admin Bar05:09
3.4Customizing the Posts and Pages Editing Screens02:37
3.5Changing the Admin Theme Entirely04:00
4.Conclusion1 lesson, 00:40
4.1Final Words and Assignment00:40
3.4 Customizing the Posts and Pages Editing Screens
Let's take a look at this page. It is the editing screen for a post, and the one for a page looks pretty similar. Now, you can actually remove some of the elements from this page and add your own. Let's find out how. It's really easy to remove meta boxes from this page. In fact, I've already shown you that in the dashboard. You can use the remove meta box function. Now, if you go here, you're gonna see all the meta box ID's from various pages. So for example from the page we can remove these. From the post you can remove these for example. So it's really, really easy and even get examples here. So for example if we want to remove the comments here. This comments box from the pages and also from the posts. Well you can do something like this. You're gonna write a function called remove meta boxes and then you're gonna say remove meta box. And this is actually called commentsdiv. So we're going to copy that and we're removing it from the post pages and then this is the context so we're going to set it to normal and also we can remove it from the pages. And then we simply add an action, tie it to admin_init, and then, if we refresh, you're gonna see that we don't have the commons box anymore in articles or in pages. It is gone. Including from the screen options here. So yeah, that's basically how you customize these pages. You just use the remove meta box function. Now as far as adding meta boxes, well we've already covered that with these helpful metaboxes. So, it's exactly the same principle. All right, and that's it for the editing screens. Now so far, we've covered bits and pieces of the whole customization process. But what if you wanna do something radical and change the entire admin theme completely. Well that's totally possible and you'll find out how in the next lesson.