WP Manifestindependent plugin directory
manifest / content / featured-cases-plugin

Featured Cases

A WordPress plugin to manage and display featured legal cases for law firms. Includes custom post type and meta fields for case type and settlement amount.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/jeduvalenzuela/featured-cases-plugin/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Test Document:

https://docs.google.com/document/d/1u4oRu3MOQ_u5OjVkxJ7nSHD0CToEQF5SJX9TmlPTTTA/edit?tab=t.0#heading=h.u8eqvkzcuhjq

Featured Cases Plugin

A professional WordPress plugin for law firms to showcase featured legal cases on their website. Built with clean, maintainable PHP code following WordPress best practices.

This plugin provides a complete solution for managing and displaying featured legal cases, including: -Custom Post Type for Featured Cases -Native WordPress meta boxes for case details -Shortcode for displaying cases on any page -Responsive grid layout -Admin column customization -Elementor Widget (feature option) to use with Elementor

Custom Post Type -Post Type: "featured_case" -Slug: "/featured-cases/" -Supports: Title, Editor, Thumbnail, Excerpt -Admin Menu:** "Featured Cases" with portfolio icon -Gutenberg Compatible: Yes -Elementor Compatible: Yes

Custom Fields Each featured case includes: 1 - Case Type (Dropdown): -Car Accident -Work Injury -Medical Malpractice -Slip and Fall -Wrongful Death -Personal Injury -Other

Note: Case types are fully customizable via the Settings page. You can add, edit, remove, or reorder case types to match your firm's needs.

2 - Settlement Amount (Text field):

Display Options -Shortcode: [featured_cases] -Default Display: Shows 3 most recent cases -Elementor Widget: Full-featured widget with visual controls -Responsive Design: Adapts to mobile, tablet, and desktop

Creating Featured Cases 1 - Go to "Featured Cases → Add New" in WordPress admin 2 - Enter the case title 3 - Add case description in the editor 4 - Fill in the "Case Details" meta box: -Select Case Type -Enter Settlement Amount (e.g., "$25,000") 5 - Optionally add an excerpt and featured image 6 - Click "Publish"

Shortcode Parameters

[featured_cases number="3" order="DESC" orderby="date"] number - Number of cases to display (default: 3) order - Sort order: ASC or DESC (default: DESC) orderby - Order by: date, title, modified, etc. (default: date)

Settings Page

The plugin includes a settings page for managing case types dynamically.

-Accessing Settings Go to "Featured Cases → Settings" in the WordPress admin menu.

-Add New Case Type** 1 - Click the "Add Case Type" button 2 - Enter a "Value" 3 - Enter a "Label" 4 - The slug auto-generates from the label if left empty 5 - Click "Save Changes"

-Reorder Case Types 1 - Drag and drop rows using the menu icon (☰) 2 - The order will be reflected in all dropdowns 3 - Click "Save Changes"

Elementor Integration (Bonus Feature)

Content Controls -Number of cases to display -Order -Order by -Column layout -Excerpt display -Read more link

Style Controls -Container -Card Styling -Title Styling -Meta Information -Excerpt Styling -Read More Link