WordPress.org

Forums

TAB SLIDE
[resolved] Plugin has issues in non-typical WordPress installs (3 posts)

  1. transom
    Member
    Posted 1 year ago #

    Please take a look at your plugin. It fails to include its templates correctly if the wp-content directory is not in the same directory as site_url. It is a perfectly valid WordPress install if WordPress is in a sub-directory from document_root and wp-content is also a sub-directory in document root.

    Your plugin also breaks if the name of your plugin folder is changed - take a look at the plugin_url function.

    Similarly your templates will fail since they attempt to climb the directory structure to find wp-load.php. I suggest you look at writing a hidden div on wp-footer and using the standard WordPress constants to find your files and values.

    Try making your plugin work in this kind of structure:

    wordpress (directory with WordPress codebase)
    index.php
    wp-config.php
    wp-content

    https://wordpress.org/plugins/tab-slide/

  2. zoranc
    Member
    Plugin Author

    Posted 1 year ago #

    Are you still experiencing this with v2.0.0 as I changed the way the templates are being called now.

    In all honesty, I haven't tried playing around with custom folder structures, but will definitely give it a whirl if it still doesn't work for you.

  3. zoranc
    Member
    Plugin Author

    Posted 1 year ago #

    Check out the upcoming 2.0.1 version (Not fully tested yet (~90% now)

    These issues were directly addressed in this update. Let me know if you are still experiencing these problems on your custom install.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • TAB SLIDE
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic