Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 23 additions & 20 deletions includes/modules/multi-directory-setup/class-builder-data.php
Original file line number Diff line number Diff line change
Expand Up @@ -2586,7 +2586,7 @@ protected static function prepare_data() {
'title' => __( 'Listing Header', 'directorist' ),
'video' => [
'type' => 'video',
'url' => 'https://www.youtube.com/embed/NtLXjEAPQzc',
'url' => 'https://www.youtube.com/embed/Viw0q7IBbEM',
'button_text' => __( 'Watch Tutorial', 'directorist' ),
'title' => __( 'Listing Header Tutorial', 'directorist' ),
'description' => __( 'Watch the video to learn how to create listing header.', 'directorist' ),
Expand Down Expand Up @@ -2787,23 +2787,26 @@ protected static function prepare_data() {
'icon' => 'la la-circle-notch',
'options' => [
'title' => __( "Badge Settings", "directorist" ),
'fields' => array_merge( [
'new_badge' => [
'type' => "toggle",
'label' => $badge_toggle_label( 'new_badge', __( "Display New Badge", "directorist" ) ),
'value' => true,
],
'popular_badge' => [
'type' => "toggle",
'label' => $badge_toggle_label( 'popular_badge', __( "Display Popular Badge", "directorist" ) ),
'value' => true,
],
'featured_badge' => [
'type' => "toggle",
'label' => $badge_toggle_label( 'featured_badge', __( "Display Featured Badge", "directorist" ) ),
'value' => true,
'fields' => array_merge(
[
'new_badge' => [
'type' => "toggle",
'label' => $badge_toggle_label( 'new_badge', __( "Display New Badge", "directorist" ) ),
'value' => true,
],
'popular_badge' => [
'type' => "toggle",
'label' => $badge_toggle_label( 'popular_badge', __( "Display Popular Badge", "directorist" ) ),
'value' => true,
],
'featured_badge' => [
'type' => "toggle",
'label' => $badge_toggle_label( 'featured_badge', __( "Display Featured Badge", "directorist" ) ),
'value' => true,
],
],
], $custom_badge_toggle_fields ),
$custom_badge_toggle_fields
),
],
],
'ratings_count' => [
Expand Down Expand Up @@ -3050,7 +3053,7 @@ protected static function prepare_data() {
'container' => 'full-width',
'video' => [
'type' => 'video',
'url' => 'https://www.youtube.com/embed/0rjSHUPZgoE',
'url' => 'https://www.youtube.com/embed/v-WyJteGXj0',
'button_text' => __( 'Watch Tutorial', 'directorist' ),
'title' => __( 'Add Listing Form Tutorial', 'directorist' ),
'description' => __( 'Watch the video to learn how to create add listing form.', 'directorist' ),
Expand Down Expand Up @@ -3100,7 +3103,7 @@ protected static function prepare_data() {
'container' => 'full-width',
'video' => [
'type' => 'video',
'url' => 'https://www.youtube.com/embed/82CFngofqbM',
'url' => 'https://www.youtube.com/embed/cHkTnUIgba4',
'button_text' => __( 'Watch Tutorial', 'directorist' ),
'title' => __( 'Contents Tutorial', 'directorist' ),
'description' => __( 'Watch the video to learn how to create a custom contents.', 'directorist' ),
Expand Down Expand Up @@ -3213,7 +3216,7 @@ protected static function prepare_data() {
'container' => 'full-width',
'video' => [
'type' => 'video',
'url' => 'https://www.youtube.com/embed/bWRDFgFIvcI',
'url' => 'https://www.youtube.com/embed/7PV7WX0ldHI',
'button_text' => __( 'Watch Tutorial', 'directorist' ),
'title' => __( 'Search Form Tutorial', 'directorist' ),
'description' => __( 'Watch the video to learn how to create search form.', 'directorist' ),
Expand Down
Loading