Plugin info

Total downloads: 1,755
Active installs: 0
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 2
Last updated: 7/28/2008 (6365 days ago)
Added to WordPress: 7/28/2008 (17 years old)
Minimum WordPress version: 2.5
Tested up to WordPress version: 2.6
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 6365 days ago

20/100

Is S&P Search by File Type abandoned?

Possibly abandoned (last update 6365 days ago).

Compatibility

Requires WordPress: 2.5
Tested up to: 2.6
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

The Ultimate Video Player For WordPress – by Presto Player
Rating 4.8/5 (321 reviews)Active installs 100,000
Seriously Simple Podcasting
Rating 4.7/5 (324 reviews)Active installs 30,000
Compact WP Audio Player
Rating 4.1/5 (68 reviews)Active installs 20,000
WP Photo Album Plus
Rating 4.7/5 (199 reviews)Active installs 10,000
HTML5 Audio Player – The Ultimate No-Code Podcast, MP3 & Audio Player
Rating 4.6/5 (166 reviews)Active installs 10,000
rtMedia for WordPress, BuddyPress and bbPress
Rating 3.7/5 (148 reviews)Active installs 10,000

Description

Break your search up by file types. Implements methods for separating searches by type [post|video|audio|image]

todo: * restrict results to status = ‘published’

Installation

Install

  1. Unzip the sp-search-by-file-type.zip file.
  2. Upload the the sp-search-by-file-type folder (not just the files in it!) to your wp-contents/plugins folder. If you’re using FTP, use ‘binary’ mode.

Activate

  1. In your WordPress administration, go to the Plugins page

Implement

To use this plugin, add links in your search/tags/categories/etc loops that set the type so as to filter the list.

Usage: http://someurl/?type=[post|video|audio|image]

Tab Example:

<ul class="search_filters">     <li><a href="<? bloginfo('url'); ?>?s=<? echo $_GET['s'] ?>">All</a></li>     <li><a href="<? bloginfo('url'); ?>?s=<? echo $_GET['s'] ?>&type=post">Posts</a></li>     <li><a href="<? bloginfo('url'); ?>?s=<? echo $_GET['s'] ?>&type=image">Images</a></li>     <li><a href="<? bloginfo('url'); ?>?s=<? echo $_GET['s'] ?>&type=video">Videos</a></li>     <li><a href="<? bloginfo('url'); ?>?s=<? echo $_GET['s'] ?>&type=audio">Audio</a></li> </ul> 

get_type($id) can be used within the loop to detect the post mime type.

If you find any bugs or have any ideas, please mail us.

sp_search($type) can be used before query_posts() to restrict results within a template. Example:

sp_search('video'); query_posts(); if (have_posts()) : // internal loop here endif; 

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

No changelog available