Here is an example of doing so for Vkontakte (this code should be placed in your theme’s functions.php file):
add_filter('drts_social_medias', function($medias) {
$medias['vkontakte'] = [
'type' => 'textfield',
'label' => 'VKontakte',
'icon' => 'fab fa-vk',
'default' => 'vkontakte',
'placeholder' => 'Enter VKontakte username.',
];
return $medias;
});
add_filter('drts_social_media_url', function($url, $name, $value) {
if ($name === 'vkontakte') {
$url = 'https://vk.com/' . $value;
}
return $url;
}, 10, 3);
Yes, by adding the following CSS:
.drts-wp-upload-current table td:nth-child(3), .drts-wp-upload current table th:nth-child(3), .drts-wp-upload-current table td:nth-child(4), .drts-wp-upload-current table th:nth-child(4) {
display: none;
}
To apply this on the admin side see this David Walsh article.
This is not currently possible, but Sabai plans to add such a shortcode in 1.2.
This can be accomplished using CSS. Add this CSS to your theme’s style.css to override the defaults:
.drts-location-card .drts-bs-card-img-overlay {
background-image: none:
color: black;
}
Not currently, but Sabai plans to add a filter hook that would make this possible.
This is not currently possible, but Sabai is considering a feature that would let visitors select multiple listings (that have the Contact Form feature) and sends them a bulk message.
Edit the Location field:
Directories –> [Your Directory] –> Content Types –> Listing –> Manage Fields and set the “Max number of values” setting to the desired number or unlimited.
You’ll need to create a custom element template file. You might put the following code in the file:
<?php echo esc_html($entity->getSingleFieldValue(‘field_name’));?> – <?php echo esc_html($entity->getSingleFieldValue(‘field_surname’));?>