Version Description
- 08.10.2018 =
- Added: Header and Footer Template Extension - Only Footer template is working currently.
- Fixed: ContactForm 7 Module php error.
- Enhanced: Fatal error when not using Divi.
Download this release
Release Info
Developer | divisupreme |
Plugin | Supreme Modules Lite – Divi Theme, Extra Theme and Divi Builder |
Version | 1.1.3 |
Comparing to | |
See all releases |
Code changes from version 1.1.2 to 1.1.3
- includes/SupremeModulesLoader.php +258 -1
- includes/class.page-settings.php +11 -1
- includes/modules/ContactForm7/ContactForm7.php +1 -1
- includes/templates/page-template-blank.php +75 -0
- readme.txt +8 -1
- styles/style-dbp.min.css +1 -1
- styles/style.min.css +1 -1
- supreme-modules-for-divi.php +5 -4
includes/SupremeModulesLoader.php
CHANGED
@@ -1,8 +1,14 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
require_once plugin_dir_path( __FILE__ ) . 'class.settings-api.php';
|
4 |
require_once plugin_dir_path( __FILE__ ) . 'class.page-settings.php';
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
function dsm_setting_get_option( $option, $section, $default = '' ) {
|
7 |
|
8 |
$options = get_option( $section );
|
@@ -332,4 +338,255 @@ function dsm_admin_footer_text( $footer_text ) {
|
|
332 |
}
|
333 |
|
334 |
add_filter('admin_footer_text', 'dsm_admin_footer_text');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
335 |
//End
|
1 |
<?php
|
|
|
2 |
require_once plugin_dir_path( __FILE__ ) . 'class.settings-api.php';
|
3 |
require_once plugin_dir_path( __FILE__ ) . 'class.page-settings.php';
|
4 |
|
5 |
+
/*Temporary fix*/
|
6 |
+
if ( ! function_exists( 'et_core_is_fb_enabled' ) ):
|
7 |
+
function et_core_is_fb_enabled() {
|
8 |
+
return function_exists( 'et_fb_is_enabled' ) && et_fb_is_enabled();
|
9 |
+
}
|
10 |
+
endif;
|
11 |
+
|
12 |
function dsm_setting_get_option( $option, $section, $default = '' ) {
|
13 |
|
14 |
$options = get_option( $section );
|
338 |
}
|
339 |
|
340 |
add_filter('admin_footer_text', 'dsm_admin_footer_text');
|
341 |
+
|
342 |
+
if ( dsm_setting_get_option( 'dsm_use_header_footer', 'dsm_general' ) == 'on' ) {
|
343 |
+
// Register Custom Post Type
|
344 |
+
if ( ! function_exists( 'dsm_register_posttypes' ) ) :
|
345 |
+
function dsm_register_posttypes() {
|
346 |
+
$labels = array(
|
347 |
+
'name' => esc_html__( 'Header and Footer Templates', 'dsm-supreme-modules-for-divi' ),
|
348 |
+
'singular_name' => esc_html__( 'Header and Footer Template', 'dsm-supreme-modules-for-divi' ),
|
349 |
+
'add_new' => esc_html__( 'Add New', 'dsm-supreme-modules-for-divi' ),
|
350 |
+
'add_new_item' => esc_html__( 'Add New Template', 'dsm-supreme-modules-for-divi' ),
|
351 |
+
'edit_item' => esc_html__( 'Edit Template', 'dsm-supreme-modules-for-divi' ),
|
352 |
+
'new_item' => esc_html__( 'New Template', 'dsm-supreme-modules-for-divi' ),
|
353 |
+
'all_items' => esc_html__( 'All Templates', 'dsm-supreme-modules-for-divi' ),
|
354 |
+
'view_item' => esc_html__( 'View Template', 'dsm-supreme-modules-for-divi' ),
|
355 |
+
'search_items' => esc_html__( 'Search Templates', 'dsm-supreme-modules-for-divi' ),
|
356 |
+
'not_found' => esc_html__( 'Nothing found', 'dsm-supreme-modules-for-divi' ),
|
357 |
+
'not_found_in_trash' => esc_html__( 'Nothing found in Trash', 'dsm-supreme-modules-for-divi' ),
|
358 |
+
'parent_item_colon' => '',
|
359 |
+
);
|
360 |
+
|
361 |
+
$args = array(
|
362 |
+
'labels' => $labels,
|
363 |
+
'public' => false,
|
364 |
+
'publicly_queryable' => true,
|
365 |
+
'show_in_menu' => false,
|
366 |
+
'show_ui' => true,
|
367 |
+
'can_export' => true,
|
368 |
+
'show_in_nav_menus' => true,
|
369 |
+
'has_archive' => true,
|
370 |
+
'rewrite' => array(
|
371 |
+
'slug' => 'header-footer',
|
372 |
+
'with_front' => false
|
373 |
+
),
|
374 |
+
'capability_type' => 'post',
|
375 |
+
'hierarchical' => false,
|
376 |
+
'menu_position' => null,
|
377 |
+
'supports' => array( 'title', 'author', 'editor', 'thumbnail', 'revisions', 'custom-fields' ),
|
378 |
+
);
|
379 |
+
|
380 |
+
register_post_type( 'dsm_header_footer', $args );
|
381 |
+
}
|
382 |
+
endif;
|
383 |
+
add_action( 'init', 'dsm_register_posttypes', 0 );
|
384 |
+
|
385 |
+
function dsm_load_headerfooter_template($template) {
|
386 |
+
global $post;
|
387 |
+
|
388 |
+
if ($post->post_type == 'dsm_header_footer' && $template !== locate_template(array('page-template-blank.php'))){
|
389 |
+
return plugin_dir_path( __FILE__ ) . 'templates/page-template-blank.php';
|
390 |
+
}
|
391 |
+
|
392 |
+
return $template;
|
393 |
+
}
|
394 |
+
|
395 |
+
add_filter('single_template', 'dsm_load_headerfooter_template');
|
396 |
+
|
397 |
+
|
398 |
+
function dsm_header_footer_meta_box_options($post) {
|
399 |
+
wp_nonce_field( 'dsm-header-footer-meta-box-nonce', 'dsm-header-footer-meta-box-nonce' );
|
400 |
+
?>
|
401 |
+
<p>
|
402 |
+
<label for="dsm-header-footer-meta-box-options" style="display: block; font-weight: bold; margin-bottom: 5px;">Assign template to:</label>
|
403 |
+
<select name="dsm-header-footer-meta-box-options">
|
404 |
+
<?php
|
405 |
+
$option_values = array(
|
406 |
+
'footer' => __( 'Footer', 'dsm-supreme-modules-for-divi' ),
|
407 |
+
'header' => __( 'Header (Not available)', 'dsm-supreme-modules-for-divi' ),
|
408 |
+
);
|
409 |
+
|
410 |
+
foreach($option_values as $key => $value) {
|
411 |
+
if($key == get_post_meta($post->ID, 'dsm-header-footer-meta-box-options', true)) {
|
412 |
+
?>
|
413 |
+
<option value="<?php echo $key; ?>" selected><?php echo $value; ?></option>
|
414 |
+
<?php
|
415 |
+
}
|
416 |
+
else {
|
417 |
+
?>
|
418 |
+
<option value="<?php echo $key; ?>"><?php echo $value; ?></option>
|
419 |
+
<?php
|
420 |
+
}
|
421 |
+
}
|
422 |
+
?>
|
423 |
+
</select>
|
424 |
+
</p>
|
425 |
+
<p>
|
426 |
+
<label for="dsm-css-classes-meta-box-options" style="display: block; font-weight: bold; margin-bottom: 5px;">CSS Classes:</label>
|
427 |
+
<input name="dsm-css-classes-meta-box-options" style="width:100%;" type="text" value="<?php echo get_post_meta($post->ID, 'dsm-css-classes-meta-box-options', true); ?>">
|
428 |
+
</p>
|
429 |
+
<label for="dsm-remove-default-footer-meta-box-options" style="display: block; font-weight: bold; margin-bottom: 5px;">Remove default Divi footer</label>
|
430 |
+
<select name="dsm-remove-default-footer-meta-box-options">
|
431 |
+
<?php
|
432 |
+
$option_values = array(
|
433 |
+
'no' => __( 'No', 'dsm-supreme-modules-for-divi' ),
|
434 |
+
'yes' => __( 'Yes', 'dsm-supreme-modules-for-divi' ),
|
435 |
+
);
|
436 |
+
|
437 |
+
foreach($option_values as $key => $value) {
|
438 |
+
if($key == get_post_meta($post->ID, 'dsm-remove-default-footer-meta-box-options', true)) {
|
439 |
+
?>
|
440 |
+
<option value="<?php echo $key; ?>" selected><?php echo $value; ?></option>
|
441 |
+
<?php
|
442 |
+
}
|
443 |
+
else {
|
444 |
+
?>
|
445 |
+
<option value="<?php echo $key; ?>"><?php echo $value; ?></option>
|
446 |
+
<?php
|
447 |
+
}
|
448 |
+
}
|
449 |
+
?>
|
450 |
+
</select>
|
451 |
+
<?php
|
452 |
+
}
|
453 |
+
|
454 |
+
function dsm_add_header_footer_meta_box() {
|
455 |
+
add_meta_box('dsm_header_footer_meta_box', 'Divi Header & Footer', 'dsm_header_footer_meta_box_options', 'dsm_header_footer', 'side', 'high', null);
|
456 |
+
}
|
457 |
+
|
458 |
+
add_action("add_meta_boxes", "dsm_add_header_footer_meta_box");
|
459 |
+
|
460 |
+
function dsm_save_header_footer_meta_box($post_id, $post, $update) {
|
461 |
+
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
|
462 |
+
return;
|
463 |
+
}
|
464 |
+
|
465 |
+
if ( ! isset( $_POST['dsm-header-footer-meta-box-nonce'] ) || ! wp_verify_nonce( $_POST['dsm-header-footer-meta-box-nonce'], 'dsm-header-footer-meta-box-nonce' ) ) {
|
466 |
+
return;
|
467 |
+
}
|
468 |
+
|
469 |
+
if ( ! current_user_can( 'edit_posts' ) ) {
|
470 |
+
return;
|
471 |
+
}
|
472 |
+
|
473 |
+
$slug = 'dsm_header_footer';
|
474 |
+
if ( $slug != $post->post_type ) {
|
475 |
+
return $post_id;
|
476 |
+
}
|
477 |
+
|
478 |
+
if ( isset( $_POST['dsm-header-footer-meta-box-options'] ) ) {
|
479 |
+
update_post_meta( $post_id, 'dsm-header-footer-meta-box-options', esc_attr( $_POST['dsm-header-footer-meta-box-options'] ) );
|
480 |
+
}
|
481 |
+
|
482 |
+
if ( isset( $_POST['dsm-css-classes-meta-box-options'] ) ) {
|
483 |
+
update_post_meta( $post_id, 'dsm-css-classes-meta-box-options', sanitize_text_field( $_POST['dsm-css-classes-meta-box-options'] ) );
|
484 |
+
}
|
485 |
+
|
486 |
+
if ( isset( $_POST['dsm-remove-default-footer-meta-box-options'] ) ) {
|
487 |
+
update_post_meta( $post_id, 'dsm-remove-default-footer-meta-box-options', esc_attr( $_POST['dsm-remove-default-footer-meta-box-options'] ) );
|
488 |
+
}
|
489 |
+
}
|
490 |
+
|
491 |
+
add_action('save_post', 'dsm_save_header_footer_meta_box', 10, 3);
|
492 |
+
|
493 |
+
function dsm_custom_footer() {
|
494 |
+
$footer_args = array(
|
495 |
+
'post_type' => 'dsm_header_footer',
|
496 |
+
'meta_key' => 'dsm-header-footer-meta-box-options',
|
497 |
+
'meta_value' => 'footer',
|
498 |
+
'meta_type' => 'post',
|
499 |
+
'meta_query' => array(
|
500 |
+
array(
|
501 |
+
'key' => 'dsm-header-footer-meta-box-options',
|
502 |
+
'value' => 'footer',
|
503 |
+
'compare' => '==',
|
504 |
+
'type' => 'post',
|
505 |
+
),
|
506 |
+
),
|
507 |
+
);
|
508 |
+
|
509 |
+
$footer_template = new WP_Query(
|
510 |
+
$footer_args
|
511 |
+
);
|
512 |
+
|
513 |
+
$footer_css_args = array(
|
514 |
+
'post_type' => 'dsm_header_footer',
|
515 |
+
'meta_key' => 'dsm-css-classes-meta-box-options',
|
516 |
+
'value' => '',
|
517 |
+
'meta_type' => 'post',
|
518 |
+
'meta_query' => array(
|
519 |
+
array(
|
520 |
+
'key' => 'dsm-css-classes-meta-box-options',
|
521 |
+
'value' => '',
|
522 |
+
'compare' => '!=',
|
523 |
+
'type' => 'post',
|
524 |
+
),
|
525 |
+
),
|
526 |
+
);
|
527 |
+
|
528 |
+
$footer_css_template = new WP_Query(
|
529 |
+
$footer_css_args
|
530 |
+
);
|
531 |
+
|
532 |
+
if ( $footer_template->have_posts() ) {
|
533 |
+
$footer_template_ID = $footer_template->post->ID;
|
534 |
+
$footer_template_shortcode = apply_filters('the_content', get_post_field('post_content', $footer_template_ID));
|
535 |
+
$footer_template_css = get_post_custom($footer_template_ID);
|
536 |
+
|
537 |
+
if ( $footer_template_css['dsm-css-classes-meta-box-options'][0] != '' ) {
|
538 |
+
$footer_template_css_output = get_post_meta( $footer_css_template->post->ID, 'dsm-css-classes-meta-box-options', true );
|
539 |
+
} else {
|
540 |
+
$footer_template_css_output = '';
|
541 |
+
}
|
542 |
+
|
543 |
+
echo '<footer class="dsm-footer ' . $footer_template_css_output . '" itemscope="itemscope" itemtype="https://schema.org/WPFooter">' . $footer_template_shortcode . '</footer>';
|
544 |
+
}
|
545 |
+
}
|
546 |
+
|
547 |
+
add_action('et_after_main_content', 'dsm_custom_footer');
|
548 |
+
|
549 |
+
function dsm_custom_footer_settings() {
|
550 |
+
$footer_args = array(
|
551 |
+
'post_type' => 'dsm_header_footer',
|
552 |
+
'meta_key' => 'dsm-header-footer-meta-box-options',
|
553 |
+
'meta_value' => 'footer',
|
554 |
+
'meta_type' => 'post',
|
555 |
+
'meta_query' => array(
|
556 |
+
array(
|
557 |
+
'key' => 'dsm-header-footer-meta-box-options',
|
558 |
+
'value' => 'footer',
|
559 |
+
'compare' => '==',
|
560 |
+
'type' => 'post',
|
561 |
+
),
|
562 |
+
),
|
563 |
+
);
|
564 |
+
|
565 |
+
$footer_template = new WP_Query(
|
566 |
+
$footer_args
|
567 |
+
);
|
568 |
+
|
569 |
+
if ( $footer_template->have_posts() ) {
|
570 |
+
$footer_template_ID = $footer_template->post->ID;
|
571 |
+
$footer_template_css = get_post_custom($footer_template_ID);
|
572 |
+
|
573 |
+
if ( $footer_template_css['dsm-remove-default-footer-meta-box-options'][0] == 'yes' ) {
|
574 |
+
echo '<style id="dsm-footer-css" type="text/css">footer#main-footer { display: none; }</style>';
|
575 |
+
}
|
576 |
+
}
|
577 |
+
}
|
578 |
+
|
579 |
+
add_action( 'wp_print_scripts', 'dsm_custom_footer_settings', 30 );
|
580 |
+
|
581 |
+
function dsm_header_footer_admin_notice($post) {
|
582 |
+
$current_screen = get_current_screen();
|
583 |
+
|
584 |
+
if ( $current_screen->post_type === 'dsm_header_footer' ) { ?>
|
585 |
+
<div class="notice notice-info">
|
586 |
+
<p><?php _e( 'Notice: This will only work for the Divi Theme. Once ElegantThemes updated their Template Hook on Extra Theme, this feature will also be available. Currently only the footer template is available you. Please create one template and assign to the footer. If you do not see Divi Builder here, remember to Enable Divi Builder On Post Types in the Divi Options.', 'dsm-supreme-modules-for-divi' ); ?></p>
|
587 |
+
</div>
|
588 |
+
<?php }
|
589 |
+
}
|
590 |
+
add_action('admin_notices', 'dsm_header_footer_admin_notice');
|
591 |
+
}
|
592 |
//End
|
includes/class.page-settings.php
CHANGED
@@ -28,7 +28,9 @@ class DSM_Settings {
|
|
28 |
|
29 |
function admin_menu() {
|
30 |
add_menu_page( __( 'Divi Supreme', 'dsm-supreme-modules-for-divi' ), __( 'Divi Supreme', 'dsm-supreme-modules-for-divi' ), 'manage_options', 'divi_supreme_settings', array($this, 'plugin_page'), plugins_url( 'supreme-modules-for-divi/assets/img/icon-128x128.png' ), 99 );
|
31 |
-
|
|
|
|
|
32 |
}
|
33 |
|
34 |
function get_settings_sections() {
|
@@ -69,6 +71,14 @@ class DSM_Settings {
|
|
69 |
'type' => 'checkbox',
|
70 |
'default' => 'off'
|
71 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
),
|
73 |
/*
|
74 |
'dsm_advanced' => array(
|
28 |
|
29 |
function admin_menu() {
|
30 |
add_menu_page( __( 'Divi Supreme', 'dsm-supreme-modules-for-divi' ), __( 'Divi Supreme', 'dsm-supreme-modules-for-divi' ), 'manage_options', 'divi_supreme_settings', array($this, 'plugin_page'), plugins_url( 'supreme-modules-for-divi/assets/img/icon-128x128.png' ), 99 );
|
31 |
+
if ( dsm_setting_get_option( 'dsm_use_header_footer', 'dsm_general' ) == 'on' ) {
|
32 |
+
add_submenu_page( 'divi_supreme_settings', __( 'Header & Footer', 'dsm-supreme-modules-for-divi' ), __( 'Header & Footer', 'dsm-supreme-modules-for-divi' ), 'manage_options', 'edit.php?post_type=dsm_header_footer' );
|
33 |
+
}
|
34 |
}
|
35 |
|
36 |
function get_settings_sections() {
|
71 |
'type' => 'checkbox',
|
72 |
'default' => 'off'
|
73 |
),
|
74 |
+
array(
|
75 |
+
'name' => 'dsm_use_header_footer',
|
76 |
+
'class' => 'dsm-settings-checkbox',
|
77 |
+
'label' => __( 'Enable Header & Footer Template', 'dsm-supreme-modules-for-divi' ),
|
78 |
+
'desc' => __( '<span class="slider round"></span>', 'dsm-supreme-modules-for-divi' ),
|
79 |
+
'type' => 'checkbox',
|
80 |
+
'default' => 'off'
|
81 |
+
),
|
82 |
),
|
83 |
/*
|
84 |
'dsm_advanced' => array(
|
includes/modules/ContactForm7/ContactForm7.php
CHANGED
@@ -382,7 +382,7 @@ class DSM_ContactForm7 extends ET_Builder_Module {
|
|
382 |
|
383 |
public function render( $attrs, $content = null, $render_slug ) {
|
384 |
$cf7_library = $this->props['cf7_library'];
|
385 |
-
$
|
386 |
$label_bottom_spacing = $this->props['label_bottom_spacing'];
|
387 |
$input_background_color = $this->props['input_background_color'];
|
388 |
$file_background_color = $this->props['file_background_color'];
|
382 |
|
383 |
public function render( $attrs, $content = null, $render_slug ) {
|
384 |
$cf7_library = $this->props['cf7_library'];
|
385 |
+
$show_validation = $this->props['show_validation'];
|
386 |
$label_bottom_spacing = $this->props['label_bottom_spacing'];
|
387 |
$input_background_color = $this->props['input_background_color'];
|
388 |
$file_background_color = $this->props['file_background_color'];
|
includes/templates/page-template-blank.php
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Template Name: Blank Page
|
4 |
+
*/
|
5 |
+
|
6 |
+
get_header();
|
7 |
+
|
8 |
+
$is_page_builder_used = et_pb_is_pagebuilder_used( get_the_ID() ); ?>
|
9 |
+
|
10 |
+
<div id="main-content">
|
11 |
+
|
12 |
+
<?php if ( ! $is_page_builder_used ) : ?>
|
13 |
+
|
14 |
+
<div class="container">
|
15 |
+
<div id="content-area" class="clearfix">
|
16 |
+
<div id="left-area">
|
17 |
+
|
18 |
+
<?php endif; ?>
|
19 |
+
|
20 |
+
<?php while ( have_posts() ) : the_post(); ?>
|
21 |
+
|
22 |
+
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
23 |
+
|
24 |
+
<?php if ( ! $is_page_builder_used ) : ?>
|
25 |
+
|
26 |
+
<h1 class="main_title"><?php the_title(); ?></h1>
|
27 |
+
<?php
|
28 |
+
$thumb = '';
|
29 |
+
|
30 |
+
$width = (int) apply_filters( 'et_pb_index_blog_image_width', 1080 );
|
31 |
+
|
32 |
+
$height = (int) apply_filters( 'et_pb_index_blog_image_height', 675 );
|
33 |
+
$classtext = 'et_featured_image';
|
34 |
+
$titletext = get_the_title();
|
35 |
+
$thumbnail = get_thumbnail( $width, $height, $classtext, $titletext, $titletext, false, 'Blogimage' );
|
36 |
+
$thumb = $thumbnail["thumb"];
|
37 |
+
|
38 |
+
if ( 'on' === et_get_option( 'divi_page_thumbnails', 'false' ) && '' !== $thumb )
|
39 |
+
print_thumbnail( $thumb, $thumbnail["use_timthumb"], $titletext, $width, $height );
|
40 |
+
?>
|
41 |
+
|
42 |
+
<?php endif; ?>
|
43 |
+
|
44 |
+
<div class="entry-content">
|
45 |
+
<?php
|
46 |
+
the_content();
|
47 |
+
|
48 |
+
if ( ! $is_page_builder_used )
|
49 |
+
wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'Divi' ), 'after' => '</div>' ) );
|
50 |
+
?>
|
51 |
+
</div> <!-- .entry-content -->
|
52 |
+
|
53 |
+
<?php
|
54 |
+
if ( ! $is_page_builder_used && comments_open() && 'on' === et_get_option( 'divi_show_pagescomments', 'false' ) ) comments_template( '', true );
|
55 |
+
?>
|
56 |
+
|
57 |
+
</article> <!-- .et_pb_post -->
|
58 |
+
|
59 |
+
<?php endwhile; ?>
|
60 |
+
|
61 |
+
<?php if ( ! $is_page_builder_used ) : ?>
|
62 |
+
|
63 |
+
</div> <!-- #left-area -->
|
64 |
+
|
65 |
+
<?php get_sidebar(); ?>
|
66 |
+
</div> <!-- #content-area -->
|
67 |
+
</div> <!-- .container -->
|
68 |
+
|
69 |
+
<?php endif; ?>
|
70 |
+
|
71 |
+
</div> <!-- #main-content -->
|
72 |
+
|
73 |
+
<?php
|
74 |
+
|
75 |
+
get_footer();
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://suprememodules.com/
|
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.9
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 1.1.
|
9 |
License: GPLv2
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -31,6 +31,8 @@ Divi Supreme contains 11 Divi custom modules and more to come soon.
|
|
31 |
|
32 |
Divi Supreme Extentions
|
33 |
- Scheduled Content Visibility - This will extend the Visibility option in the the Section/Row's custom setting to allow you to show or hide the section or row with a specify date/time.
|
|
|
|
|
34 |
|
35 |
Many more Divi Modules and Extensions coming soon...
|
36 |
|
@@ -78,6 +80,11 @@ YES! At least Divi 3.1 onwards where they introduced the Divi Developer API.
|
|
78 |
|
79 |
== Changelog ==
|
80 |
|
|
|
|
|
|
|
|
|
|
|
81 |
= 1.1.2 - 07.10.2018 =
|
82 |
* Added: Scheduled Content Visibility for Section and Row.
|
83 |
* Added: Divi Supreme Option Page to the admin menu for enabling/disabling features.
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.9
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 1.1.3
|
9 |
License: GPLv2
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
31 |
|
32 |
Divi Supreme Extentions
|
33 |
- Scheduled Content Visibility - This will extend the Visibility option in the the Section/Row's custom setting to allow you to show or hide the section or row with a specify date/time.
|
34 |
+
- Header and Footer Template - Designing Divi's footer is one of the most challenging thing ever. Without programming background knowledgde, you have to deal with time and the learning process. But with Header and Footer Template, now you can design your footer using Visual Builder and assign them to the Footer Template. As easy as that, No coding required. Don't spend time finding those layout global module ID because you don't have to. Just 2 easy steps: Create a Footer Template using Visual Builder, then assign them to footer. That's it! Save time = Smarter.
|
35 |
+
|
36 |
|
37 |
Many more Divi Modules and Extensions coming soon...
|
38 |
|
80 |
|
81 |
== Changelog ==
|
82 |
|
83 |
+
= 1.1.3 - 08.10.2018 =
|
84 |
+
* Added: Header and Footer Template Extension - Only Footer template is working currently.
|
85 |
+
* Fixed: ContactForm 7 Module php error.
|
86 |
+
* Enhanced: Fatal error when not using Divi.
|
87 |
+
|
88 |
= 1.1.2 - 07.10.2018 =
|
89 |
* Added: Scheduled Content Visibility for Section and Row.
|
90 |
* Added: Divi Supreme Option Page to the admin menu for enabling/disabling features.
|
styles/style-dbp.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
.et_divi_builder #et_builder_outer_content .et-db #et-boc .dsm_flipbox_child.et_pb_module{position:absolute}.et_divi_builder #et_builder_outer_content .dsm-flipbox{height:200px;position:relative;-webkit-perspective:1000px;perspective:1000px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.et_divi_builder #et_builder_outer_content .dsm_flipbox_child.et_pb_module{margin-bottom:0!important}.et_divi_builder #et_builder_outer_content .dsm_flipbox_child .et_pb_module_inner,.et_divi_builder #et_builder_outer_content .et-db #et-boc .dsm_flipbox_child>div{width:100%}.et_divi_builder #et_builder_outer_content .dsm_flipbox_child{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;text-align:center;position:absolute;width:100%;height:100%;-webkit-transition:transform .6s ease-in-out;-o-transition:transform .6s ease-in-out;-webkit-transition:-webkit-transform .6s ease-in-out;transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;border-style:solid}.et_divi_builder #et_builder_outer_content .dsm_flipbox_child .dsm_flipbox_child_image_wrap{display:block;margin:auto}.et_divi_builder #et_builder_outer_content .dsm_flipbox_child_image{display:inline-block;max-width:100%;margin-bottom:30px;line-height:0}.et_divi_builder #et_builder_outer_content .dsm_flipbox_icon_position_left .dsm_flipbox_child_image,.et_divi_builder #et_builder_outer_content .dsm_flipbox_icon_position_right .dsm_flipbox_child_image{display:table-cell;width:32px;line-height:0}.et_divi_builder #et_builder_outer_content .dsm_flipbox_icon_position_left .dsm_flipbox_wrapper{padding-left:15px}.et_divi_builder #et_builder_outer_content .dsm_flipbox_icon_position_left .dsm_flipbox_wrapper,.et_divi_builder #et_builder_outer_content .dsm_flipbox_icon_position_right .dsm_flipbox_wrapper{display:table-cell;vertical-align:top}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-right .dsm_flipbox_child:first-child{z-index:1;-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.et_divi_builder #et_builder_outer_content .dsm_flipbox:hover .dsm-flipbox-effect-right .dsm_flipbox_child:first-child{-webkit-transform:rotateX(0deg) rotateY(180deg);transform:rotateX(0deg) rotateY(180deg)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-right .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(-180deg);transform:rotateX(0deg) rotateY(-180deg)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-left .dsm_flipbox_child:first-child,.et_divi_builder #et_builder_outer_content .dsm_flipbox:hover .dsm-flipbox-effect-right .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-left .dsm_flipbox_child:first-child{z-index:1}.et_divi_builder #et_builder_outer_content .dsm_flipbox:hover .dsm-flipbox-effect-left .dsm_flipbox_child:first-child{-webkit-transform:rotateX(0deg) rotateY(-180deg);transform:rotateX(0deg) rotateY(-180deg)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-left .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(180deg);transform:rotateX(0deg) rotateY(180deg)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-up .dsm_flipbox_child:first-child,.et_divi_builder #et_builder_outer_content .dsm_flipbox:hover .dsm-flipbox-effect-left .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-up .dsm_flipbox_child:first-child{z-index:1}.et_divi_builder #et_builder_outer_content .dsm_flipbox:hover .dsm-flipbox-effect-up .dsm_flipbox_child:first-child{-webkit-transform:rotateX(180deg) rotateY(0);transform:rotateX(180deg) rotateY(0)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-up .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(-180deg) rotateY(0);transform:rotateX(-180deg) rotateY(0)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-down .dsm_flipbox_child:first-child,.et_divi_builder #et_builder_outer_content .dsm_flipbox:hover .dsm-flipbox-effect-up .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-down .dsm_flipbox_child:first-child{z-index:1}.et_divi_builder #et_builder_outer_content .dsm_flipbox:hover .dsm-flipbox-effect-down .dsm_flipbox_child:first-child{-webkit-transform:rotateX(-180deg) rotateY(0);transform:rotateX(-180deg) rotateY(0)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-down .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(180deg) rotateY(0);transform:rotateX(180deg) rotateY(0)}.et_divi_builder #et_builder_outer_content .dsm_flipbox:hover .dsm-flipbox-effect-down .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.et_divi_builder #et_builder_outer_content .dsm_perspective_image{display:block;margin-right:auto;margin-left:auto;line-height:0}.et_divi_builder #et_builder_outer_content .dsm_perspective_image .dsm-image-wrapper{-webkit-transform:perspective(1000px);transform:perspective(1000px)}.et_divi_builder #et_builder_outer_content .dsm_perspective_image .et_pb_image_wrap{display:inline-block;position:relative;max-width:100%}.et_divi_builder #et_builder_outer_content .dsm_perspective_image img{position:relative}.et_divi_builder #et_builder_outer_content .dsm_text_divider .dsm-text-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:relative;margin:0 auto}.et_divi_builder #et_builder_outer_content .dsm-text-divider-after,.et_divi_builder #et_builder_outer_content .dsm-text-divider-before{font-size:0;line-height:0;-ms-flex-positive:1;flex-grow:1;border-top-width:1px;border-top-style:solid;border-top-color:#7ebec5}.et_divi_builder #et_builder_outer_content .dsm-text-divider-header{padding-bottom:0;-ms-flex-negative:1;flex-shrink:1;margin:0 10px}.et_divi_builder #et_builder_outer_content .dsm-text-divider-align-left .dsm-text-divider-before,.et_divi_builder #et_builder_outer_content .dsm-text-divider-align-right .dsm-text-divider-after{display:none}.et_divi_builder #et_builder_outer_content .dsm-gradient-text{-webkit-background-clip:text;-webkit-text-fill-color:transparent}.et_divi_builder #et_builder_outer_content .dsm-buttons-separator{margin-left:10px;margin-right:10px}/*!
|
2 |
* Hover.css (http://ianlunn.github.io/Hover/)
|
3 |
* Version: 2.1.0
|
4 |
* Author: Ian Lunn @IanLunn
|
1 |
+
.et_divi_builder #et_builder_outer_content .et-db #et-boc .dsm_flipbox_child.et_pb_module{position:absolute}.et_divi_builder #et_builder_outer_content .dsm-flipbox{height:200px;position:relative;-webkit-perspective:1000px;perspective:1000px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.et_divi_builder #et_builder_outer_content .dsm_flipbox_child.et_pb_module{margin-bottom:0!important}.et_divi_builder #et_builder_outer_content .dsm_flipbox_child .et_pb_module_inner,.et_divi_builder #et_builder_outer_content .et-db #et-boc .dsm_flipbox_child>div{width:100%}.et_divi_builder #et_builder_outer_content .dsm_flipbox_child{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;text-align:center;position:absolute;width:100%;height:100%;-webkit-transition:transform .6s ease-in-out;-o-transition:transform .6s ease-in-out;-webkit-transition:-webkit-transform .6s ease-in-out;transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;border-style:solid}.et_divi_builder #et_builder_outer_content .dsm_flipbox_child .dsm_flipbox_child_image_wrap{display:block;margin:auto}.et_divi_builder #et_builder_outer_content .dsm_flipbox_child_image{display:inline-block;max-width:100%;margin-bottom:30px;line-height:0}.et_divi_builder #et_builder_outer_content .dsm_flipbox_icon_position_left .dsm_flipbox_child_image,.et_divi_builder #et_builder_outer_content .dsm_flipbox_icon_position_right .dsm_flipbox_child_image{display:table-cell;width:32px;line-height:0}.et_divi_builder #et_builder_outer_content .dsm_flipbox_icon_position_left .dsm_flipbox_wrapper{padding-left:15px}.et_divi_builder #et_builder_outer_content .dsm_flipbox_icon_position_left .dsm_flipbox_wrapper,.et_divi_builder #et_builder_outer_content .dsm_flipbox_icon_position_right .dsm_flipbox_wrapper{display:table-cell;vertical-align:top}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-right .dsm_flipbox_child:first-child{z-index:1;-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.et_divi_builder #et_builder_outer_content .dsm_flipbox:hover .dsm-flipbox-effect-right .dsm_flipbox_child:first-child{-webkit-transform:rotateX(0deg) rotateY(180deg);transform:rotateX(0deg) rotateY(180deg)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-right .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(-180deg);transform:rotateX(0deg) rotateY(-180deg)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-left .dsm_flipbox_child:first-child,.et_divi_builder #et_builder_outer_content .dsm_flipbox:hover .dsm-flipbox-effect-right .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-left .dsm_flipbox_child:first-child{z-index:1}.et_divi_builder #et_builder_outer_content .dsm_flipbox:hover .dsm-flipbox-effect-left .dsm_flipbox_child:first-child{-webkit-transform:rotateX(0deg) rotateY(-180deg);transform:rotateX(0deg) rotateY(-180deg)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-left .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(180deg);transform:rotateX(0deg) rotateY(180deg)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-up .dsm_flipbox_child:first-child,.et_divi_builder #et_builder_outer_content .dsm_flipbox:hover .dsm-flipbox-effect-left .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-up .dsm_flipbox_child:first-child{z-index:1}.et_divi_builder #et_builder_outer_content .dsm_flipbox:hover .dsm-flipbox-effect-up .dsm_flipbox_child:first-child{-webkit-transform:rotateX(180deg) rotateY(0);transform:rotateX(180deg) rotateY(0)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-up .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(-180deg) rotateY(0);transform:rotateX(-180deg) rotateY(0)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-down .dsm_flipbox_child:first-child,.et_divi_builder #et_builder_outer_content .dsm_flipbox:hover .dsm-flipbox-effect-up .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-down .dsm_flipbox_child:first-child{z-index:1}.et_divi_builder #et_builder_outer_content .dsm_flipbox:hover .dsm-flipbox-effect-down .dsm_flipbox_child:first-child{-webkit-transform:rotateX(-180deg) rotateY(0);transform:rotateX(-180deg) rotateY(0)}.et_divi_builder #et_builder_outer_content .dsm_flipbox .dsm-flipbox-effect-down .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(180deg) rotateY(0);transform:rotateX(180deg) rotateY(0)}.et_divi_builder #et_builder_outer_content .dsm_flipbox:hover .dsm-flipbox-effect-down .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.et_divi_builder #et_builder_outer_content .dsm_perspective_image{display:block;margin-right:auto;margin-left:auto;line-height:0}.et_divi_builder #et_builder_outer_content .dsm_perspective_image .dsm-image-wrapper{-webkit-transform:perspective(1000px);transform:perspective(1000px)}.et_divi_builder #et_builder_outer_content .dsm_perspective_image .et_pb_image_wrap{display:inline-block;position:relative;max-width:100%}.et_divi_builder #et_builder_outer_content .dsm_perspective_image img{position:relative}.et_divi_builder #et_builder_outer_content .dsm_text_divider .dsm-text-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:relative;margin:0 auto}.et_divi_builder #et_builder_outer_content .dsm-text-divider-after,.et_divi_builder #et_builder_outer_content .dsm-text-divider-before{font-size:0;line-height:0;-ms-flex-positive:1;flex-grow:1;border-top-width:1px;border-top-style:solid;border-top-color:#7ebec5}.et_divi_builder #et_builder_outer_content .dsm-text-divider-header{padding-bottom:0;-ms-flex-negative:1;flex-shrink:1;margin:0 10px}.et_divi_builder #et_builder_outer_content .dsm-text-divider-align-left .dsm-text-divider-before,.et_divi_builder #et_builder_outer_content .dsm-text-divider-align-right .dsm-text-divider-after{display:none}.et_divi_builder #et_builder_outer_content .dsm-gradient-text{-webkit-background-clip:text;-webkit-text-fill-color:transparent}.et_divi_builder #et_builder_outer_content .dsm-buttons-separator{margin-left:10px;margin-right:10px}.et_divi_builder #et_builder_outer_content .dsm-hidden{display:none}/*!
|
2 |
* Hover.css (http://ianlunn.github.io/Hover/)
|
3 |
* Version: 2.1.0
|
4 |
* Author: Ian Lunn @IanLunn
|
styles/style.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
.et-db #et-boc .dsm_flipbox_child.et_pb_module{position:absolute}.dsm-flipbox{height:200px;position:relative;-webkit-perspective:1000px;perspective:1000px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.dsm_flipbox_child.et_pb_module{margin-bottom:0!important}.dsm_flipbox_child .et_pb_module_inner,.et-db #et-boc .dsm_flipbox_child>div{width:100%}.dsm_flipbox_child{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;text-align:center;position:absolute;width:100%;height:100%;-webkit-transition:transform .6s ease-in-out;-o-transition:transform .6s ease-in-out;-webkit-transition:-webkit-transform .6s ease-in-out;transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;border-style:solid}.dsm_flipbox_child .dsm_flipbox_child_image_wrap{display:block;margin:auto}.dsm_flipbox_child_image{display:inline-block;max-width:100%;margin-bottom:30px;line-height:0}.dsm_flipbox_icon_position_left .dsm_flipbox_child_image,.dsm_flipbox_icon_position_right .dsm_flipbox_child_image{display:table-cell;width:32px;line-height:0}.dsm_flipbox_icon_position_left .dsm_flipbox_wrapper{padding-left:15px}.dsm_flipbox_icon_position_left .dsm_flipbox_wrapper,.dsm_flipbox_icon_position_right .dsm_flipbox_wrapper{display:table-cell;vertical-align:top}.dsm_flipbox .dsm-flipbox-effect-right .dsm_flipbox_child:first-child{z-index:1;-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.dsm_flipbox:hover .dsm-flipbox-effect-right .dsm_flipbox_child:first-child{-webkit-transform:rotateX(0deg) rotateY(180deg);transform:rotateX(0deg) rotateY(180deg)}.dsm_flipbox .dsm-flipbox-effect-right .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(-180deg);transform:rotateX(0deg) rotateY(-180deg)}.dsm_flipbox .dsm-flipbox-effect-left .dsm_flipbox_child:first-child,.dsm_flipbox:hover .dsm-flipbox-effect-right .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.dsm_flipbox .dsm-flipbox-effect-left .dsm_flipbox_child:first-child{z-index:1}.dsm_flipbox:hover .dsm-flipbox-effect-left .dsm_flipbox_child:first-child{-webkit-transform:rotateX(0deg) rotateY(-180deg);transform:rotateX(0deg) rotateY(-180deg)}.dsm_flipbox .dsm-flipbox-effect-left .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(180deg);transform:rotateX(0deg) rotateY(180deg)}.dsm_flipbox .dsm-flipbox-effect-up .dsm_flipbox_child:first-child,.dsm_flipbox:hover .dsm-flipbox-effect-left .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.dsm_flipbox .dsm-flipbox-effect-up .dsm_flipbox_child:first-child{z-index:1}.dsm_flipbox:hover .dsm-flipbox-effect-up .dsm_flipbox_child:first-child{-webkit-transform:rotateX(180deg) rotateY(0);transform:rotateX(180deg) rotateY(0)}.dsm_flipbox .dsm-flipbox-effect-up .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(-180deg) rotateY(0);transform:rotateX(-180deg) rotateY(0)}.dsm_flipbox .dsm-flipbox-effect-down .dsm_flipbox_child:first-child,.dsm_flipbox:hover .dsm-flipbox-effect-up .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.dsm_flipbox .dsm-flipbox-effect-down .dsm_flipbox_child:first-child{z-index:1}.dsm_flipbox:hover .dsm-flipbox-effect-down .dsm_flipbox_child:first-child{-webkit-transform:rotateX(-180deg) rotateY(0);transform:rotateX(-180deg) rotateY(0)}.dsm_flipbox .dsm-flipbox-effect-down .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(180deg) rotateY(0);transform:rotateX(180deg) rotateY(0)}.dsm_flipbox:hover .dsm-flipbox-effect-down .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.dsm_perspective_image{display:block;margin-right:auto;margin-left:auto;line-height:0}.dsm_perspective_image .dsm-image-wrapper{-webkit-transform:perspective(1000px);transform:perspective(1000px)}.dsm_perspective_image .et_pb_image_wrap{display:inline-block;position:relative;max-width:100%}.dsm_perspective_image img{position:relative}.dsm_text_divider .dsm-text-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:relative;margin:0 auto}.dsm-text-divider-after,.dsm-text-divider-before{font-size:0;line-height:0;-ms-flex-positive:1;flex-grow:1;border-top-width:1px;border-top-style:solid;border-top-color:#7ebec5}.dsm-text-divider-header{padding-bottom:0;-ms-flex-negative:1;flex-shrink:1;margin:0 10px}.dsm-text-divider-align-left .dsm-text-divider-before,.dsm-text-divider-align-right .dsm-text-divider-after{display:none}.dsm-gradient-text{-webkit-background-clip:text;-webkit-text-fill-color:transparent}.dsm-buttons-separator{margin-left:10px;margin-right:10px}/*!
|
2 |
* Hover.css (http://ianlunn.github.io/Hover/)
|
3 |
* Version: 2.1.0
|
4 |
* Author: Ian Lunn @IanLunn
|
1 |
+
.et-db #et-boc .dsm_flipbox_child.et_pb_module{position:absolute}.dsm-flipbox{height:200px;position:relative;-webkit-perspective:1000px;perspective:1000px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.dsm_flipbox_child.et_pb_module{margin-bottom:0!important}.dsm_flipbox_child .et_pb_module_inner,.et-db #et-boc .dsm_flipbox_child>div{width:100%}.dsm_flipbox_child{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;text-align:center;position:absolute;width:100%;height:100%;-webkit-transition:transform .6s ease-in-out;-o-transition:transform .6s ease-in-out;-webkit-transition:-webkit-transform .6s ease-in-out;transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;border-style:solid}.dsm_flipbox_child .dsm_flipbox_child_image_wrap{display:block;margin:auto}.dsm_flipbox_child_image{display:inline-block;max-width:100%;margin-bottom:30px;line-height:0}.dsm_flipbox_icon_position_left .dsm_flipbox_child_image,.dsm_flipbox_icon_position_right .dsm_flipbox_child_image{display:table-cell;width:32px;line-height:0}.dsm_flipbox_icon_position_left .dsm_flipbox_wrapper{padding-left:15px}.dsm_flipbox_icon_position_left .dsm_flipbox_wrapper,.dsm_flipbox_icon_position_right .dsm_flipbox_wrapper{display:table-cell;vertical-align:top}.dsm_flipbox .dsm-flipbox-effect-right .dsm_flipbox_child:first-child{z-index:1;-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.dsm_flipbox:hover .dsm-flipbox-effect-right .dsm_flipbox_child:first-child{-webkit-transform:rotateX(0deg) rotateY(180deg);transform:rotateX(0deg) rotateY(180deg)}.dsm_flipbox .dsm-flipbox-effect-right .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(-180deg);transform:rotateX(0deg) rotateY(-180deg)}.dsm_flipbox .dsm-flipbox-effect-left .dsm_flipbox_child:first-child,.dsm_flipbox:hover .dsm-flipbox-effect-right .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.dsm_flipbox .dsm-flipbox-effect-left .dsm_flipbox_child:first-child{z-index:1}.dsm_flipbox:hover .dsm-flipbox-effect-left .dsm_flipbox_child:first-child{-webkit-transform:rotateX(0deg) rotateY(-180deg);transform:rotateX(0deg) rotateY(-180deg)}.dsm_flipbox .dsm-flipbox-effect-left .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(180deg);transform:rotateX(0deg) rotateY(180deg)}.dsm_flipbox .dsm-flipbox-effect-up .dsm_flipbox_child:first-child,.dsm_flipbox:hover .dsm-flipbox-effect-left .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.dsm_flipbox .dsm-flipbox-effect-up .dsm_flipbox_child:first-child{z-index:1}.dsm_flipbox:hover .dsm-flipbox-effect-up .dsm_flipbox_child:first-child{-webkit-transform:rotateX(180deg) rotateY(0);transform:rotateX(180deg) rotateY(0)}.dsm_flipbox .dsm-flipbox-effect-up .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(-180deg) rotateY(0);transform:rotateX(-180deg) rotateY(0)}.dsm_flipbox .dsm-flipbox-effect-down .dsm_flipbox_child:first-child,.dsm_flipbox:hover .dsm-flipbox-effect-up .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.dsm_flipbox .dsm-flipbox-effect-down .dsm_flipbox_child:first-child{z-index:1}.dsm_flipbox:hover .dsm-flipbox-effect-down .dsm_flipbox_child:first-child{-webkit-transform:rotateX(-180deg) rotateY(0);transform:rotateX(-180deg) rotateY(0)}.dsm_flipbox .dsm-flipbox-effect-down .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(180deg) rotateY(0);transform:rotateX(180deg) rotateY(0)}.dsm_flipbox:hover .dsm-flipbox-effect-down .dsm_flipbox_child:nth-child(2){-webkit-transform:rotateX(0deg) rotateY(0deg);transform:rotateX(0deg) rotateY(0deg)}.dsm_perspective_image{display:block;margin-right:auto;margin-left:auto;line-height:0}.dsm_perspective_image .dsm-image-wrapper{-webkit-transform:perspective(1000px);transform:perspective(1000px)}.dsm_perspective_image .et_pb_image_wrap{display:inline-block;position:relative;max-width:100%}.dsm_perspective_image img{position:relative}.dsm_text_divider .dsm-text-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:relative;margin:0 auto}.dsm-text-divider-after,.dsm-text-divider-before{font-size:0;line-height:0;-ms-flex-positive:1;flex-grow:1;border-top-width:1px;border-top-style:solid;border-top-color:#7ebec5}.dsm-text-divider-header{padding-bottom:0;-ms-flex-negative:1;flex-shrink:1;margin:0 10px}.dsm-text-divider-align-left .dsm-text-divider-before,.dsm-text-divider-align-right .dsm-text-divider-after{display:none}.dsm-gradient-text{-webkit-background-clip:text;-webkit-text-fill-color:transparent}.dsm-buttons-separator{margin-left:10px;margin-right:10px}.dsm-hidden{display:none}/*!
|
2 |
* Hover.css (http://ianlunn.github.io/Hover/)
|
3 |
* Version: 2.1.0
|
4 |
* Author: Ian Lunn @IanLunn
|
supreme-modules-for-divi.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Divi Supreme Modules
|
4 |
Plugin URI: https://suprememodules.com
|
5 |
Description: Supreme Modules enhances the experience and features found on Divi and extend with custom creative modules to help you build amazing websites.
|
6 |
-
Version: 1.1.
|
7 |
Author: Supreme Modules
|
8 |
Author URI: https://suprememodules.com/about-us/
|
9 |
License: GPL2
|
@@ -24,6 +24,7 @@ GNU General Public License for more details.
|
|
24 |
You should have received a copy of the GNU General Public License
|
25 |
along with Supreme Modules. If not, see https://www.gnu.org/licenses/gpl-2.0.html.
|
26 |
*/
|
|
|
27 |
|
28 |
if ( ! function_exists( 'dsm_initialize_extension' ) ):
|
29 |
/**
|
@@ -40,9 +41,9 @@ endif;
|
|
40 |
require_once plugin_dir_path( __FILE__ ) . 'includes/SupremeModulesLoader.php';
|
41 |
|
42 |
function dsm_scripts(){
|
43 |
-
wp_register_script('dsm-typed', plugin_dir_url( __FILE__ ) . 'assets/js/typed.min.js', array(),
|
44 |
-
wp_register_script('dsm-facebook', plugin_dir_url( __FILE__ ) . 'assets/js/dsm-facebook.js', array(),
|
45 |
-
wp_register_script('dsm-twitter-embed', 'https://platform.twitter.com/widgets.js', array(),
|
46 |
if ( et_core_is_fb_enabled() ) {
|
47 |
wp_enqueue_style('dsm-et-admin', plugin_dir_url( __FILE__ ) . 'assets/css/dsm-et-admin.css' );
|
48 |
}
|
3 |
Plugin Name: Divi Supreme Modules
|
4 |
Plugin URI: https://suprememodules.com
|
5 |
Description: Supreme Modules enhances the experience and features found on Divi and extend with custom creative modules to help you build amazing websites.
|
6 |
+
Version: 1.1.3
|
7 |
Author: Supreme Modules
|
8 |
Author URI: https://suprememodules.com/about-us/
|
9 |
License: GPL2
|
24 |
You should have received a copy of the GNU General Public License
|
25 |
along with Supreme Modules. If not, see https://www.gnu.org/licenses/gpl-2.0.html.
|
26 |
*/
|
27 |
+
define( 'DSM_VERSION', '1.1.3' );
|
28 |
|
29 |
if ( ! function_exists( 'dsm_initialize_extension' ) ):
|
30 |
/**
|
41 |
require_once plugin_dir_path( __FILE__ ) . 'includes/SupremeModulesLoader.php';
|
42 |
|
43 |
function dsm_scripts(){
|
44 |
+
wp_register_script('dsm-typed', plugin_dir_url( __FILE__ ) . 'assets/js/typed.min.js', array(), DSM_VERSION, true );
|
45 |
+
wp_register_script('dsm-facebook', plugin_dir_url( __FILE__ ) . 'assets/js/dsm-facebook.js', array(), DSM_VERSION, true );
|
46 |
+
wp_register_script('dsm-twitter-embed', 'https://platform.twitter.com/widgets.js', array(), DSM_VERSION, true );
|
47 |
if ( et_core_is_fb_enabled() ) {
|
48 |
wp_enqueue_style('dsm-et-admin', plugin_dir_url( __FILE__ ) . 'assets/css/dsm-et-admin.css' );
|
49 |
}
|