• Resolved Sander

    (@sander-falise)


    There is a bug in this plugin; when checking “Hide from Front Page” the post will not be shown anywhere. There is an easy fix for this;

    In wp-content\plugins\wp-post-hide\includes\classes\class-xswpph-init.php on line 133
    change

    if( is_home() || function_exists( ‘is_front_page’ ) ) {

    to

    if( ( function_exists( ‘is_home’) && is_home() ) || ( function_exists( ‘is_front_page’ ) && is_front_page() ) ) {

    Unfortunately this plugin is no longer maintained so you’ll have to patch it yourself.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fix an error in plugin’ is closed to new replies.