WordPress.org

Ready to get started?Download WordPress

Forums

WordPress.com Stats
How remove Jetpack ad? (6 posts)

  1. kjetilgf
    Member
    Posted 2 years ago #

    So: How do we get rid of the BIG "Get Jetpack now" ad on the top of our dashboard's plugin panel after updating the stats plugin to v 1.8.5?
    @ Automattic:
    I don't mean to be impolite, but:
    If you like people to use your plugins, that's fine, but let them choose. Even an ad like this is fine. But please do provide an "OK, thanks, I'll think about it" button to close the ad, OK?
    Personally I don't need any of the other plugins provided in the Jetpack, just the stats. For now I'll downgrade to v 1.8.4 (correction: 1.8.1, the latest without ad).
    Keep up your good work!
    Thanks

  2. deancrabb
    Member
    Posted 2 years ago #

    Go into the "edit" option on the Jetpack plugin.

    find the text that says

    function admin_connect_notice() {
    		// Don't show the connect notice on the jetpack settings page. @todo: must be a better way?
    		if ( false !== strpos( $_SERVER['QUERY_STRING'], 'page=jetpack' ) )
    		return;

    put the text "return;" just like the below:

    function admin_connect_notice() {
    		// Don't show the connect notice on the jetpack settings page. @todo: must be a better way?
    		return;
    		if ( false !== strpos( $_SERVER['QUERY_STRING'], 'page=jetpack' ) )
    		return;

    Then save the file. Enjoy!

    Cheers
    Dean

  3. Tim Moore
    Moderator
    Plugin Author

    Posted 2 years ago #

    Hi there,

    There's an option in the WordPress.com Stats settings page that will dismiss the Jetpack notice entirely. The option is labeled as "Jetpack Notice."

    Thanks,

    Tim

  4. kjetilgf
    Member
    Posted 2 years ago #

    Hi guys
    @ Dean: I use the Stats plugin. I don't need the Jetpack, - at least not Jet... :o)
    @ Tim: Our site is on a selfhosted server (not on wordpress.com). No such option there.
    Anyway, thanks a lot for trying!
    Kj

  5. Tim Moore
    Moderator
    Plugin Author

    Posted 2 years ago #

    Hi KJ,

    There is a settings page for the Stats plugin when you install it (look under your Settings menu). In that page, there is an option to disable the message.

    Thanks,

    Tim

  6. kjetilgf
    Member
    Posted 2 years ago #

    Tim: I was wrong. There IS such an option.
    I just missed because the settings page is placed in the Plugins' menu, not along with all the other settings (in the Settings menu).
    Thanks - ad gone - back on version 1.8.5
    Kj

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic