Plugin Directory

Changeset 3447109


Ignore:
Timestamp:
01/26/2026 01:15:19 PM (2 months ago)
Author:
iflairwebtechnologies
Message:

Enhance sidebar display with shortcode support

Location:
site-accessibility
Files:
38 added
6 edited

Legend:

Unmodified
Added
Removed
  • site-accessibility/trunk/assets/css/style.css

    r3433474 r3447109  
     1/* Close button for shortcode mode */
     2.ifweac_sidebar_close_btn {
     3    position: absolute;
     4    top: -10px;
     5    right: 0;
     6    background: #fff;
     7    border: none;
     8    cursor: pointer;
     9    padding: 0;
     10    width: 30px;
     11    height: 30px;
     12    display: flex;
     13    align-items: center;
     14    justify-content: center;
     15    z-index: 10000;
     16    border-radius: 50%;
     17    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
     18    transition: all 0.3s ease;
     19}
     20.ifweac_sidebar_close_btn.shortcode{
     21    background-color: #fff !important;
     22    margin-right: -12px;
     23}
     24.ifweac_sidebar_close_btn.shortcode span{
     25    margin-left: 7px;
     26}
     27
     28.ifweac_sidebar_close_btn:hover {
     29    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
     30    transform: scale(1.1);
     31}
     32
     33.ifweac_sidebar_close_btn span {
     34    position: relative;
     35    display: inline-block;
     36    width: 18px;
     37    height: 18px;
     38}
     39
     40.ifweac_sidebar_close_btn span:before,
     41.ifweac_sidebar_close_btn span:after {
     42    content: "";
     43    position: absolute;
     44    width: 15px;
     45    height: 1.5px;
     46    background-color: #000;
     47    top: 50%;
     48    left: 0;
     49    border-radius: 2px;
     50    transition: background-color 0.3s ease;
     51}
     52
     53.ifweac_sidebar_close_btn span:before {
     54    transform: rotate(45deg);
     55}
     56
     57.ifweac_sidebar_close_btn span:after {
     58    transform: rotate(-45deg);
     59}
     60
     61.ifweac_sidebar_close_btn:hover span:before,
     62.ifweac_sidebar_close_btn:hover span:after {
     63    background-color: #333;
     64}
     65
    166.ifweac_sidebar_icon .ifweac_image-wrap > img{
    267    margin-top: 20px;
     
    974.ifweac_sidebar_content h5{
    1075    font-size: 17px;
     76    margin-right: 30px;
     77}
     78
     79.ifweac_sidebar_head {
     80    position: relative;
    1181}
    1282.ifweac_image-wrap {
     
    111181.ifweac_accessibility-menu-wrapper.show .ifweac_sidebar_toggler.ifweac_left_bottom .ifweac_sidebar_toggler_btn{
    112182    position: fixed;
    113     top: 22px;
    114     left: 258px;
     183    top: 15px;
     184    left: 270px;
    115185    height: 35px;
    116186    width: 35px !important;
     
    217287    padding: 7px;
    218288    line-height: 1;
     289    width: 100%;
    219290}
    220291.ifweac_accessibility #ifweac_sidebar .ifweac_fonts_wrapper,
     
    396467.ifweac_sidebar_content h2 {
    397468    margin-top: 0;
    398     font-size: 26px;
     469    font-size: 25px;
    399470    padding-bottom: 0;
    400471    color: #fff;
  • site-accessibility/trunk/assets/js/public/custom.js

    r3437805 r3447109  
    3838
    3939// Toggling the Sidebar
    40 ifweac_sidebarToggler.addEventListener("click", () => {
    41   ifweac_sidebar.classList.toggle("show");
    42   ifweac_accessibility_menu_wrapper.classList.toggle("show");
    43 });
     40if (ifweac_sidebarToggler) {
     41  ifweac_sidebarToggler.addEventListener("click", () => {
     42    ifweac_sidebar.classList.toggle("show");
     43    ifweac_accessibility_menu_wrapper.classList.toggle("show");
     44  });
     45}
     46
     47// Close button for shortcode mode
     48const ifweac_closeBtn = document.querySelector("#ifweac_sidebar_close_btn");
     49if (ifweac_closeBtn) {
     50  ifweac_closeBtn.addEventListener("click", () => {
     51    ifweac_sidebar.classList.remove("show");
     52    ifweac_accessibility_menu_wrapper.classList.remove("show");
     53  });
     54 
     55  // Also allow keyboard navigation (Escape key)
     56  document.addEventListener("keydown", (e) => {
     57    if (e.key === "Escape" && ifweac_sidebar.classList.contains("show")) {
     58      ifweac_sidebar.classList.remove("show");
     59      ifweac_accessibility_menu_wrapper.classList.remove("show");
     60    }
     61  });
     62}
    4463
    4564//*********************************//
     
    746765    }}, delay);
    747766});
     767
     768// Outside menu wrapper click hide menu wrapper
     769jQuery(document).on('click', function (e) {
     770    const $menu    = jQuery('.ifweac_accessibility-menu-wrapper');
     771    const $toggler = jQuery('.ifweac_sidebar_toggler');
     772    // If click is inside menu → do nothing
     773    if ($menu.is(e.target) || $menu.has(e.target).length) {
     774        return;
     775    }
     776    // If click is on toggler → do nothing
     777    if ($toggler.is(e.target) || $toggler.has(e.target).length) {
     778        return;
     779    }
     780    // Otherwise → close menu
     781    $menu.removeClass('show');
     782});
  • site-accessibility/trunk/ifweac-accessibility.php

    r3437805 r3447109  
    11<?php
    22/*
    3  * Plugin Name: SiteEase Accessibility
     3 * Plugin Name: SiteEase Accessibility Pro
    44 * Description: Our plugin will be usefull to the people who have some eye disability. We are helping them to to change some font size, and color.
    55 * Plugin URI: https://www.iflair.com
    6  * Version: 1.1.3
     6 * Version: 1.1.4
    77 * Author: iFlair Web Technologies Pvt. Ltd.
    88 * Author URI: https://www.iflair.com
     
    1515
    1616// Define plugin version
    17 define( 'IFWEAC_VERSION' , '1.1.3' );
     17define( 'IFWEAC_VERSION' , '1.1.4' );
    1818define( 'IFWEAC_PATH', plugins_url() );
    1919define( 'IFWEAC_FILE', __FILE__ );
     
    8181add_action('admin_menu', 'ifweac_accessibility_plugin_setup_menu');
    8282function ifweac_accessibility_plugin_setup_menu(){
    83     add_menu_page( esc_html__('SiteEase Accessibility', 'site-accessibility'), esc_html__('SiteEase Accessibility', 'site-accessibility'), 'manage_options', 'site-accessibility-plugin', 'ifweac_admin_page_html_callback', 'dashicons-universal-access-alt' , 5);
     83    add_menu_page( esc_html__('SiteEase Accessibility Pro', 'site-accessibility'), esc_html__('SiteEase Accessibility Pro', 'site-accessibility'), 'manage_options', 'site-accessibility-plugin', 'ifweac_admin_page_html_callback', 'dashicons-universal-access-alt' , 5);
    8484    add_action('admin_init', 'ifweac_plugin_redirect');
    8585}
     
    170170    register_setting('ifweac-default-accessibility-plugin-settings-group', 'ifweac_enable_position', 'ifweac_common_sanitize');
    171171    register_setting('ifweac-default-accessibility-plugin-settings-group', 'ifweac_select_sidebar_icon_color', 'ifweac_common_sanitize');
     172
     173    register_setting(
     174        'ifweac-default-accessibility-plugin-settings-group',
     175        'ifweac_sidebar_shortcode_position',
     176        'ifweac_common_sanitize'
     177    );
    172178
    173179    if (isset($_REQUEST['page']) && isset($_REQUEST['tab']) && isset($_REQUEST['settings-updated'])) {
     
    284290    load_plugin_textdomain('site-accessibility', false, dirname(plugin_basename(__FILE__)) . '/languages');
    285291}
     292
     293// Register sidebar shortcode
     294function ifweac_sidebar_shortcode() {
     295    $ifweac_sidebar_shortcode_position = get_option('ifweac_sidebar_shortcode_position');
     296    // Only render shortcode button when "shortcode" option is selected
     297    if ($ifweac_sidebar_shortcode_position !== 'shortcode') {
     298        return ''; // Return empty if not in shortcode mode
     299    }
     300
     301    ob_start();
     302
     303    $ifweac_sidebar_title = '';
     304    $ifweac_sidebar_title = get_option('ifweac_sidebar_title');
     305    $ifweac_sidebar_icon = get_option('ifweac_sidebar_icon');
     306    $ifweac_enable_btn_txt = get_option('ifweac_enable_btn_txt');
     307    $ifweac_enable_btn_image = get_option('ifweac_enable_btn_image');
     308
     309    if(isset($ifweac_enable_btn_txt) && !empty($ifweac_enable_btn_txt)){
     310        if(empty($ifweac_sidebar_title)){
     311            $ifweac_sidebar_title = 'Accessibility';
     312        }       
     313    }
     314
     315    $ifweac_select_sidebar_icon_color = get_option('ifweac_select_sidebar_icon_color'); 
     316
     317    if(empty($ifweac_select_sidebar_icon_color)){
     318        $ifweac_select_sidebar_icon_color = '#086db3';
     319    }       
     320    ?> 
     321    <!-- Hidden field to pass sidebar/shortcode option to JavaScript -->
     322    <input type="hidden" id="ifweac_sidebar_display_mode" value="<?php echo esc_attr($ifweac_sidebar_shortcode_position); ?>" /> 
     323
     324    <?php
     325    // Only show the default sidebar toggler if "Default Sidebar" option is selected
     326    if ($ifweac_sidebar_shortcode_position === 'shortcode') {
     327        if($ifweac_enable_btn_image && $ifweac_enable_btn_txt){ ?>
     328            <div class="ifweac_sidebar_toggler first">
     329                <div class="ifweac_sidebar_toggler_btn" style="width:max-content;background-color: <?php echo esc_attr($ifweac_select_sidebar_icon_color);?>">
     330                <?php
     331                if($ifweac_enable_btn_image) {
     332                    if(!empty($ifweac_sidebar_icon)){ ?>
     333                        <img src="<?php echo esc_url($ifweac_sidebar_icon); ?>" alt="" width="35" height="35">
     334                    <?php } else { ?>
     335                        <img src="<?php echo esc_url(plugins_url()).'/site-accessibility/assets/images/public/accessibility.png'; ?>" alt="" width="35" height="35">
     336                    <?php }
     337                } ?>
     338                <?php
     339                if($ifweac_enable_btn_txt) {
     340                    if(!empty($ifweac_sidebar_title)){ ?>
     341                    <span style="font-size: 16px;"><?php echo esc_html($ifweac_sidebar_title);?></span>
     342                    <?php } else { ?>
     343                    <span style="font-size: 16px;"><?php echo esc_html__('Accessibility', 'site-accessibility');?></span>
     344                <?php }
     345                } ?>
     346                </div>
     347            </div>
     348        <?php } else if ($ifweac_enable_btn_txt) { ?>
     349            <div class="ifweac_sidebar_toggler second">
     350                <div class="ifweac_sidebar_toggler_btn" style="width:max-content;background-color: <?php echo esc_attr($ifweac_select_sidebar_icon_color);?>">
     351                    <span style="font-size: 16px;"><?php echo esc_html($ifweac_sidebar_title);?></span>           
     352                </div>
     353            </div>
     354        <?php } else if ($ifweac_enable_btn_image) { ?>
     355            <div class="ifweac_sidebar_toggler third">
     356                <div class="ifweac_sidebar_toggler_btn" style="width:max-content;background-color: <?php echo esc_attr($ifweac_select_sidebar_icon_color);?>">
     357                    <?php
     358                    if(!empty($ifweac_sidebar_icon)){ ?>
     359                        <img src="<?php echo esc_url($ifweac_sidebar_icon); ?>" alt="" width="35" height="35">
     360                        <span></span>
     361                    <?php } else { ?>
     362                        <img src="<?php echo esc_url(plugins_url()).'/site-accessibility/assets/images/public/accessibility.png'; ?>" alt="" width="35" height="35">
     363                        <span></span>
     364                    <?php } ?>
     365                </div>
     366            </div>
     367        <?php } else { ?>
     368            <div class="ifweac_sidebar_toggler fourth">
     369                <div class="ifweac_sidebar_toggler_btn" style="width:max-content;background-color: <?php echo esc_attr($ifweac_select_sidebar_icon_color);?>">
     370                    <img src="<?php echo esc_url(plugins_url()).'/site-accessibility/assets/images/public/accessibility.png'; ?>" alt="" width="35" height="35">
     371                    <span></span>               
     372                </div>
     373            </div>
     374        <?php }
     375    }
     376    return ob_get_clean();
     377}
     378add_shortcode('ifweac_sidebar', 'ifweac_sidebar_shortcode');
  • site-accessibility/trunk/readme.txt

    r3437805 r3447109  
    1 === SiteEase Accessibility ===
     1=== SiteEase Accessibility Pro ===
    22Contributors: iflairwebtechnologies
    33Donate link: https://www.iflair.com/
     
    55Requires at least: 4.7
    66Tested up to: 6.9
    7 Stable tag: 1.1.3
     7Stable tag: 1.1.4
    88Requires PHP: 5.6
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1111
    12 SiteEase Accessibility improves readability and usability by letting users adjust font size, colors, and visual settings.
     12SiteEase Accessibility Pro improves website readability and usability by allowing users to adjust font size, colors, and other visual settings.
    1313
    1414== Description ==
    1515
    16 **SiteEase Accessibility** is a WordPress plugin that adds a set of front-end accessibility and usability tools, allowing visitors to adjust how content appears on your website based on their individual needs.
     16**SiteEase Accessibility Pro** is a WordPress plugin that adds a set of front-end accessibility and usability tools, enabling visitors to customize how content appears on your website according to their individual needs.
    1717
    18 The plugin focuses on **visual accessibility and user comfort**, offering controls such as font size adjustment, color customization, link highlighting, image and text magnifiers, and cursor enhancements. These features help users with visual strain, low vision, or readability preferences interact with website content more comfortably.
     18The plugin focuses on **visual accessibility and user comfort**, offering features such as font size adjustment, color customization, link highlighting, image and text magnifiers, and cursor enhancements. These tools help users with visual strain, low vision, or specific readability preferences interact with content more comfortably.
    1919
    20 All features can be enabled, disabled, and configured from a dedicated **admin settings page**, making the plugin easy to set up without any coding knowledge.
     20All features can be enabled, disabled, and configured from a dedicated **admin settings page**, making the plugin easy to set up with no coding knowledge required.
    2121
    22 > Note: This plugin provides accessibility enhancements but does not claim full WCAG compliance.
     22> **Note:** This plugin provides accessibility enhancements but does not claim full WCAG compliance.
    2323
    24 ### Features
     24== Features ==
    2525
    2626**Font Size Adjustment** 
    27 Allows users to increase or decrease text size to improve readability.
     27Allows users to increase or decrease text size for improved readability.
    2828
    2929**Text Color Customization** 
    30 Users can change font colors to improve contrast and visibility.
     30Enables users to change font colors to improve contrast and visibility.
    3131
    3232**Underline Links** 
     
    3737
    3838**Light Theme Mode** 
    39 Provides a light display mode option for improved readability in different environments.
     39Provides a light display mode for better readability in various environments.
    4040
    4141**Grayscale Images** 
     
    4343
    4444**Image Magnifier** 
    45 Allows users to zoom into images for better visibility.
     45Allows users to zoom in on images for improved visibility.
    4646
    4747**Text Magnifier** 
     
    5858
    5959**Page Title Color Control** 
    60 Allows customization of page title colors for better contrast.
     60Allows customization of page title colors for improved contrast.
    6161
    6262**Reset Settings Button** 
    63 Users can reset all accessibility settings back to default at any time.
     63Allows users to reset all accessibility settings to their default values at any time.
    6464
    6565== Installation ==
    6666
    67671. Go to **Plugins > Add New** in your WordPress admin panel.
    68 2. Search for **SiteEase Accessibility**.
     682. Search for **SiteEase Accessibility Pro**.
    69693. Install and activate the plugin.
    70 4. Navigate to **Settings > SiteEase Accessibility**.
    71 5. Configure the available accessibility options as needed.
    72 6. Visit the front-end of your site to see the accessibility controls in action.
     704. Navigate to **SiteEase Accessibility Pro**.
     715. Configure the accessibility options as needed.
     726. Visit the front end of your site to view the accessibility controls in action.
    7373
    7474== Frequently Asked Questions ==
    7575
    76 = What does SiteEase Accessibility do? =
     76= What does SiteEase Accessibility Pro do? =
    7777It adds front-end tools that allow visitors to adjust font size, colors, cursor visibility, image display, and other visual elements to improve readability and usability.
    7878
     
    8686The plugin is designed to work with most modern WordPress themes. Appearance may vary slightly depending on theme styles.
    8787
     88= How do I use the shortcode to display the accessibility toggle button? =
     89You can use the shortcode `[ifweac_sidebar]` to display the accessibility toggle button anywhere on your site.
     90
     91Simply add the shortcode to any page, post, or widget where you want the accessibility sidebar toggle button to appear. This is useful if you have disabled the default sidebar display or want more control over its placement.
     92
    8893== Screenshots ==
    8994
    90 1. Front-end accessibility sidebar button 
    91 2. Front-end accessibility control panel 
    92 3. Admin settings – general options 
    93 4. Admin settings – advanced options 
     951. Front-end accessibility sidebar button
     962. Front-end accessibility control panel
     973. Admin settings – general options
     984. Admin settings – advanced options
    9499
    95100== Changelog ==
    96101
     102= 1.1.4 =
     103* Added default sidebar display option and shortcode support
     104* Added shortcode `[ifweac_sidebar]` to display the accessibility toggle button on posts and pages
     105* Improved overall design
     106
    97107= 1.1.3 =
    98 * Rename plugin to SiteEase Accessibility, update readme and headers, fix accessibility issues, unify text domain, and update compatibility
     108* Renamed plugin to SiteEase Accessibility
     109* Updated readme and plugin headers
     110* Fixed accessibility issues
     111* Unified text domain
     112* Updated compatibility
    99113
    100114= 1.1.2 =
    101 * Improved HTML structure and markup handling.
     115* Improved HTML structure and markup handling
    102116
    103117= 1.1.1 =
    104 * UI improvements and better theme compatibility.
     118* UI improvements and enhanced theme compatibility
    105119
    106120= 1.1.0 =
    107 * Minor bug fixes and accessibility improvements.
     121* Minor bug fixes and accessibility improvements
    108122
    109123= 1.0.0 =
    110 * Initial release.
     124* Initial release
  • site-accessibility/trunk/templates/admin/default_page_fields.php

    r3433474 r3447109  
    123123            </td>
    124124        </tr>
     125
     126        <!-- HTML for sidebar or shortcode display admin settings -->
     127        <?php
     128        $ifweac_sidebar_shortcode_position = get_option(
     129            'ifweac_sidebar_shortcode_position',
     130            'default_sidebar' // default value
     131        );
     132        ?>
     133
     134        <tr valign="top">
     135            <th scope="row">
     136                <?php esc_html_e( 'Default sidebar display or shortcode', 'site-accessibility' ); ?>
     137            </th>
     138            <td>
     139                <div class="ifweac_pos-main">
     140
     141                    <div class="ifweac_pos-inner">
     142                        <input
     143                            type="radio"
     144                            id="ifweac_position_sidebar"
     145                            name="ifweac_sidebar_shortcode_position"
     146                            value="default_sidebar"
     147                            <?php checked( $ifweac_sidebar_shortcode_position, 'default_sidebar' ); ?>
     148                        />
     149                        <label for="ifweac_position_sidebar">
     150                            <?php esc_html_e( 'Default Sidebar', 'site-accessibility' ); ?>
     151                        </label>
     152                    </div>
     153
     154                    <div class="ifweac_pos-inner">
     155                        <input
     156                            type="radio"
     157                            id="ifweac_position_shortcode"
     158                            name="ifweac_sidebar_shortcode_position"
     159                            value="shortcode"
     160                            <?php checked( $ifweac_sidebar_shortcode_position, 'shortcode' ); ?>
     161                        />
     162                        <label for="ifweac_position_shortcode">
     163                            <?php esc_html_e( 'Shortcode', 'site-accessibility' ); ?>
     164                        </label>
     165                    </div>
     166
     167                </div>
     168            </td>
     169        </tr>
     170
     171
    125172    </table>
    126173    <!-- End Table code -->
  • site-accessibility/trunk/templates/public/sidebar.php

    r3437805 r3447109  
    4444        <div class="ifweac_sidebar_content ifweac_sidebar_head">
    4545            <?php if(!empty($ifweac_title)){ ?>
    46                 <h5><?php echo esc_html($ifweac_title); ?></h5>
     46                <h2><?php echo esc_html($ifweac_title); ?></h2>
    4747            <?php
    4848            } else { ?>
    49                 <h5><?php echo esc_html__('Accessibility Options', 'site-accessibility'); ?></h5>
    50             <?php } ?>       
     49                <h2><?php echo esc_html__('Accessibility Options', 'site-accessibility'); ?></h2>
     50            <?php } ?>
     51            <!-- Close button for shortcode mode -->
     52            <?php
     53            $ifweac_sidebar_shortcode_position = get_option('ifweac_sidebar_shortcode_position', 'default_sidebar');
     54            if ($ifweac_sidebar_shortcode_position === 'shortcode') { ?>
     55                <button type="button" class="ifweac_sidebar_close_btn shortcode" id="ifweac_sidebar_close_btn" aria-label="<?php echo esc_attr__('Close accessibility sidebar', 'site-accessibility'); ?>" tabindex="0">
     56                    <span></span>
     57                </button>
     58            <?php } ?>
    5159        </div>
    5260        <!-- End Sidbar Head -->
     
    344352    <!-- End Sidebar section -->
    345353
     354    <!-- Start Sidebar-Toggler --> 
    346355    <?php
     356    $ifweac_sidebar_title = '';
    347357    $ifweac_sidebar_title = get_option('ifweac_sidebar_title');
    348358    $ifweac_sidebar_icon = get_option('ifweac_sidebar_icon');
    349359    $ifweac_enable_btn_txt = get_option('ifweac_enable_btn_txt');
    350360    $ifweac_enable_btn_image = get_option('ifweac_enable_btn_image');
    351     ?>   
    352     <!-- Start Sidebar-Toggler -->
    353     <?php $ifweac_select_sidebar_icon_color = get_option('ifweac_select_sidebar_icon_color');
     361
     362    if(isset($ifweac_enable_btn_txt) && !empty($ifweac_enable_btn_txt)){
     363        if(empty($ifweac_sidebar_title)){
     364            $ifweac_sidebar_title = 'Accessibility';
     365        }       
     366    }
     367
     368    $ifweac_sidebar_shortcode_position = get_option('ifweac_sidebar_shortcode_position', 'default_sidebar');
     369    $ifweac_select_sidebar_icon_color = get_option('ifweac_select_sidebar_icon_color'); 
    354370
    355371    if(empty($ifweac_select_sidebar_icon_color)){
    356372        $ifweac_select_sidebar_icon_color = '#086db3';
    357373    }       
    358     ?>   
    359         <?php
     374    ?> 
     375    <!-- Hidden field to pass sidebar/shortcode option to JavaScript -->
     376    <input type="hidden" id="ifweac_sidebar_display_mode" value="<?php echo esc_attr($ifweac_sidebar_shortcode_position); ?>" /> 
     377
     378    <?php
     379    // Only show the default sidebar toggler if "Default Sidebar" option is selected
     380    if ($ifweac_sidebar_shortcode_position === 'default_sidebar') {
    360381        if($ifweac_enable_btn_image && $ifweac_enable_btn_txt){ ?>
    361382            <div class="ifweac_sidebar_toggler first">
     
    378399                } ?>
    379400                </div>
    380             </div> <?php }
    381             else if ($ifweac_enable_btn_txt) { ?>
    382                 <div class="ifweac_sidebar_toggler second">
     401            </div>
     402        <?php } else if ($ifweac_enable_btn_txt) { ?>
     403            <div class="ifweac_sidebar_toggler second">
    383404                <div class="ifweac_sidebar_toggler_btn" style="width:auto;background-color: <?php echo esc_attr($ifweac_select_sidebar_icon_color);?>">
    384                     <span style="font-size: 16px;"><?php echo esc_html($ifweac_sidebar_title);?></span>               
     405                    <span style="font-size: 16px;"><?php echo esc_html($ifweac_sidebar_title);?></span>           
    385406                </div>
    386407            </div>
    387             <?php } else if ($ifweac_enable_btn_image) { ?>
     408        <?php } else if ($ifweac_enable_btn_image) { ?>
    388409            <div class="ifweac_sidebar_toggler third">
    389410                <div class="ifweac_sidebar_toggler_btn" style="width:auto;background-color: <?php echo esc_attr($ifweac_select_sidebar_icon_color);?>">
     
    398419                </div>
    399420            </div>
    400             <?php } else { ?>
     421        <?php } else { ?>
    401422            <div class="ifweac_sidebar_toggler fourth">
    402423                <div class="ifweac_sidebar_toggler_btn" style="width:auto;background-color: <?php echo esc_attr($ifweac_select_sidebar_icon_color);?>">
     
    405426                </div>
    406427            </div>
    407        <?php } ?>
    408     <!-- End Sidebar-Toggler -->   
     428        <?php }
     429    } ?>
     430    <!-- End Sidebar-Toggler -->
     431
    409432</div>
    410433<!-- End Sidebar wrapper -->
Note: See TracChangeset for help on using the changeset viewer.