Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

WordPress admin list tables are easier to manage when they show the fields your team actually uses. A custom column always has two parts: a heading added to the table’s columns array, and a callback that supplies a value for each row. Use the hook pair that matches the screen—Pages, a post type, or Users—or configure the tables without code through an Admin Columns plugin.

How WordPress custom columns work

The heading and the row value are separate operations. A columns filter receives an associative array whose keys identify columns and whose values are the labels displayed in the table header. You add a unique key, return the array, then attach a callback to the matching custom-column action. The callback checks that key, retrieves the record’s data, and outputs an escaped value.

Do not reuse built-in keys such as title, author, date, categories, or tags. Give your column a site-specific key such as site_review_flag to avoid collisions with WordPress or another plugin.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose the correct hook pair

Screen or content type Heading hook Row-value hook Important detail
Pages manage_pages_columns manage_pages_custom_column Use the dedicated Pages hooks.
Non-hierarchical custom post type manage_{$post_type}_posts_columns manage_{$post_type}_posts_custom_column Replace {$post_type} with the registered post-type slug.
Hierarchical custom post type The post type’s columns filter manage_pages_custom_column WordPress documents the Pages custom-column action as the hierarchical exception.
Users manage_users_columns manage_users_custom_column User rows use user-list hooks rather than post hooks.

Check the target WordPress release and the post type’s registration before deploying. A heading can appear correctly while row values remain blank if the output action does not match the screen.

#1 Best Overall
Sale
Nulaxy Ergonomic Adjustable Laptop Stand for Desk, Dual Foldable Computer Riser with Advanced Heat-Vent, Heavy-Duty Portable Notebook Holder for Posture Correction, Compatible with Mac 10-16" Laptops
  • Ergonomic Posture Correction: Designed to elevate your laptop to the perfect eye level, this adjustable laptop stand significantly reduces neck, shoulder, and spinal fatigue. Transform your desk into a healthier workstation, ideal for long hours of typing, Zoom meetings, or gaming.
  • Unshakable Dual-Rod Stability: Unlike single-hinge models, our stand features a highly engineered dual-support rod mechanism. It perfectly distributes weight to ensure a 100% wobble-free typing experience, safely supporting heavy-duty devices up to 22 lbs (10kg).
  • Advanced Thermal Cooling Panel: Maximize your device's performance. The unique geometric heat-vent design on the upper panel provides superior airflow compared to standard solid stands. This continuous heat dissipation prevents your laptop from thermal throttling and hardware damage during intensive tasks.
  • Universal 10-16” Compatibility: A versatile computer riser that seamlessly fits all 10 to 16-inch laptops. Broadly compatible with MacBook Pro/Air, Dell XPS, HP, Lenovo, ASUS, Chromebook, and large gaming laptops. The anti-slip silicone pads firmly grip your device and protect it from scratches.
  • Foldable, Portable & Ready to Go: Maximize your productivity anywhere. The dual-foldable design allows the stand to collapse completely flat in seconds. Easily slip it into your backpack or briefcase, making it the ultimate portable office accessory for business trips, cafes, or hybrid work setups.

Add a column to the Pages screen with PHP

Place site-specific code in a small plugin or your child theme’s code, rather than editing WordPress core. This pattern adds a “Review flag” column and reads a value from post meta:

<?php
add_filter( 'manage_pages_columns', 'site_add_page_admin_column' );
function site_add_page_admin_column( $columns ) {
    $columns['site_review_flag'] = __( 'Review flag', 'site-text-domain' );
    return $columns;
}

add_action( 'manage_pages_custom_column', 'site_render_page_admin_column', 10, 2 );
function site_render_page_admin_column( $column_name, $post_id ) {
    if ( 'site_review_flag' !== $column_name ) {
        return;
    }

    $value = get_post_meta( $post_id, '_site_review_flag', true );
    echo esc_html( $value );
}
  1. The filter receives the existing headings; preserve them and append your uniquely named key.
  2. The action receives the column name and current Page ID; branch only when the name matches your key.
  3. Retrieve only the data needed for that row and escape it for the output context. esc_html() is appropriate for plain text shown as HTML text; use a context-specific escaping function if you output an attribute, URL, or richer markup.

The WordPress Developer Resources reference describes the columns value as an associative array of column headings. The example above illustrates the documented hook shape; adapt and test it on your own site.

Rank #2
Sale
BESIGN LS03 Aluminum Laptop Stand, Ergonomic Detachable Computer Stand, Notebook Riser, Laptop Mount Compatible with Air, Pro, Dell, HP, Lenovo More 10-15.6" Laptops, Silver
  • Broad Compatibility: Besign LS03 Laptop Mount is compatible with all laptops from 10''-15.6'', such as Air 13, Pro 13 / 15 / 2018 / 2017 / 2016, Lenovo ThinkPad, Dell, HP, ASUS, Chromebook, and other notebooks.
  • Ergonomic Design: This LS03 Laptop Stand could elevate your laptop by 6’’ to a perfect viewing level, help you improve your posture and reduce neck and shoulder pain. This laptop stand is super easy to detach and assemble.
  • Stable And Protective: This laptop stand is made of premium Aluminum alloy, it is sturdy, support up to 8.8 lbs(4kg), no worry any wobble at all; the rubber on the holder hands sticks tightly, ensure your laptop stable on the stand and prevent any scratches.
  • Keep Laptop Cool: the open aluminum design provides good ventilation and airflow to prevent your laptop from overheating. It folds flat if you need to store it, create extra space on your desk and keep your desk clean and organized.
  • Easy to Use: thanks to the detachable design, you could assemble it very easily it 3 steps.

Use a custom post type

Non-hierarchical post types

For a post type registered with a slug such as property, use manage_property_posts_columns and manage_property_posts_custom_column. The general form is:

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
add_filter( 'manage_{$post_type}_posts_columns', 'site_add_cpt_column' );
add_action( 'manage_{$post_type}_posts_custom_column', 'site_render_cpt_column', 10, 2 );

Replace the placeholder in both hook names with the actual slug; do not include braces. Keep the callback’s column key identical to the key inserted by the filter. Typical values include a custom field, taxonomy term, featured-image indicator, or a calculated status.

Rank #3
Sale
LOXP Adjustable Laptop Stand, Computer Stand with 360 Rotating Base
  • ✔️[Foldabe & Protable] - Foldable laptop stand for desk & Protable computer stand, It combines the advantages of market brackets, convenient travel laptop stand. Easy to use. Suitable for working at home, office and outdoor, improve comfort.
  • ✔️[360°Rotation] - The computer stand with 360° rotating base, 360° rotation connected with the base is more flexible, the computer stand allows you to rotate the laptop to any angle.
  • ✔️[Stable & Durable] - The Computer stand is made of one-piece fiber metal material, which is more durable and stable than ordinary aluminum alloy computer stands. The upgraded rotating base makes the stand performance more stable, and the non-slip silicone protects the laptop from sliding.Only supports laptops up to 16 inches.
  • ✔️[Ergonmic Desing] - You can freely adjust the height and angle of the laptop stand to keep it at eye level, which helps to reduce the pressure on your body while working. Whether sitting or standing, there is a comfortable angle.
  • ✔️[Wide Compatibility] - Our laptop stand is compatible with all laptops from 10-16 inches, such as MacBook Air/Pro, Google PixelBook, Dell XPS, HP, ASUS, Lenovo ThinkPad, Acer, Chromebook and Microsoft Surface, etc. It is an ideal companion for computer workers.

Hierarchical post types

If the custom post type is hierarchical, use its columns filter for the heading but the Pages custom-column action for output, as documented by WordPress. Confirm the callback arguments for the target screen before relying on a copied snippet.

Add a column to Users

User lists have their own hooks. Add the label with manage_users_columns and return the value from manage_users_custom_column. The callback can receive the column name and user ID, allowing you to read user metadata or format an existing account field.

Rank #4
Gogoonike Adjustable Laptop Stand for Desk, Metal Laptop Riser Holder
  • 【Adjustable & Ergonomic】:This laptop stand can be adjusted to a comfortable height and angle according to your actual needs, letting you fix posture and reduce your neck fatigue, back pain and eye strain. Very comfortable for working in home, office and outdoor.
  • 【Sturdy & Protective】 :Made of sturdy metal, it can support up to 17.6 lbs (8kg) weight on top; With 2 rubber mats on the hook and anti-skid silicone pads on top & bottom, it can secure your laptop in place and maximum protect your device from scratches and sliding. Moreover, smooth edges will never hurt your hands.
  • 【Heat Dissipation】 :The top of the laptop stand is designed with multiple ventilation holes. The open design offers greater ventilation and more airflow to cool your laptop during operation other than it just lays flat on the table.
  • 【Portable & Foldable】:The foldable design allows you to easily slip it in your backpack. Ideal for people who travel for business a lot.
  • 【Broad Compatibility】:Our desktop book stand is compatible with all laptops from 10-15.6 inches, such as MacBook Air/ Pro, Google Pixelbook, Dell XPS, HP, ASUS, Lenovo ThinkPad, Acer, Chromebook and Microsoft Surface, etc.Be your ideal companion in Home, Office & Outdoor.
add_filter( 'manage_users_columns', 'site_add_user_admin_column' );
function site_add_user_admin_column( $columns ) {
    $columns['site_department'] = __( 'Department', 'site-text-domain' );
    return $columns;
}

add_filter( 'manage_users_custom_column', 'site_render_user_admin_column', 10, 3 );
function site_render_user_admin_column( $output, $column_name, $user_id ) {
    if ( 'site_department' !== $column_name ) {
        return $output;
    }

    return esc_html( get_user_meta( $user_id, 'department', true ) );
}

Return the existing output when the key is not yours. Verify the callback signature against the WordPress version you support and escape the value before returning it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What information belongs in an admin column?

The best candidates are values already associated with each record and useful while scanning or triaging. Examples documented by Admin Columns include:

Best Value
Tonmom Adjustable Laptop Stand for Desk, Metal Foldable Laptop Riser
  • ✅【Adjustable & Ergonomic】:This laptop stand can be adjusted to a comfortable height and angle according to your actual needs, letting you fix posture and reduce your neck fatigue, back pain and eye strain. Very comfortable for working in home, office and outdoor.
  • ✅【Sturdy & Protective】 :Made of sturdy metal, it can support up to 17.6 lbs (8kg) weight on top; With 2 rubber mats on the hook and anti-skid silicone pads on top & bottom, it can secure your laptop in place and maximum protect your device from scratches and sliding. Moreover, smooth edges will never hurt your hands.
  • ✅【Heat Dissipation】 :The top of the laptop stand is designed with multiple ventilation holes. The open design offers greater ventilation and more airflow to cool your laptop during operation other than it just lays flat on the table.
  • ✅【Portable & Foldable】:The foldable design allows you to easily slip it in your backpack. Ideal for people who travel for business a lot.
  • ✅【Broad Compatibility】:Our laptop holder is compatible with all laptops from 10-17.3 inches, such as MacBook Air/ Pro, Google Pixelbook, Dell XPS, HP, ASUS, Lenovo ThinkPad, Acer, Chromebook and Microsoft Surface, etc.Be your ideal companion in Home, Office & Outdoor.
  • Custom fields such as a review status or internal reference.
  • Featured images, media details, or word counts.
  • Taxonomy terms and SEO descriptions.
  • User metadata.
  • For a real-estate post type, fields such as bedrooms, bathrooms, size, price, and photos.

Keep cells short enough to scan and avoid expensive queries for every row. If a value needs substantial editing or explanation, link to the edit screen instead of placing the entire workflow in the table.

No-code setup with Admin Columns

Admin Columns provides a configuration workflow for supported list tables. Open the table’s settings icon, or go to Dashboard → Settings → Admin Columns, select the list table, and choose + Add Column. From the settings list you can remove columns, change labels and widths, reorder them, and control visibility.

The WordPress.org listing describes the free core as supporting column management for posts, pages, users, comments, and media, including custom post types. It also lists Pro features such as sorting, filtering, inline editing, bulk editing, conditional formatting, and CSV export; taxonomy-screen support is described as a Pro option. Product packaging and compatibility can change, so check the current listing before installing or purchasing.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Code or plugin?

Choose code when… Choose a plugin when…
A developer can maintain a small, site-specific customization. Non-developers need to configure several tables.
You need one or two predictable values and no interactive tools. You need configurable sorting, filtering, inline or bulk editing, conditional formatting, or export.
You want the behavior defined alongside the site’s own code. You need a visual workflow across posts, pages, users, comments, or media.

This is a maintenance and workflow decision, not a proven performance or security ranking. Test either approach on a staging site and keep a recovery path before changing a production list table.

Troubleshoot blank or incorrect columns

  • Heading appears, cells are empty: confirm that the output hook matches the screen and that your callback tests the exact column key.
  • Nothing appears in the heading: make sure the filter returns the original columns array after adding your key.
  • Custom post type behaves like Pages: check whether it is hierarchical; hierarchical types use manage_pages_custom_column for output.
  • Another plugin changes the same column: rename your key so it is unique and avoid built-in keys.
  • Markup or security warnings: escape the value for its context and do not print untrusted HTML.
  • User column does not work: switch to manage_users_columns and manage_users_custom_column; post hooks do not populate the Users screen.
  • Plugin controls are missing: check whether the desired operation is listed as a Pro feature and confirm current compatibility with your WordPress release.

Pre-deployment checklist

  1. Identify the exact list table and post-type hierarchy.
  2. Choose a unique, lowercase column key and a translatable label.
  3. Preserve the existing columns array.
  4. Attach the matching output callback and confirm its arguments.
  5. Escape every value for its rendering context.
  6. Test empty, long, malformed, and permission-sensitive values on staging.
  7. Check the table at different screen widths and with other enabled plugins.

The Bottom Line

For a focused customization, add a unique key with the correct columns filter and render it through the matching custom-column hook. Use the Users hooks for user lists and the Pages output action for hierarchical post types. Choose Admin Columns when a team needs no-code configuration or interactive list-table operations.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.