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.

What Would Seth Godin Do
WWSGD 2.0 does not support alternate WP or plugin directories (2 posts)

  1. Kenn Wilson
    Posted 5 years ago #

    WordPress has supported alternate plugin directories since 2.6 and has pretty much always supported keeping WP itself in a directory other than where the content is displayed (eg, content at site root, WP in /wp). WWSGD 2.0 does not support either of these.

    When loading jquery.cookie.js, the plugin attempts to load it with (line 203):

    <script type="text/javascript" src="<?php echo bloginfo("url"); ?>/wp-content/plugins/what-would-seth-godin-do/jquery.cookie.js"></script>

    Which results in a URL of:

    In my particular case, that URL should look like:

    But some people may also need something like:

    ... or any number of other paths.

    The correct way to do this is to check the WP_CONTENT_URL and build your path using that value.

    Optionally, an option to revert to the 1.x server-side method for this would be nice.



  2. Richard K Miller
    Plugin Author

    Posted 5 years ago #

    Fixed in WWSGD 2.0.2. Thanks for the help, Kenn.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • What Would Seth Godin Do
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic