Plugin Directory

Changeset 2795613


Ignore:
Timestamp:
10/07/2022 11:49:51 AM (3 years ago)
Author:
creativebrahma
Message:

Elementor full-width template updated

Location:
multifox-plus/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • multifox-plus/trunk/modules/footer/elementor/index.php

    r2642360 r2795613  
    3535            ob_start();
    3636
     37            $page_template = get_post_meta( $id, '_wp_page_template', true );
     38            if($page_template == 'elementor_header_footer') {
     39                $class = 'wdt-elementor-container-fluid';
     40            } else {
     41                $class = 'container';
     42            }
     43
    3744            echo '<footer id="footer">';
    38                 echo '<div class="container">';
     45                echo '<div class="'.esc_attr($class).'">';
    3946                    echo '<div id="footer-'.esc_attr( $id ).'" class="mfx-footer-tpl footer-' .esc_attr( $id ). '">';
    4047                        if( class_exists( '\Elementor\Core\Files\CSS\Post' ) ) {
  • multifox-plus/trunk/modules/header/elementor/index.php

    r2637895 r2795613  
    3535            ob_start();
    3636
    37             echo '<div id="header-'.esc_attr( $id ).'" class="mfx-header-tpl header-' .esc_attr( $id ). '">';
     37            $page_template = get_post_meta( $id, '_wp_page_template', true );
     38            if($page_template == 'elementor_header_footer') {
     39                $class = 'wdt-elementor-container-fluid';
     40            } else {
     41                $class = 'container';
     42            }
     43            echo '<div class="'.esc_attr($class).'">';
    3844
    39                 if( class_exists( '\Elementor\Core\Files\CSS\Post' ) ) {
    40                     $css_file = new \Elementor\Core\Files\CSS\Post( $id );
    41                     $css_file->enqueue();
     45                echo '<div id="header-'.esc_attr( $id ).'" class="mfx-header-tpl header-' .esc_attr( $id ). '">';
    4246
    43                     echo multifox_html_output($elementor_instance->frontend->get_builder_content_for_display( $id ));
    44                 } else {
    45                     $header = get_post( $id );
    46                     echo apply_filters( 'the_content', $header->post_content );
    47                 }
     47                    if( class_exists( '\Elementor\Core\Files\CSS\Post' ) ) {
     48                        $css_file = new \Elementor\Core\Files\CSS\Post( $id );
     49                        $css_file->enqueue();
    4850
     51                        echo multifox_html_output($elementor_instance->frontend->get_builder_content_for_display( $id ));
     52                    } else {
     53                        $header = get_post( $id );
     54                        echo apply_filters( 'the_content', $header->post_content );
     55                    }
     56
     57                echo '</div>';
     58               
    4959            echo '</div>';
    5060
  • multifox-plus/trunk/multifox-plus.php

    r2786266 r2795613  
    33 * Plugin Name: Multifox Plus
    44 * Description: Adds additional features for Multifox Theme.
    5  * Version: 1.1.3
     5 * Version: 1.1.4
    66 * Author: Creative Brahma
    77 * Author URI: https://profiles.wordpress.org/creativebrahma/
  • multifox-plus/trunk/readme.txt

    r2786286 r2795613  
    55Requires at least: 5.0
    66Tested up to: 6.0.2
    7 Stable tag: 1.1.3
     7Stable tag: 1.1.4
    88Requires PHP: 7.1
    9 Version: 1.1.3
     9Version: 1.1.4
    1010License: GPLv3 or later
    1111License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
     
    30301. From the dashboard of your site, navigate to Plugins –> Add New.
    31312. Select the Upload option and hit 'Choose File'.
    32 3. When the popup appears, select the 'multifox-plus.zip' file from your PC.
     323. When the popup appears, select the multifox-plus.zip file from your PC.
    33334. Activate the plugin through the 'Plugins' menu in WordPress.
    3434
     
    3939
    4040== Changelog ==
     41
     42= 1.1.4 =
     43
     44    * Elementor full width template compatible
    4145
    4246= 1.1.3 =
Note: See TracChangeset for help on using the changeset viewer.