Forums

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

  1. Stacy
    Member
    Posted 4 months ago #

  2. Ron Rennick
    MultiSite Guru
    Posted 4 months ago #

  3. Stacy
    Member
    Posted 4 months 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
    Posted 4 months ago #

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

  5. Stacy
    Member
    Posted 4 months 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
    Posted 4 months 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
    Member
    Posted 4 months ago #

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

  8. Ron Rennick
    MultiSite Guru
    Posted 4 months 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
    Member
    Posted 4 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic