Support » Plugin: Post List Featured Image » How to modify to work with custom post types!

  • Resolved bradmkjr


    I modified the plugin for my needs, by adding the thumbnails to the custom post type portfolio, by adding these lines:

    line: 115 of post-list-featured-image.php
    add_filter(‘manage_portfolio_posts_columns’, array(&$this, ‘posts_columns’), 5);
    line: 118 of post-list-featured-image.php
    add_action(‘manage_portfolio_posts_custom_column’, array(&$this, ‘posts_custom_columns’), 5, 2);

    Adjust portfolio with the name of your custom post type and enjoy.

    The custom post types where added to my site by a paid theme, so they had also overridden the columns that appear, but most users shouldn’t have that issue.

Viewing 1 replies (of 1 total)
  • Plugin Author Johnny


    If you wish to alter the core files of the plugin, and you know what you are doing, then of course you are free to do so. Even though we do NOT suggest that method, as you will lose those settings upon an update.

    Custom Post Types is now supported in the pro addon. In keeping with the ethics of the WP Plugin Directory ToS, I won’t provide a link to that information.

    However, that information can be found in the settings sections of the free version.

Viewing 1 replies (of 1 total)
  • The topic ‘How to modify to work with custom post types!’ is closed to new replies.