Support » Plugin: Hide Featured Image » It just doesn’t work, simple as that.

  • As at 29 January 2019 and 8 months from the last update, this plugin just doesn’t work. I assume it needs an update. I’m running WordPress 5.0.3 with Themify Corporate theme.

Viewing 1 replies (of 1 total)
  • Check your featured image class name and manualy modify the plugin index.php file.
    Search for function sh_featured_image()

    modify the following lines:

    if( $hide ){ ?>
    <style>
    .has-post-thumbnail img.wp-post-image,
    .attachment-twentyseventeen-featured-image.wp-post-image{ display: none !important; }
    </style><?php
    }

    to

    if( $hide ){ ?>
    <style>
    .has-post-thumbnail img.wp-post-image,
    .attachment-twentyseventeen-featured-image.wp-post-image, .feature-image{ display: none !important; }
    </style><?php
    }

    I’m using Magazine Newspaper theme and my featured image class name is .feature-image

    • This reply was modified 8 months, 2 weeks ago by  darkm00n.
    • This reply was modified 8 months, 2 weeks ago by  darkm00n.
Viewing 1 replies (of 1 total)
  • The topic ‘It just doesn’t work, simple as that.’ is closed to new replies.