WP UI - Tabs, Accordions, Sliders
plugins fails to activate for domain with "inc" in the URL (1 post)

  1. jtprattmedia
    Posted 3 years ago #

    if your domain has "inc" anywhere in your domain name it will make this plugin fail to activate. This is because the plugin has an "inc" folder, there is a line of code that removes "inc" from the filepath in wpui-helpers.php

    We replaced that line with an update (below) to allow the plugin to work. It would be nice if this fix was in the next release (rather than manually having to do this any time you have an update).

    function wpui_dir( $app='' ) {

    //their code replaces all instaces of inc in the path which kills any URL path with inc in the domain name
    //$path = str_replace( basename(dirname( __FILE__ )), '', dirname( __FILE__ ) );
    $path = preg_replace("/" . basename(dirname( __FILE__ )) . "$/", '', dirname( __FILE__ ));


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP UI - Tabs, Accordions, Sliders
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic