Install WordPress plugins without providing FTP access

1. In wp-config.php add define(‘FS_METHOD’, ‘direct’);
2. Make server writable the directories wp-content/, wp-content/plugins/
3. Install the plugin (copy the plugin dir into the wp-content/plugins dir).
4. Remove server writable right from directories wp-content/, wp-content/plugins/

Hope this will solve your problem.

Install and Setup WP Multisite Network

What is WP Multisite?

A WP multisite network allows to run and manage multiple WP sites from a single installation. You can create new websites instantly and manage them using the same username and password. You can even allow other users to signup and create their own blogs on your domain.

To enable Multisite, you need to access your website using an FTP client or cPanel file manager and open wp-config.php file.
Continue reading “Install and Setup WP Multisite Network” »

Display Recent Posts outside the WordPress

How to import recent post from your internal blog to your website without any difficulties.
First you need to create wp-latest-blogs.php file where you include wp-load.php for your wp blog.

    < ?php
    /**
    * WoredPress Latest blog entries
    * @package WordPress
    */
    require( './blog/wp-load.php' );
    // Load the recent top 10 posts
    query_posts( 'posts_per_page=10' );
    ?>
    

Continue reading “Display Recent Posts outside the WordPress” »

Create WordPress Plugin

To create a plugin, all you need to do is create a folder and then create a single file. First go to the wp-content/plugins folder, and create a new folder named myPlugin. Inside this new folder, create a file named myPlugin.php. Open the file in a text editor, and paste the following information in it:

< ?php
   /*
   Plugin Name: myPlugin Creator
   Plugin URI: http://www.nikolaynikolov.net
   Description: My fist plugin
   Version: 1.2
   Author: Nikolay Nikolov
   Author URI: http://www.nikolaynikolov.net
   License: GPL2
   */

You can go into the back end to activate your plugin. Of course, this plugin doesn’t do anything, but you can add functionality by yourself.
Continue reading “Create WordPress Plugin” »