• Resolved pmj

    (@pmj)


    Hi

    You kindly wrote a short plugin script a while back called “disable-post-images” which automatically prevented any featured images appearing at the top of posts. I’ve recently updated my site to run SemPress 1.4.5 and it seems that the plugin no longer works:

    https://cmx.org.uk/location-plus/

    Any chance of an updated plugin?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Can you provide a link to that small plugin? It may make it easier for others to help you.

    Thread Starter pmj

    (@pmj)

    It’s here:

    https://dl.dropboxusercontent.com/u/20936886/disable-post-images.php

    The contents are fairly short:

    <?php
    /*
     Plugin Name: disable post-thumbnails (SemPress)
     Plugin URI: https://gist.github.com/pfefferle/5160340
     Description: disable post-thumbnails (SemPress)
     Author: Matthias Pfefferle
     Author URI: https://notizblog.org
     Version: 1.0.0
     License: GPL v3 (https://www.gnu.org/licenses/gpl.html)
    */
    
    function remove_sempress_post_thumbnail() {
      remove_action('the_content', 'sempress_post_thumbnail', 1);
      remove_filter('the_content', 'sempress_post_thumbnail', 1);
    }
    add_action('init', 'remove_sempress_post_thumbnail');

    Thanks for any help.

    Thread Starter pmj

    (@pmj)

    Does anyone have any suggestions on this? Have tried one or two things in the CSS code to display:none on thumbnails but it blocks some of the post images in the process.

    Grateful for any help.

    Thread Starter pmj

    (@pmj)

    Have bulk deleted all Featured Images using this plugin:

    https://www.ads-software.com/plugins/quick-featured-images/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Disable Featured Images’ is closed to new replies.