Payment beta hotfix#2868
Merged
syedgalib merged 223 commits intoMay 21, 2026
Merged
Conversation
- Add directorist-form-label class, colon suffix, and required indicator to button sub-field labels for consistency with other form fields - Add per-sub-field description support (button_text_description, button_url_description) in builder and listing form template - Remove unused label and description builder options - Update single listing button to outline style with external link icon
- Update button component styles for outline variant and sizing - Refine listing details content and contact info styles - Add general base styles to support button field layout
…ing cards - Add new Action placeholder (phone, email, button) in single listing header builder - Add Action zone below excerpt in all 4 card layouts (grid/list with/without thumbnail) - Create action-section.php for single listing page with linked buttons - Create archive/action-fields/ templates (phone, email, button) as linked action buttons - Add render_action_fields() method to Listings model for archive cards - Add action_template() method to SingleListing model - Register phone, email, button widgets in single_listing_header builder data - Register button widget in listing_card_widget builder data - Add Action placeholder to all 4 Card Builder Vue components - Merge new layout placeholders into saved term meta for existing directory types - Add SCSS for directorist-listing-actions container (flex, gap, wrap) - Use output buffering in archive loop templates to prevent empty wrapper divs - Create archive/custom-fields/button.php for standard card field rendering
- Replace render_action_fields() with render_loop_fields() in all 4 loop templates - Action items now render as vertical list items (like body.bottom) with icon + label + value - Use output buffering to conditionally render action <ul> only when data exists - Add SCSS for .directorist-listing-single__action-list (margin-top + border separator) - Update single page .directorist-listing-actions spacing and button font-size - Remove unused render_action_fields() method from Listings model - Delete archive/action-fields/ templates (phone, email, button) - no longer needed - Widget settings (icon, show_label) now work via standard render_card_field flow
- Add 'Default' option to button style dropdown, remove 'Link Style' - Map button styles dynamically: primary, secondary, default classes - Update style mapping in single action-section, single custom-field, and archive custom-field button templates - Increase action placeholder maxWidget from 2 to 3 to support phone + email + button together - Filter action section widgets against submission form fields in SingleListing::action_template() so removing a field from the Add Listing form hides the corresponding action on the frontend
…utton) Introduce a new Action placeholder in the Single Listing Header builder that lets directory owners display phone (Call Now / WhatsApp), email (Send Email), and custom button widgets as linked action buttons. Key changes: - Add action-placeholder to the listing header builder data with phone, email, and button as accepted widgets - Create action_template() in SingleListing model to resolve action widgets against the submission form, including multi-button field_key mapping - Add templates/single/action-section.php to render action buttons with icon, label, and style support (primary, secondary, default) - Extend button custom field with button_style, open_in_new_tab, placeholders, and description options - Add action widget placeholders to all four card builder views (grid/list × with/without thumbnail) with conditional visibility - Update archive email/phone templates with action-variant rendering when used inside card action sections - Add .directorist-listing-actions styles for single header and card layouts with responsive button defaults - Update Card_Widget_Placeholder and List_Item_Card_Widget Vue components to support drag-and-drop, widget options, and settings modal mutual exclusion
…abbiIslamRony/directorist into feature/action-section-widgets
…ion-widgets Feature: Add action section widgets (phone, email, button) to listing header builder
Button custom field
support condtional field on button
Ensure phone elements use WhatsApp icon and wa.me links when WhatsApp is enabled across single action, listing card action, and listing content phone fields. Keep non-phone and non-WhatsApp behavior unchanged.
…header custom button
Load the WordPress editor runtime on admin add/edit listing screens so AJAX-injected HTML custom fields can initialize even when the initial directory type does not include an editor. Preserve server-rendered wp_editor markup during directory-type swaps and initialize TinyMCE/QuickTags against that markup instead of rebuilding it with wp.editor.initialize(). This keeps the expected Visual toolbar, Code toolbar, Add Media button, and prevents mce_SELRES bookmark markup from leaking into the textarea. Bind the dynamic Visual/Code tabs for Directorist HTML fields and sync editor mode UI after switching.
…te-issues fixed translate issue of formgent
fixed mysql erorr issue
…-scroll-jump Fix dashboard tab scroll jump
…-receipt-total-formatting Fix payment receipt total formatting
…eview-image-fix Fix widgets default preview image in single listing sidebar
…tml-editor-rendering fix: initialize ajax html editor on listing type switch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Type
What kind of change does this PR introduce?
Description
How to reproduce the issue or how to test the changes
Any linked issues
Fixes #
Checklist