Перейти к содержимому

Listdom Divi Addon Documentation

Это содержимое пока не доступно на вашем языке.

The Listdom Divi Addon allows you to harness the power of the Divi Builder to create custom layouts for your directory’s listings. With this addon, you can design the Single Listing page visually using Divi’s drag-and-drop interface, and even create custom listing card designs. The addon provides a suite of Divi modules (visual building blocks) for every Listdom listing element - title, description, gallery, map, features, and more - so you can lay out and style listing content exactly as you wish.

Once the Divi Addon is activated, no additional settings are needed in Listdom (the Addon’s panel will simply inform you to use Divi’s tools). You will primarily work within Divi → Theme Builder to create templates for Listdom listings:

  • Single Listing Template: In Divi’s Theme Builder, add a new template and assign it to the Listdom Listing post type (and optionally specific categories or conditions as desired). Then build the body of this template using Divi Builder.
  • When editing the template, you’ll find new Listdom modules in the Divi module library. These modules are prefixed with “Listing” and represent various pieces of listing data (detailed in the next section).
  • Drag and drop these modules onto your template layout. For example, you might add a two-column section: one column with the Listing Gallery module, and the other with a Listing Title and Listing Description module stacked.
  • Style each module using Divi’s familiar design options (fonts, colors, spacing, etc.). The modules pull real listing data when viewed on the front-end.

After designing, save the template. Now all single listing pages on your site will use your Divi layout, displaying listing information in the design you created. You can always return to the Theme Builder to tweak the layout or add/remove modules.

The Divi Addon registers a comprehensive set of custom modules in Divi Builder, each corresponding to a Listdom listing feature or field. When you open the module list in Divi Builder (while editing a Listdom template), look for modules like Listing Title, Listing Description (Content), Listing Gallery, etc. Key modules include:

  • Listing Title: Displays the listing’s title. You can choose the heading level (H1, H2, etc.) and style it.
  • Listing Content: The full description of the listing (main content). Supports all text styling options Divi provides.
  • Listing Gallery: Outputs the listing’s image gallery as a Divi slider or gallery module, allowing you to showcase listing photos.
  • Listing Image: The featured image of the listing, if any.
  • Listing Categories: A list or icons of the listing’s categories (and similarly Listing Locations, Listing Tags, Listing Labels for other taxonomies).
  • Listing Map: Displays a map with the listing’s location pin (will only show if the listing has an address/coordinates).
  • Listing Address: The text address of the listing.
  • Listing Features: A list of the listing’s features or amenities.
  • Listing Price: The price or price range of the listing, formatted with currency.
  • Listing Price Class Pro: Displays a price category or label (if using a pricing taxonomy).
  • Listing Owner: Information about the listing author/owner (name, avatar, etc.).
  • Listing Contact: A button or form trigger for contacting the owner (commonly just an icon or link since the actual form is handled by Listdom’s contact system).
  • Listing Working Hours: Shows the listing’s availability or business hours (from the Work Hours module).
  • Listing Social Share: Social share buttons for the listing.
  • Listing Breadcrumb: A breadcrumb navigation showing the listing’s position (e.g., Home > Category > Listing).
  • Listing Discussion: The comments/reviews section (if using WordPress comments for listings).

In addition, the Divi Addon includes modules that appear if certain other Listdom addons are active:

Using these modules is as simple as placing them in your layout. For instance, to build a header section, you might use Listing Title and Listing Categories side by side. For a sidebar, you could use Listing Contact and Listing Map modules stacked vertically.

Each module comes with the usual Divi design settings. You can set fonts, colors, backgrounds, etc., and the module will render the actual listing data on the front-end. If a certain listing field is empty (e.g., no price given), the module will typically not display anything (or show a placeholder like “No listing available” which you can style).

In addition to single pages, the Divi Addon can help design listing cards (the listing preview boxes in grid or list views). The addon registers a custom post type Divi Templates in wp-admin (found under Listdom as Divi Templates). You can create a new Template here and design it with Divi Builder to serve as a listing card layout. Key steps:

  • Go to Listdom → Divi Templates and click Add New Template. Give it a name like “Custom Listing Card”.
  • In the Template edit screen, you can choose a Template Type (if available) such as “Listing Card” (for archive card views) or “Single Listing” (for full page). Select Listing Card.
  • Click Use The Divi Builder to design this template. You’ll have access to the same Listing modules. However, since a card is a compact view, you might just use a few: e.g., Listing Image, Listing Title, maybe Listing Price, etc., arranged in a smaller layout.
  • Save the template.

Currently, applying a custom Divi card design to Listdom’s output may require selecting a special skin or short code option (the integration ensures the Divi layout is used if properly configured). Check Listdom’s skin settings for an option like “Custom Divi Card”. If present, activating that will replace standard cards with your Divi Template design.

  1. Create a Listing Template: In Divi Theme Builder, assign a new template to “All Listdom Listings”. Design a header with the Listing Title and Listing Categories modules, a gallery section with Listing Gallery, and a right sidebar with Listing Map and Listing Contact modules. Style everything to match your theme’s aesthetics.

  2. View a Listing: Open any listing on the front-end. You’ll see your Divi template in action - the listing title and categories are displayed with your chosen font and color, the gallery is in the layout you designed, and the map is showing the location. You achieved a totally unique listing page without writing code.

  3. Update Easily: The client wants to show the price more prominently. Edit the template in Theme Builder, add the Listing Price module below the title, perhaps with a bold style. Save changes - now all listing pages immediately reflect the new design with the price visible at the top.

  4. Design a Card (Advanced): You decide the default listing grids aren’t fitting your style. You create a Divi Template of type Listing Card: in a compact row, you place the featured image on the left and title, location, and price on the right. After integrating this template via Listdom’s settings, your directory’s grid view now uses this modern card layout you built in Divi.

Custom Real Estate Listing Page

A real estate site uses Divi Addon to craft an elegant property page. The Divi template includes a full-width image slider (Listing Gallery) at top, the property title and address overlaid, a two-column section with details and an inquiry form. The result is a high-end listing page that stands out from generic templates.

Branded Directory Style

An events directory wants all event listings to follow brand guidelines. Using Divi, the admin built a template with brand-colored section backgrounds and custom fonts for event titles. They included Listing Date and Location modules with icons. All event listings now automatically adopt this branded style, maintaining consistency.