The WPFolks app is out on iPhone and Android. Free, no ads. Download on the App Store Get it on Google Play
Skip to main content
Login Join

Admin

Display Posts Pending Review in a WordPress Dashboard Widget

When multiple authors contribute to a WordPress website, editors and administrators often need to identify posts waiting for editorial approval. This snippet adds a Pending Review widget to the WordPress Dashboard. It displays a list of posts awaiting review, including their titles, authors, and submission dates. Editors can also access each pending post directly from […]


Display Image Dimensions and File Size in the WordPress Media Library

Managing images and media files becomes easier when you can see their dimensions and file sizes directly in the WordPress Media Library. This snippet adds two columns to the Media Library’s list view: Image Dimensions: Displays the width and height of uploaded images. File Size: Displays the size of each uploaded media file in a […]


Display User Registration Date in the WordPress Users List

WordPress administrators often need to know when a user account was created, especially when managing websites with multiple users. By default, the WordPress Users list does not display the registration date. This snippet adds a Registered Date column to the WordPress admin Users list, allowing administrators to see when each user account was created without […]


Display Media Attachment Count in the WordPress Pages List

When managing a WordPress website with many pages, it can be useful to know how many media files have been uploaded to each page. This snippet adds a Media Attachments column to the WordPress admin Pages list and displays the number of media files attached to each page. How to use Add the code to […]


Color-Code WordPress Pages by Assigned Template

Managing pages that use different custom templates can be difficult when a website has many pages. This snippet applies different background colors to rows in WordPress Admin → Pages → All Pages, based on each page’s assigned template. It helps developers visually distinguish selected templates without opening individual pages. How to use Add the code […]


Display Parent Page in the WordPress Pages List

Managing a website with many nested pages can be challenging when you need to identify each page’s parent. This snippet adds a Parent Page column to the WordPress admin Pages list. It displays the parent page’s title and provides a convenient link to edit it. How to use Add the code to your child theme’s […]


Display Assigned Page Template in the WordPress Pages List

When managing a WordPress site with multiple custom page templates, checking which template each page uses can be time-consuming. This snippet adds a Page Template column to the WordPress admin Pages list, displaying the assigned template for each page without opening the editor. How to use Add the code to your child theme’s functions.php file […]


Display Post ID in WordPress Admin Posts and Pages List

Quickly identify WordPress post and page IDs by adding a Post ID column to the admin lists. Useful for developers working with custom queries, Elementor templates, shortcodes, and plugin configurations. A lightweight PHP snippet with no additional plugin required. Steps Add the PHP code to your child theme’s functions.php file or use the Code Snippets […]


Add Custom Columns to Users Showing Role and Last Login

Add Role and Last Login columns to the WordPress Users table. The snippet automatically records the date and time a user logs in and displays it directly in Users → All Users. It also shows the user’s assigned WordPress role, making it easier for administrators to review user accounts without opening each profile individually. Users […]



Proudly supported by