function addthis_wordpress_mode_tabs()
    {
        global $addThisConfigs;
        global $cmsConnector;
        $options = $addThisConfigs->getConfigs();
        ?>
        <div class="Main-content" id="tabs">
            <ul class="Tabbed-nav">
                <li class="Tabbed-nav-item"><a href="#tabs-1">Sharing Tools</a></li>
                <li class="Tabbed-nav-item"><a href="#tabs-2">Advanced Options</a></li>
            </ul>

            <div id="tabs-1">
                <input
                    type="hidden"
                    value="<?php 
        echo $options['atversion'];
        ?>
"
                    name="addthis_settings[atversion]"
                    id="addthis_atversion_hidden" />
                <input
                    type="hidden"
                    value="<?php 
        echo $options['atversion_update_status'];
        ?>
"
                    name="addthis_settings[atversion_update_status]"
                    id="addthis_atversion_update_status" />
                <input
                    type="hidden"
                    value="<?php 
        echo $options['credential_validation_status'];
        ?>
"
                    name="addthis_settings[credential_validation_status]"
                    id="addthis_credential_validation_status" />

                <div class="Card" id="Card-above-post">
                    <div class="Card-hd">
                        <div class="at-tool-toggle">
                            <input
                                type="checkbox"
                                value="true"
                                name="addthis_settings[addthis_above_enabled]"
                                class="addthis-toggle-cb"
                                id="addthis_above_enabled"
                                style="display:none;" <?php 
        echo $options['addthis_above_enabled'] != false ? 'checked="checked"' : '';
        ?>
/>
                            <div
                                id="addthis_above_enabled_switch"
                                class="addthis-switch <?php 
        echo $options['addthis_above_enabled'] != false ? 'addthis-switchOn' : '';
        ?>
">
                            </div>
                        </div>
                        <h3 class="Card-hd-title">Sharing Buttons Above Content</h3>
                        <ul class="Tabbed-nav">
                            <li class="Tabbed-nav-item"><a href="#top-1">Style</a></li>
                            <li class="Tabbed-nav-item"><a href="#top-2">Options</a></li>
                        </ul>
                    </div>
                    <div class="addthis_above_enabled_overlay" >
                        <div  class="Card-bd">
                            <div id="top-1">
                                <?php 
        _addthis_choose_icons('above', $options);
        ?>
                            </div>
                            <div id="top-2">
                                <?php 
        _addthis_print_template_checkboxes('above');
        ?>
                            </div>
                        </div>
                    </div>
                </div>


                <div class="Card" id="Card-below-post">
                    <div class="Card-hd">
                        <div class="at-tool-toggle">
                            <input
                                type="checkbox"
                                value="true"
                                name="addthis_settings[addthis_below_enabled]"
                                class="addthis-toggle-cb"
                                id="addthis_below_enabled"
                                style="display:none;" <?php 
        echo $options['addthis_below_enabled'] != false ? 'checked="checked"' : '';
        ?>
/>
                            <div
                                id="addthis_below_enabled_switch"
                                class="addthis-switch <?php 
        echo $options['addthis_below_enabled'] != false ? 'addthis-switchOn' : '';
        ?>
">
                            </div>
                        </div>
                        <h3 class="Card-hd-title">Sharing Buttons Below Content</h3>
                        <ul class="Tabbed-nav">
                            <li class="Tabbed-nav-item"><a href="#bottom-1">Style</a></li>
                            <li class="Tabbed-nav-item"><a href="#bottom-2">Options</a></li>
                        </ul>
                    </div>
                    <div class="addthis_below_enabled_overlay">
                        <div class="Card-bd">
                            <div id="bottom-1">
                                <?php 
        _addthis_choose_icons('below', $options);
        ?>
                            </div>
                            <div id="bottom-2">
                                <?php 
        _addthis_print_template_checkboxes('below');
        ?>
                            </div>
                        </div>
                    </div>
                </div>


                <div class="Card"  id="Card-side-sharing">
                    <div class="Card-hd">
                        <div class="at-tool-toggle">
                            <input
                                type="checkbox"
                                value="true"
                                name="addthis_settings[addthis_sidebar_enabled]"
                                class="addthis-toggle-cb" id="addthis_sidebar_enabled"
                                style="display:none;" <?php 
        echo $options['addthis_sidebar_enabled'] != false ? 'checked="checked"' : '';
        ?>
/>
                            <div
                                id="addthis_sidebar_enabled_switch"
                                class="addthis-switch <?php 
        echo $options['addthis_sidebar_enabled'] != false ? 'addthis-switchOn' : '';
        ?>
">
                            </div>
                        </div>
                        <h3 class="Card-hd-title">Sharing Sidebar</h3>
                        <ul class="Tabbed-nav">
                            <li class="Tabbed-nav-item"><a href="#side-1">Style</a></li>
                            <li class="Tabbed-nav-item"><a href="#side-2">Options</a></li>
                        </ul>
                    </div>
                    <div class="addthis_sidebar_enabled_overlay">
                        <div class="Card-bd">
                            <div id="side-1">
                                <p>These buttons will appear on the side of the page, along the edge.</p>
                                <img src="<?php 
        echo $cmsConnector->getPluginImageFolderUrl() . 'sidebar_theme_light.png';
        ?>
" />
                                <ul>
                                    <li>
                                        <strong>Position</strong>
                                        <label for="addthis_sidebar_position_left" class="addthis-sidebar-position-label">
                                            <input
                                                type="radio"
                                                id="addthis_sidebar_position_left"
                                                name="addthis_settings[addthis_sidebar_position]"
                                                value="left" <?php 
        echo $options['addthis_sidebar_position'] == 'left' ? 'checked="checked"' : '';
        ?>
/>
                                            <span class="addthis-checkbox-label">Left</span>
                                        </label>
                                        <label for="addthis_sidebar_position_right" class="addthis-sidebar-position-label">
                                            <input
                                                type="radio"
                                                id="addthis_sidebar_position_right"
                                                name="addthis_settings[addthis_sidebar_position]"
                                                value="right" <?php 
        echo $options['addthis_sidebar_position'] == 'right' ? 'checked="checked"' : '';
        ?>
/>
                                            <span class="addthis-checkbox-label">Right</span>
                                        </label>
                                    </li>
                                </ul>
                            </div>
                            <div id="side-2">
                                <?php 
        _addthis_print_template_checkboxes('sidebar');
        ?>
                                <ul>
                                    <li>
                                        <label for="addthis_sidebar_count">
                                            <strong>Buttons</strong>
                                            <span class="at-wp-tooltip" tooltip="The number of social sharing buttons to show in the side sharing tool.">?</span>
                                        </label>
                                        <select id="addthis_sidebar_count" name="addthis_settings[addthis_sidebar_count]">
                                            <?php 
        for ($i = 1; $i < 7; $i++) {
            echo '<option value="' . $i . '"' . ($options['addthis_sidebar_count'] == $i ? " selected='selected'" : "") . '>' . $i . '</option>';
        }
        ?>
                                        </select>
                                    </li>
                                    <li>
                                        <label for="addthis_sidebar_theme">
                                            <strong>Theme</strong>
                                            <span class="at-wp-tooltip" tooltip="You can select the background color that better matches the look of your site for the expand/minimize arrow on the side sharing tool.">?</span>
                                        </label>
                                        <select id="addthis_sidebar_theme" name="addthis_settings[addthis_sidebar_theme]">
                                            <?php 
        $themes = array("Transparent", "Light", "Gray", "Dark");
        foreach ($themes as $theme) {
            echo '<option value="' . $theme . '"' . ($options['addthis_sidebar_theme'] == $theme ? " selected='selected'" : "") . '>' . $theme . '</option>';
        }
        ?>
                                        </select>
                                        <br />
                                        <img src="<?php 
        echo $cmsConnector->getPluginImageFolderUrl() . 'sidebar_theme_light.png';
        ?>
" id="sbpreview_Light"/>
                                        <img src="<?php 
        echo $cmsConnector->getPluginImageFolderUrl() . 'sidebar_theme_gray.png';
        ?>
" id="sbpreview_Gray"/>
                                        <img src="<?php 
        echo $cmsConnector->getPluginImageFolderUrl() . 'sidebar_theme_dark.png';
        ?>
" id="sbpreview_Dark"/>
                                        <img src="<?php 
        echo $cmsConnector->getPluginImageFolderUrl() . 'sidebar_theme_light.png';
        ?>
" id="sbpreview_Transparent"/>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                <?php 
        echo _addthis_rate_us_card();
        ?>
            </div>
            <div id="tabs-2">
                <?php 
        echo _addthis_tracking_card();
        ?>

                <?php 
        echo _addthis_display_options_card();
        ?>

                <?php 
        echo _addthis_additional_options_card();
        ?>

                <?php 
        echo _addthis_profile_id_card($options['credential_validation_status']);
        ?>

                <?php 
        echo _addthis_mode_card();
        ?>
            </div>
        </div>
        <?php 
    }
    /**
     * Get Link to addthis site
     *
     * @return string
     */
    private function _getAddThisLinkButton()
    {
        $noPubIdDescription = 'To configure sharing tools for your site, use the button below to set up an AddThis account at addthis.com, create a profile for your site and begin adding sharing tools. This process will require an email address.';
        $noPubIdButtonText = "AddThis profile setup";
        $noPubIdCardTitle = 'You\'re almost done!';

        $pubIdDescription = 'To configure sharing tools for your site, use the button below. It will take you to Tools on addthis.com';
        $pubIdCardTitle = 'Setup AddThis Tools';
        $pubIdButtonText = "Configure AddThis Tools";

        if (!$this->addThisConfigs->getProfileId()) {
            // if they don't have a profile yet, default to setup
            $tabOrder = array(
                'tabs-1' => 'Setup',
                'tabs-2' => 'Advanced Options',
            );

            $sharingToolsCardTitle = $noPubIdCardTitle;
            $sharingToolsDescription = $noPubIdDescription;
            $sharingToolsButtonUrl = _addthis_profile_setup_url();
            $sharingToolsButtonText = $noPubIdButtonText;
            $target = '';
        } else {
            // else default to profile
            $tabOrder = array(
                'tabs-1' => 'Sharing Tools',
                'tabs-2' => 'Advanced Options',
            );

            $sharingToolsCardTitle = $pubIdCardTitle;
            $sharingToolsDescription = $pubIdDescription;
            $sharingToolsButtonUrl = _addthis_tools_url();
            $sharingToolsButtonText = $pubIdButtonText;
            $target = 'target="_blank"';
        }

        $tabsHtml = '';
        foreach ($tabOrder as $href => $title) {
            $tabsHtml .= '<li class="Tabbed-nav-item"><a href="#' . $href . '">' . $title . '</a></li>';
        }

        $html = '
            <div class="Main-content" id="tabs">
                <ul class="Tabbed-nav">
                    ' . $tabsHtml . '
                </ul>
                <div id="tabs-1">
                    <div class="Card" id="Card-side-sharing">
                        <div>
                            <h3 class="Card-hd-title">
                                ' . $sharingToolsCardTitle . '
                            </h3>
                        </div>
                        <div class="addthis_seperator">&nbsp;</div>
                        <div class="Card-bd">
                            <div class="addthis_description">
                                Beautiful simple website tools designed to help you get likes, get shares, get follows and get discovered.
                            </div>
                            <p>' . $sharingToolsDescription . '</p>
                            <a
                                class="Btn Btn-blue"
                                ' . $target . '
                                href="' . $sharingToolsButtonUrl . '">' . $sharingToolsButtonText . ' &#8594;
                            </a>
                            <p class="addthis_support">
                                If you don\'t see your tools after configuring them in the dashboard, please contact
                                <a href="http://support.addthis.com/">AddThis Support</a>
                            </p>
                        </div>
                    </div>
                   ' . _addthis_rate_us_card() . '
                </div>
                <div id="tabs-2">
                    ' . _addthis_tracking_card() . '
                    ' . _addthis_display_options_card() . '
                    ' . _addthis_additional_options_card() . '
                    ' . _addthis_profile_id_card() . '
                    ' . _addthis_mode_card() . '
                </div>
            </div>';

        return $html;
    }