This plugin can be used to connect to another wordpress blog. I created this widget to display a list of posts from another blog of mine that resided in a subdomain on the same server. The options you have is to display posts from multiple categories from your sub blog.
Let’s say that you have a blog www.yourblog.com and another blog named sub.yourblog.com and you wish to display a list of posts in your www.yourblog.com from sub.yourblog.com what you can do is install the plugin in www.yourblog.com and configure it. This plugin needs some information in order to connect to the database of your other blog. You can find all the needed information in your wp-config.php file of your sub.yourblog.com. You can display a summary of each post including a link to the category that it belongs to.
Installation
Unzip the plugin/widget into your plugins directory and activate it
Usage:
- go to Settings and select Connect2Site
- write a header for the widget (if you use one)
- enter
- Category ID = the category ID number of the category that you want to display posts from (in the example from sub.yourblog.com). You can specify multiple categories delimeted by comma (i.e. 22,44,55)
- the database name of your sub.yourdomain.com (check your wp-config.php file ***)
- DB Prefix = the DB_prefix usually wp_
- dbUser = the user name that connects to your sub.yourdomain.com database
- dbPassword = the password of the user above
- Domain = is the full domain name to connect when you click a post (in the example sub.yourdomain.com)
- Limit Posts = how many posts you wish to be displayed
- Limit Summary = the number of characters to display from the post content
- Display category name = check it if you wish to display the category name (and a link)
- Display comment count = check it if you wish to display a comment count
- Open in new window = if checked the output will be displayed in a new window
- click Update settings
- You may use the widget for your sidebar
You can see an example of the widget in my sidebar with the title WWW.KOUNOUPAKI.GR. In this widget I have selected two different categories, category and comment display. Links to my blog are opened in new window (may be it looks Greek to you but it is !). Check out the short codes here.
*** wp-config.php sample. The required fields are marked as WIDGET FIELD
1 2 3 4 5 6 7 8 | // ** MySQL settings ** // define('DB_NAME', 'mywordpress_db'); // THIS IS WIDGET FIELD dbName define('DB_USER', 'dbusername'); // THIS IS WIDGET FIELD dbUser define('DB_PASSWORD', 'mysecretpassword'); // THIS IS WIDGET FIELD dbPassword define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value define('DB_CHARSET', 'utf8'); // You can have multiple installations in one database if you give each a unique prefix $table_prefix = 'wp_'; // THIS IS WIDGET FIELD DB prefix |
Troubleshooting: in case of a problem deactivate the plugin or delete it from your plugin directory.
DOWNLOAD Connect2site
Compatibility
The plugin is compatible with WP 2.9.2 (running on this site)
RELEASE HISTORY
CURRENT RELEASE Connect2site 1.2.3
- Minor fixes
- CHANGE:Added connect2site id for CSS playground
RELEASE Connect2site 1.2.2
- BUG FIX: When no post limit is set you get a DB error
- CHANGE:Display Posts in descending order (latest first)
RELEASE Connect2site 1.2.1
- Added H3 tag in post title when using post short code
RELEASE Connect2site 1.2
- Changed: moved widget setup to settings
- Added: Short codes to display results in Posts and/or Pages
- Added: Short codes with various independent options to dipsplay more categories
- Added: Short code to display a single post in a page (full or exceprt content)
RELEASE Connect2site 1.1
- Added: Multiple category selection (more than one category post dipslay)
- Added: Display (on/off) post summary (limit number of characters)
- Added: Display (on/off) comment count
- Added: Display Category (with link to sub blog category id)
RELEASE Connect2site 1.0
Initial Release
Popularity: 100% [?]



{ 27 comments… read them below or add one }
← Previous Comments