The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Post UI Tabs
Enable/Disable fading (2 posts)

  1. choeft
    Posted 4 years ago #

    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 :)



  2. choeft
    Posted 4 years ago #

    Find the moderated code for post-ui-tabs.js here:


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Post UI Tabs
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic