Automatic activating plugins after WordPress installation

To activate the plugins that you want to be activated automatically after WordPress installation, copy those plugins to the /wp-content/plugins/ directory, then open the file schema.php from the directory /wp-admin/includes/ and add the plugins main files names in the active_plugins array which is in the $options array of the function populate_options.

Example:

‘active_plugins’ => array(“explanatory-dictionary/explanatory-dictionary.php”,”most-commenting-visitors/most-commenting-visitors.php”,”greetings/greetings.php”,”running-line/running-line.php”,”subscribe-to-author-posts-feed/subscribe-to-author-posts-feed.php”),

Leave a comment

8 Comments

  1. I’m feeling kind of stupid. I don’t know where to find the “/wp-content/plugins/ directory”.I don’t find any wordpress files on my hard drive and when I google it by adding /plugins/ to my admin file, nothing shows.

    Any help you can give me is appreciated.

    Reply
  2. MainStreet,

    Thank you for your reply.

    The files of WordPress have to be in the server side. If you find the files, you’ll find the “/wp-content/plugins/” directory.

    Reply
  3. Thanks for your reply, but how do I get to the server side? Maybe I’ve missed it, but I’ve searched and found many comments about the plugins directory but none that say how to access it.

    Again, I appreciate your help.

    Reply
  4. You can access to the server side by using FTP manager or panel (For example: CPanel), etc.

    Reply
  5. iteech68

     /  November 2, 2010

    I’m just as confused as MainStreet – I have no idea how to use an FTP manager or CPanel, so how am I supposed to install the plugins if I cant get to the server files?

    Reply
  6. iteech68,

    You can install new plugins from admin panel. Go to the “Plugins”->”Add New” and install the plugins you want.

    Reply
  7. Ruben,

    I know you must think I am a pain in the neck and I appreciate the help you are giving me. Each answer you give leads to another question. I don’t seem to have a “Plugins” category. I use widgets, tools, settings and all the rest at the admin panel, but no “Plugins”. Do I have to have an “Upgrade” to do this?

    Reply
  8. MainStreet,

    If you have a blog on wordpress.com, you cannot install plugins.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: