BFCM Alert! Drop 1 just landed. See what’s new. Drop 2 lands in 00d 00h 00m Explore Drop 1 →
Skip to content
  • Why Directorist
    Explore
    All Features Everything the plugin can do Solutions Directories you can build Integrations Plugins that work with Directorist Try Demo Click through real demo directories
    See the proof
    Comparison How we stack up against others Client Showcase Real sites built with Directorist
    Directorist AI
    Build your directory with AI

    Describe the directory you want and let AI build it for you.

    Try Directorist AI
  • Products
    Extensions

    Add powerful features

    Themes

    Ready-to-launch designs

    Templates

    Build pages faster

    Mobile App

    Native app for your directory

    Directorist AI

    Build and run with AI

  • Resources
    Get help
    Documentation Product guides and how-tos Support Centre Get help from our team Contact Us Sales and general questions
    Learn
    Directorist Academy Courses on directory building Blog Tips, trends and growth ideas What's New Latest releases and fixes
    Company
    About Us Roadmap
    Hire us
    Custom Work, Handled

    Need a new build, custom feature, integration, fix, or ongoing maintenance? Tell us.

    See How It Works View Our Work
  • Pricing
  • Custom
Sign In Try For Free
  • Why Directorist
    Explore
    All Features Everything the plugin can do Solutions Directories you can build Integrations Plugins that work with Directorist Try Demo Click through real demo directories
    See the proof
    Comparison How we stack up against others Client Showcase Real sites built with Directorist
    Directorist AI
    Build your directory with AI

    Describe the directory you want and let AI build it for you.

    Try Directorist AI
  • Products
    Extensions

    Add powerful features

    Themes

    Ready-to-launch designs

    Templates

    Build pages faster

    Mobile App

    Native app for your directory

    Directorist AI

    Build and run with AI

  • Resources
    Get help
    Documentation Product guides and how-tos Support Centre Get help from our team Contact Us Sales and general questions
    Learn
    Directorist Academy Courses on directory building Blog Tips, trends and growth ideas What's New Latest releases and fixes
    Company
    About Us Roadmap
    Hire us
    Custom Work, Handled

    Need a new build, custom feature, integration, fix, or ongoing maintenance? Tell us.

    See How It Works View Our Work
  • Pricing
  • Custom
Sign In Get Directorist

Directorist Core

  • Directorist MCP
    • Getting Started with Directorist MCP
  • Directorist Settings
    • Directorist Settings Panel (General)
    • Directorist Settings Panel (Search)
    • Directorist Settings Panel (Users & Accounts)
    • Directorist Settings Panel (Monetization)
    • Directorist Settings Panel (Notifications)
    • Directorist Settings Panel (Site & pages)
    • Directorist Settings Panel (Extensions)
    • Directorist Settings Panel (Appearance)
    • Directorist Settings Panel (Import / Export)
  • Listings Management
    • Listing Rejection Flow
    • Adding a Listing
    • General Listing Settings
    • Guest Listing Submission
    • All Listing Settings
    • Single Listing Settings
    • Category & Location
    • Map Setting
    • Badges Setting
    • Review Setting
  • Directory Builder
    • Overview
    • Multiple Directories
    • Create with AI
    • General tab
    • Add Listing Form
    • Conditional Logic
    • Single Page Layout
    • FormGent Integration
    • All Listing Layout
    • Search Form
  • Monetization
    • Monetization Overview
    • Configurations
    • Managing Orders
  • Search and Filter Settings
    • Nearby Sort
    • Search Page
    • Advanced Filter Widget
    • Search Result Page
    • Advanced Search and Filter
  • Customization
    • Customize Appearance
    • Email Customization
    • Registration and Login
    • Author Page
  • Advanced Settings
    • Maintenance
    • Schema Markup
    • Search Engine Optimization (SEO)
  • Shortcodes Library
    • Using Shortcodes in WordPress
    • Directorist Shortcodes
    • Add Listing Form
    • All Listings Page
    • Single Category Page
    • Single Location Page
    • Tags Page
    • All Locations Page
    • Search Listings
    • Payment & Checkout Page
    • All Categories Page
    • Search Results
    • Login and Registration
    • User Dashboard
    • Author Profile
    • Search Results
  • Getting Started
    • Plugin Dashboard
    • Getting Started
    • Installation & Activation
    • Directorist Setup Wizard
    • Directorist Membership (Themes & Extensions)
    • Setting Up the Required Pages
    • Managing Categories
    • Managing Location
    • Manage Tags
    • Terms and Conditions Setup
    • Import and Export

Directorist AI

  • Getting started and settings
  • Connections and credits
  • Create and improve directories
  • Generate and edit listings
  • Import listings with AI
  • Generate and style page layouts
  • Gutenberg, Elementor and Divi
  • Visitor chatbot
  • Chat appearance
  • Listings for AI
  • Limits, data and troubleshooting

Extensions

  • Directorist Events
  • Installation
  • Activate/Renew License
  • Directorist Pay Per Lead
  • Directorist Gutenberg Integration
  • M-Pesa Payment Gateway
  • Paystack Payment Gateway
  • Mark as Sold
  • Directorist Ads Manager
  • Setting Up Directorist Live Chat
  • Directorist Coupons
  • Directorist – BuddyPress Integration
  • Setting Up Directory Linking
  • Job Manager
  • AddonsKit for Bricks
  • Mailchimp Integration
  • Directorist Announcement
  • Directorist Notifications Pro
  • Directorist Analytics
  • Directorist AI Search
  • Multi Directory Linking
  • Listing Importer
  • WooCommerce Pricing Plans
  • Business Hours
  • Universal Search
  • Search Alert
  • Advanced Review
  • PayPal Payment Gateway
  • Stripe Payment Gateway
  • Authorize.net Payment Gateway
  • Listings Slider & Carousel Listing
  • WPML – Translation Guide
  • Listings with Map
  • Digital Marketplace
  • Job Manager
  • Claim Listing
  • Coupon
  • Image Gallery
  • Listing FAQs
  • Compare Listings
  • Directorist Mobile App 2.0
  • Booking
    • Installation & Configuration
    • Google Calendar Integration
    • Service Booking
    • Rental System
    • Event Booking
  • Pricing Plans
    • Directorist Pricing Plans Shortcode Guide
    • Migration Guide
    • Plan Creation and Full Workflow
    • Multiple Pricing Plans: Setup & How It Works
  • Divi Integration
    • Designing Single Listing Page with Divi
    • Designing All Listing Page with Divi
    • Getting Started with Divi Integration Extension
  • Elementor Integration
    • Getting Started with Directorist Elementor Integration

Themes

  • dCarList 
  • dTour Theme
  • Importing dTour Templates
  • Getting Started with Theme
  • Quick Installation & Demo Import
  • Full Theme Setup & Customization

Tutorials

  • How to Build and Grow an Investors Directory
  • How to Make Money from Your Business Directory
  • How to Use Data to Build a Smarter and More Profitable Directory 
  • How to Build a Free University Directory
  • How to Translate Your Directory Theme and Plugin with Poedit
  • How to Create a Medical Directory Website
  • How to Make Your Directorist Website Multilingual

Developers Doc

  • Template Override
  • Action Hooks
  • Filter Hooks
  • API Reference
View Categories
  • Home
  • Docs
  • Developers Doc
  • Template Override

Template Override

Template overriding refers to customizing a template file without making changes to the core file. Generally, when you make changes to the core file, a new plugin update overrides all of your changes. Directorist offers a robust templating system that allows you to override all the Directorist default template files without amending any of the plugin codes.

How Template Overriding Works #

  • Locate the plugin template: In the Directorist plugin folder, go to wp-content/plugins/directorist/templates. Find the template file you want to change. For example, the “About” section of the Author Profile page is at: wp-content/plugins/directorist/templates/author/about.ph
  • Copy the file: Make a copy of this template file on your computer.
  • Create matching folders in your theme: In your active theme directory (e.g. wp-content/themes/yourtheme), create a new folder named directorist. Inside it, replicate any subfolders from the plugin’s path. For the example above, you would create directorist/author because the file was in templates/author.
  • Paste the template into your theme: Place the copied file into the new theme folder. Following our example, paste about.php into: wp-content/themes/yourtheme/directorist/author/about.php
  • Edit the theme copy: Now that the file is in your theme, you can safely edit it. WordPress will use this version instead of the plugin’s default. Your changes are preserved even if the plugin updates (because you did not touch the original plugin file).

Example: Author “About” Template #

  • Plugin template path: wp-content/plugins/directorist/templates/author/about.php
  • Theme override path: wp-content/themes/yourtheme/directorist/author/about.php

These paths show that the theme file mirrors the plugin’s path after the directorist folder.

By following this structure, Directorist will load your custom template. In this example, once you paste about.php into your theme, you can modify the Author Profile “About” section without affecting core files.

Important Notes #

  • Safe from updates: Your custom template file in the theme won’t be overwritten by Directorist updates. You own that file in your theme.
  • Keep templates in sync: The plugin may introduce new features or changes in its default templates over time. When Directorist updates a template, you should copy the updated file from the plugin into your theme and merge your custom code into it. Always keep a backup of your custom changes so you can reapply them after updating the template.
  • Testing: After overriding a template, test your site to ensure your changes display correctly and do not cause errors.

By following these steps and best practices, you can confidently override Directorist templates in a clean, update-safe way

What are your Feelings

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on Oct 24, 2025 8:35 am
API ReferenceAction Hooks
Table of Contents
  • How Template Overriding Works
  • Example: Author “About” Template
  • Important Notes
Directorist Directorist

Product

  • Features
  • Solutions
  • Extensions
  • Integrations
  • Mobile App
  • Roadmap

Popular

  • OneListing (Free)
  • dClassified
  • dRestaurant
  • dRealestate
  • All Themes
  • Templates

Services

  • Done For You
  • Custom Development
  • Portfolio
  • Contact Sales

Resources

  • Documentation
  • Blog
  • Directorist Academy
  • Directory Ideas
  • What's New

Quick Links

  • About Us
  • Client Showcase
  • Support Policy
  • Refund Policy
  • Affiliate Program

Keep Updated

Subscribe to our email newsletter to receive updates.

Subscribe to our newsletter
© Directorist 2026 A product of
Also by wpWax FormGent HelpGent
  • Privacy Policy
  • Terms & Conditions