• Resolved myplugins

    (@myplugins)


    Hello… hope you are well

    I either only just noticed it or it occurred when uninstalling a different plugin. Basically my home page is a list of most recent posts. A page that I can’t get the ID for as I don’t think there is one. And I have just noticed that in the excerpt of the 1st post the text from this plugin shows up. I would prefer for it not to appear on the home page at all.

    What solution for this would you suggest. I could do something like.. if is_home but I would need specific directions from you. I’m sure posting that here will help out some more people too!

    Thanks

    http://wordpress.org/plugins/what-would-seth-godin-do/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter myplugins

    (@myplugins)

    For others with this problem …what worked for me was adding this code:

    if (is_home() && is_front_page()) {
    return $content;
    }

    in the plugin source below this line of code:

    if ( ! is_home() && ! is_front_page() && ! is_single() && ! is_page() ) {
    return $content;
    }

    Thread Starter myplugins

    (@myplugins)

    and also add

    .home #wwsgd{display:none !important;}

    to your css

    Plugin Author Richard K Miller

    (@richardkmiller)

    Hi, I’m glad you found a solution, and thanks for posting your code!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin content appearing on home page’ is closed to new replies.