WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Sitewide Tags Pages
Exclude specific blogs (9 posts)

  1. Stacy (non coder)
    Member
    Posted 2 years ago #

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

  3. Stacy (non coder)
    Member
    Posted 2 years ago #

    I made a plain text .php file with the line of code and uploaded to plugins via my host's ftp but it is not showing in wp's plugin directory to be activated.

  4. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    You need to give the plugin a valid header: http://codex.wordpress.org/Writing_a_Plugin

  5. Stacy (non coder)
    Member
    Posted 2 years ago #

    The one line is showing in the top left header and the backend says "The plugin generated 59 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin."

  6. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    Yes, it's giving you that error because you need to give the plugin a valid header (per the link I provided in my last post).

  7. Stacy (non coder)
    Member
    Posted 2 years ago #

    I had, which is why it was able to be activated now.

  8. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    Look at the other plugins you have installed in your site in the plugin editor & compare them to the one you created to see if you can spot something out of place.

    You most likely have an extra or missing quote, etc.

  9. Stacy (non coder)
    Member
    Posted 2 years ago #

    I copied and pasted exactly. Can you post the plugin code?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic