User Login

Help Community Login:

Development

STaRDoGG's picture

How To Customize the Column Orders in WordPress [Code Example]

While working on one of my WordPress sites I stumbled upon the need to customize (reorder) the column order while I was adding new columns on some admin pages. Specifically in my case, the "Manage Posts" and "Manage Pages" pages. I saw people on the coding sites asking how to do it, with no one responding to them, and I was unable to really come up with a simple example by doing a little Google-Fu, so I figured it out on my own and thought I'd share.

All you really need to do is shuffle around the $defaults variable (which is an array). Here's the code:

4
I Averaged: 4 | 1 vote

Who's New

KolbyPea's picture
Titsworthaa's picture
Harrison11's picture
HlexAlicea's picture
NlexAlicea's picture
JeansKeyzhu's picture
Damnmy's picture
Vanackers's picture
BradyMartin's picture
CalamityPT's picture
zane truese's picture
Saadi's picture
qq qq qq's picture
jiang000 jiang000 jiang000's picture
Ash msdgroup's picture
Syndicate content
facebook codes exploits tips tricks Phrozen Crew
All contents ©Copyright GeekDrop™ 2009-2025
TOS | Privacy Policy