WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Browse Content by My Solr Server

A WordPress widget that browses content by standard WordPress attributes (categories, tags and authors) and custom fields.

Prerequisite

Install and activate Advanced Search by My Solr Server plugin 2.0.0 and greater (http://wordpress.org/extend/plugins/advanced-search-by-my-solr-server/). Index your blog content into Solr (see Solr hosting provider here : http://www.mysolrserver.com/)

Installation

  1. Upload the browse-content-by-my-solr-server folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Drad & drop the widget in the sidebar
  4. Edit the widget settings

Configuration

  1. Provide a widget title
  2. Provide the standard WordPress attributes (categories, tags and authors) and custom fields to be used in the widget
  3. Select the template file from you theme to be used to show posts list. By default, the search.php template is used. You can chose to create a specific template. For exemple, with the default WordPress themes, you can copy search.php to browse.php and remove the line that display the message "Search Results for:". A browse.php sample file is provided in the sample directory.

Customize the posts list

As explained just before, you can create a dedicated template file in your theme based for example on search.php. This template is in charge to implement the WordPress loop.

<?php if ( have_posts() ) : ?> ... <?php while ( have_posts() ) : the_post(); ?> ... <?php endwhile; ?>

Customize the widget display

The widget uses the template files template/mssbc_default.php and template/mssbc_default.css.

You can implement your own template by copying theses two files as mssbc_custom.php and mssbc_custom.css. These two new files can be located in the widget's template directory or in your theme's main directory.

Requires: 3.0.0 or higher
Compatible up to: 3.3.2
Last Updated: 2013-1-2
Downloads: 1,108

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1