WordPress.org

Ready to get started?Download WordPress

Forums

CleanPrint
[resolved] Removing CleanPrint icons from my home page (5 posts)

  1. Salunyar
    Member
    Posted 1 year ago #

    Hi,

    I have installed cleanprint on my work's website (i'm not allowed to make it publicly viewable yet), and I have changed the Home Page setting from "Include" to "Exclude" in the CleanPrint Settings page, but cleanprint shows on my home page.

    I've checked my other plugins dn conditional tags to make sure the problem isn't there but I can't figure out how to fix this problem.

    Can you please help me?
    Thanks

    http://wordpress.org/extend/plugins/cleanprint-lt/

  2. kjodle
    Member
    Posted 1 year ago #

    If you can identify its ID, you can use custom CSS to hide it:

    .home #cleanprint {display:none;}

    #cleanprint is only a guess; I've never used this plugin. Use the Firebug addon for Firefox to nail it down.

  3. johncadams
    Member
    Plugin Author

    Posted 1 year ago #

    The plug-in uses the is_home() function to determine which is the home page. For more details see:

    http://codex.wordpress.org/Function_Reference/is_home

  4. Salunyar
    Member
    Posted 1 year ago #

    Thanks for your suggestions. This is my first website so I'm really a bit lost here!

    I've read the conditional tags and home function references a million times but it's like I'm reading a foreign language. So my best bet is using a custom CSS to hide it. I installed the Firebug plugin and this is what it fed back to me:

    div style="text-align:right;"

    a title="Print page" href="."
    img src="http://cache-02.cleanprint.net/media/pfviewer/images/CleanPrintBtn_text_small.png"

    a title="PDF page" href="."
    img src="http://cache-02.cleanprint.net/media/pfviewer/images/CleanPrintBtn_text_small.png"

    a title="Email page" href="."
    img src="http://cache-02.cleanprint.net/media/pfviewer/images/EmailBtn_text_small.png"

    Does that mean "cleanprint-exclude" is the ID? but when I insert .home #cleanprint-exclude {display:none;} it doesn't change anything..

  5. johncadams
    Member
    Plugin Author

    Posted 1 year ago #

    The buttons unfortunately are neither ID'd nor class'ed but this should still work for the home page:

    .home .cleanprint-exclude {
    display: none;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic