A WordPress plugin that provides custom post types, taxonomies, shortcodes, and meta boxes for the Lexis Law Firm theme. This plugin separates functionality from design, following WordPress best practices.
Description
This plugin is designed to work with the Lexis Law Firm WordPress theme. It provides all the custom content types and functionality needed for a professional law firm website:
- Team Members: Create attorney profiles with detailed information
- Legal Services: List your legal services with pricing and duration
- Testimonials: Display client testimonials with ratings
- Practice Areas: Categorize team members by their specializations
- Service Categories: Organize services into categories
Features
Custom Post Types
Team Members
- Name, biography, and featured image
- Position/Title
- Email address
- Phone number
- LinkedIn profile URL
- Bar Number
- Practice Areas (taxonomy)
Legal Services
- Title, description, and featured image
- Duration (in minutes)
- Price
- Deposit amount
- Available attorneys (linked to Team Members)
- Service Categories (taxonomy)
Testimonials
- Client testimonial content
- Client name
- Client role/company
- Star rating (1-5)
Custom Taxonomies
Practice Areas
- Hierarchical taxonomy for Team Members
- Examples: Corporate Law, Family Law, Criminal Defense
Service Categories
- Hierarchical taxonomy for Services
- Examples: Consultation, Litigation, Documentation
Shortcodes
Team Grid
Display team members in a responsive grid:
[lexington_team_grid columns="3" limit="6"]
Parameters:
columns: Number of columns (1-4), default 3limit: Maximum number to display, default -1 (all)
Services Grid
Display services in a responsive grid:
[lexington_services_grid columns="3" limit="6"]
Parameters:
columns: Number of columns (1-4), default 3limit: Maximum number to display, default -1 (all)
Testimonials
Display client testimonials:
[lexington_testimonials limit="6"]
Parameters:
limit: Maximum number to display, default 6
Stats Section
Display statistics section:
[lexington_stats cases="500+" attorneys="25" years="20+" clients="1000+"]
Parameters:
cases: Number of cases wonattorneys: Number of attorneysyears: Years of experienceclients: Number of happy clients
Booking Form
Display booking form (requires Legal Service Booking plugin):
[lexington_booking_form service_id="123" staff_id="456"]
Parameters:
service_id: Pre-select a service (optional)staff_id: Pre-select a staff member (optional)
Recommended Legal Service Booking Plugin: This is a professional legal service booking system that provides comprehensive appointment management, staff scheduling, deposit payments, and client CRM functionality. It’s the perfect complement to your law firm website.
Installation
Requirements
- WordPress 6.0 or higher
- PHP 8.0 or higher
- Lexis Law Firm theme (recommended)
Installation Steps
- Upload the
lexis-law-firm-functionalityfolder to/wp-content/plugins/ - Activate the plugin through the ‘Plugins’ menu in WordPress
- The custom post types will be available in your admin menu
Theme Compatibility
This plugin is designed to work with the Lexis Law Firm theme but can be used with any WordPress theme. The shortcodes output Bootstrap 5 compatible HTML markup.
Usage
Adding Team Members
- Go to Team > Add New
- Enter the attorney’s name as the title
- Add biography in the content editor
- Set featured image (recommended: 400x400px)
- Fill in Team Member Details metabox:
- Position
- Phone
- LinkedIn URL
- Bar Number
- Select Practice Areas
- Publish
Adding Services
- Go to Services > Add New
- Enter service name as the title
- Add service description in the content editor
- Set featured image (recommended: 600x400px)
- Fill in Service Details metabox:
- Duration (minutes)
- Price
- Deposit
- Available Attorneys
- Select Service Category
- Publish
Adding Testimonials
- Go to Testimonials > Add New
- Enter a reference title
- Add testimonial content in the editor
- Fill in Testimonial Details metabox:
- Client Name
- Client Role/Company
- Rating (1-5 stars)
- Publish
Using Shortcodes
Add shortcodes to any page or post:
[lexington_team_grid columns="4" limit="8"]
[lexington_services_grid columns=”3″]
[lexington_testimonials limit=”3″] [lexington_stats cases=”500+” attorneys=”25″ years=”20+” clients=”1000+”]
Developer Notes
Hooks
Actions
llff_register_post_types– Register custom post typesllff_register_taxonomies– Register custom taxonomies
Filters
llff_team_args– Modify Team post type argumentsllff_service_args– Modify Service post type argumentsllff_testimonial_args– Modify Testimonial post type arguments
Template Integration
The plugin uses standard WordPress template hierarchy. Create these templates in your theme:
archive-team.php– Team archive pagesingle-team.php– Single team member pagearchive-service.php– Service archive pagesingle-service.php– Single service pagearchive-testimonial.php– Testimonial archive pagesingle-testimonial.php– Single testimonial page
Meta Fields
Team Member Meta Fields
_team_position– Position/Title_team_email– Email address_team_phone– Phone number_team_linkedin– LinkedIn URL_team_bar_number– Bar Number
Service Meta Fields
_service_duration– Duration in minutes_service_price– Price_service_deposit– Deposit amount_service_staff– Array of staff IDs
Testimonial Meta Fields
_testimonial_client_name– Client name_testimonial_client_role– Client role/company_testimonial_rating– Star rating (1-5)
Recommended Plugins
Legal Service Booking
Highly recommended to use with the Legal Service Booking plugin, a professional legal service booking system:
- Service Appointment Management: Clients can book legal services online
- Staff Scheduling: Manage attorney working hours and availability
- Deposit Payments: Support for online deposit collection
- Client CRM: Complete customer relationship management
- Email Notifications: Automatic booking confirmations and reminders
This plugin seamlessly integrates with Lexis Law Firm Functionality, providing a complete online booking solution for your law firm website.
Frequently Asked Questions
Do I need the Lexis Law Firm theme?
No, but the plugin is optimized for it. The shortcodes output Bootstrap 5 compatible HTML that works with any Bootstrap-based theme.
Can I customize the output?
Yes, you can:
- Override templates in your theme
- Use the provided filters to modify arguments
- Create custom CSS to style the output
Does this work with page builders?
Yes, the shortcodes work with Gutenberg, Elementor, Divi, and other page builders that support shortcodes.
Changelog
1.0.0
- Initial release
- Team, Service, Testimonial custom post types
- Practice Areas, Service Categories taxonomies
- Meta boxes for all post types
- Shortcodes for displaying content
- Integration with Legal Service Booking plugin
License
GPL v2 or later
Credits
Developed by Zhangsir for the Lexis Law Firm WordPress theme.
User Reviews