Plugin Directory

Changeset 3436273


Ignore:
Timestamp:
01/09/2026 07:52:19 PM (6 weeks ago)
Author:
codingfix
Message:
  • Added: Included info about other tools.
Location:
language-switcher-for-transposh/trunk
Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • language-switcher-for-transposh/trunk/README.txt

    r3436176 r3436273  
    55Requires at least: 5.0
    66Tested up to: 6.9
    7 Stable tag: 2.0.1
     7Stable tag: 2.0.2
    88Requires PHP: 5.6
    99Requires Plugins: transposh-translation-filter-for-wordpress
     
    6161
    6262== Changelog ==
     63
     64= 2.0.2 =
     65* Added: Included info about other tools.
    6366
    6467= 2.0.1 =
  • language-switcher-for-transposh/trunk/admin/css/cfx-language-switcher-for-transposh-admin.css

    r3436176 r3436273  
    467467  margin-right: 10px;
    468468}
     469
     470#cfxlsft-general .more-tools-plugins {
     471  display: flex;
     472  flex-direction: column;
     473  flex-wrap: wrap;
     474  gap: 20px;
     475}
     476
     477#cfxlsft-general .more-tools-plugins .plugin-item {
     478  display: flex;
     479  flex-direction: row;
     480  align-items: start;
     481  justify-content: start;
     482  width: 100%;
     483}
     484
     485#cfxlsft-general .more-tools-plugins .plugin-item .plugin-item-description {
     486  display: flex;
     487  flex-direction: column;
     488  align-items: start;
     489  justify-content: start;
     490  margin-right: 20px;
     491}
     492#cfxlsft-general .more-tools-plugins .plugin-item img {
     493  width: 128px;
     494  height: 128px;
     495  margin-right: 20px;
     496}
     497.more-tools-plugins hr {
     498  border: 0;
     499  border-top: 1px solid #ccd0d4;
     500  margin: 16px 0;
     501}
  • language-switcher-for-transposh/trunk/admin/partials/cfx-language-switcher-for-transposh-admin-display.php

    r3436176 r3436273  
    7575        }
    7676
    77         if ( 'general' !== $lsft_tab && 'styles' !== $lsft_tab && 'shortcodes' !== $lsft_tab ) {
     77        $lsft_tabs = array( 'general', 'styles', 'shortcodes', 'more_tools' );
     78        if ( ! in_array( $lsft_tab, $lsft_tabs, true ) ) {
    7879            wp_safe_redirect(
    7980                add_query_arg(
     
    142143                $url_stl     = admin_url( 'admin.php?page=language-switcher-settings&tab=styles' );
    143144                $url_shc     = admin_url( 'admin.php?page=language-switcher-settings&tab=shortcodes' );
     145                $url_mrt     = admin_url( 'admin.php?page=language-switcher-settings&tab=more_tools' );
    144146                $tab_url_gen = wp_nonce_url( $url_gen, 'intnavontabs', '_wpnonce' );
    145147                $tab_url_stl = wp_nonce_url( $url_stl, 'intnavontabs', '_wpnonce' );
    146148                $tab_url_shc = wp_nonce_url( $url_shc, 'intnavontabs', '_wpnonce' );
     149                $tab_url_mrt = wp_nonce_url( $url_mrt, 'intnavontabs', '_wpnonce' );
    147150                ?>
    148151                <a href="<?php echo esc_html( $tab_url_gen ); ?>" data-target="general" class="nav-tab <?php echo ( 'general' === $lsft_tab ) ? 'active' : ''; ?>">General</a>
    149152                <a href="<?php echo esc_html( $tab_url_stl ); ?>" data-target="styles" class="nav-tab <?php echo ( 'styles' === $lsft_tab ) ? 'active' : ''; ?>">Styles</a>
    150153                <a href="<?php echo esc_html( $tab_url_shc ); ?>" data-target="shortcodes" class="nav-tab <?php echo ( 'shortcodes' === $lsft_tab ) ? 'active' : ''; ?>">Shortcodes</a>
     154                <a href="<?php echo esc_html( $tab_url_mrt ); ?>" data-target="more_tools" class="nav-tab <?php echo ( 'more_tools' === $lsft_tab ) ? 'active' : ''; ?>">More Tools</a>
    151155            </nav>
    152156            <div class="tab-content ls">
     
    474478                    </section>
    475479                </div>
     480
     481                <div id="more_tools" class="tab-panel <?php echo ( 'more_tools' === $lsft_tab ) ? 'active' : ''; ?>">
     482                    <div class="settingsbox">
     483                        <h3>More Tools</h3>
     484                        <p>Here you find other plugins by Codingfix, that's me :)</p>
     485                        <div class="more-tools-plugins">
     486                            <div class="plugin-item">
     487                                <img src="<?php echo esc_url( LSFT_PLUGIN_URL . 'assets/images/plg-icon-256x256.png' ); ?>" alt="Pluginer - Bulk install for WordPress plugins" />
     488                                <div class="plugin-item-description">
     489                                    <h3><a href="https://wordpress.org/plugins/instalist/" target="_blank">Pluginer (formerly Instalist) - Bulk install for WordPress plugins</a></h3>
     490                                    <p>Stop wasting time installing plugins one-by-one: Speed Up WordPress Setup with Pluginer.<br>Pluginer lets you create reusable plugin lists and install them all in a single click.<br><a href="https://wordpress.org/plugins/instalist/" target="_blank">Get Pluginer Free!</a></p>
     491                                </div>
     492                            </div>
     493                            <hr>
     494                            <div class="plugin-item">
     495                                <img src="<?php echo esc_url( LSFT_PLUGIN_URL . 'assets/images/cht-icon-256x256.png' ); ?>" alt="Chat Everuwhere - Start a Whatsapp or Telegram chat from buttons, links, images, menu items and more!" />
     496                                <div class="plugin-item-description">
     497                                    <h3><a href="https://wordpress.org/plugins/chat-everywhere/" target="_blank">Chat Everuwhere - Start a Whatsapp or Telegram chat from buttons, links, images, menu items and more!</a></h3>
     498                                    <p>Start chats from any element. Just add the default class (or a custom class) to the DOM element you want and clicking on it will start a chat instantly. <br>You use Whatsapp, Telegram or both. <br><a href="https://wordpress.org/plugins/chat-everywhere/ target="_blank">Get Chat Everywhere Free!</a></p>
     499                                </div>
     500                            </div>
     501                        </div>
     502                    </div>
     503                </div>
     504
    476505                <br />
    477506                <br />
  • language-switcher-for-transposh/trunk/cfx-language-switcher-for-transposh.php

    r3436176 r3436273  
    1616 * Plugin URI:        https://codingfix.com/language-switcher-for-transposh
    1717 * Description:       A small plugin to use a customized language switcher with Transposh plugin.
    18  * Version:           2.0.1
     18 * Version:           2.0.2
    1919 * Author:            Marco Gasi
    2020 * Author URI:        https://codingfix.com
     
    3030 * Rename this for your plugin and update it as you release new versions.
    3131 */
    32 define( 'CFX_LSFT_VERSION', '2.0.1' );
     32define( 'CFX_LSFT_VERSION', '2.0.2' );
    3333
    3434/**
Note: See TracChangeset for help on using the changeset viewer.