Coder Social home page Coder Social logo

danpoynor / admin-list-featured-image-column Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 5 KB

WordPress plugin that enables post-thumbnails and adds featured image thumbnails to admin list columns for selected post types.

PHP 100.00%
admin-ui custom-post-types featured-image list-column post-list thumbnails wordpress-plugin wordpress

admin-list-featured-image-column's Introduction

Admin List Featured Image Column

WordPress plugin that enables post-thumbnails and adds featured image thumbnails to admin list columns for selected post types.

Use Settings > Admin List Featured Image Column to select which post types show the column, define column label, and set the column thumbnail max width.

Features

  • Set which Post types show the thumbnail column in list view, including custom post types.
  • Set label for the column, such as 'Featured Image', 'Thumbnails', or 'Preview',
  • Set the column width to make the image larger or smaller.
  • Column is always the first column after check boxes.

Screenshots

Settings screen

admin-list-featured-image-columns-settings-page-screenshot

Example column display

admin-list-featured-image-columns-thumbnail-column-example-screenshot

Potential To-Do List

  • Add uninstall feature to remove settings from db.
  • Fix sorting bug so posts with missing images can be listed first.
  • Allow adding/removing the featured image from the Quick Edit panel.
  • On admin list pages, for any posts that don't have a featured image set yet, allow users to click on "Set featured image" in the thumbnail area to open the "Featured image" modal and select an image.
  • Add error handling and feedback to notify users of any issues that may occur during plugin activation or configuration.
  • Move configuration settings such as post types, column label, and max width into a separate file or array. This will make it easier to manage and update these settings in the future.
  • Add setting for column order.
  • Add support for other languages.
  • Test with a bunch of other plugins to check for conflicts.
  • Add unit tests.
  • Submit to https://wordpress.org/plugins/

admin-list-featured-image-column's People

Contributors

danpoynor avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.