WordPress.org

Ready to get started?Download WordPress

Forums

Wiki
style.css not loading on front end editing (6 posts)

  1. imath
    Member
    Posted 3 years ago #

    Hi,
    thank you for this interesting plugin. I've been playing with it a little. I've noticed that the style.css wasn't loading on front end editing. So i dived into the source code.

    In /wp-content/plugins/wordpress-wiki-plugin/wiki.php, function output_css on line 1342, i think you should have :
    echo '<link rel="stylesheet" href="' . plugins_url('wordpress-wiki-plugin/css/style.css') . '" type="text/css" />';

    instead of :
    echo '<link rel="stylesheet" href="' . plugins_url('wiki/css/style.css') . '" type="text/css" />';

    because the plugin folder is not named 'wiki' but 'wordpress-wiki-plugin'.

    Bye ;)

    http://wordpress.org/extend/plugins/wordpress-wiki-plugin/

  2. zanzaboonda
    Member
    Posted 3 years ago #

    Thank you, thank you, thank you imath! You just saved me a world of stress.

    Hopefully they fix this for everyone else! :)

  3. imath
    Member
    Posted 3 years ago #

    you're welcome zanzaboonda ;)

  4. hcleary
    Member
    Posted 3 years ago #

    The "wiki" folder is also referenced on line 1271 of wiki.php

    wp_register_script('incsub_wiki_js', plugins_url('wiki/js/wiki-utils.js'), null, $this->current_version);

  5. hcleary
    Member
    Posted 3 years ago #

    ... and I just checked the README file and the instructions page on WPMUDEV page. Both reference a /plugins/wiki/ folder. I'm guessing that they changed the named of the folder in the download to differentiate between the lite and premium versions.

    It might be easier to just change the folder name from wordpress-wiki-plugin to wiki.

  6. WPMUDEV
    WPMU DEV Support Staff
    Plugin Author

    Posted 3 years ago #

    We will be getting the folder name issues fixed in the next release with few more changes.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic