• Hi there,

    first of all – thank you for this plugin, works great!

    I wanted to put an option that makes it possible to enable/disable the fading when switching between the tabs, so I modified the plugin. Here’s what I did:

    put.php, in line 115:

    'enable_fx'    => array(
    				'type'        => 'checkbox',
    				'name'        => __( 'Enable fading', $this->textdom ),
    				'desc'        => __( 'Turn FX on/off', $this->textdom ),
    				'label'       => __( 'Enable fading from one tab to another.', $this->textdom )
    			),

    put.php, in line 204:

    if( $this->get_plugin_option( 'enable_fx' ) ) {
    			$tab_settings['enable_fx'] = 1;
    		}

    post-ui-tabs.js, from line 7 (replace for-loop!):

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    You will then find an option in the Post-Ui-Settings, enabling you to switch the fading on (it is off by default). Maybe this helps someone – would be great if you could include such an option in one of your next releases ??

    Regards,
    Constantin

    https://www.ads-software.com/extend/plugins/put/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Post UI Tabs] Enable/Disable fading’ is closed to new replies.