Left Navigation Icon
-
Just a small issue I wanted to make you aware of. The icon on the navigation page does not load right if an unconventional wordpress setup is used. The icon is loaded with a relative link to the wp-content folder. Using the Themosis framework, the content folder is located elsewhere and the image breaks. Changing line 79 from:
add_menu_page('Formstack Forms', 'Formstack', 'manage_options', 'Formstack', array($this, 'main_page'), '../wp-content/plugins/formstack/stack.gif');
to something like
add_menu_page('Formstack Forms', 'Formstack', 'manage_options', 'Formstack', array($this, 'main_page'), plugins_url( 'stack.gif', __FILE__ ));
corrects the issue.
- The topic ‘Left Navigation Icon’ is closed to new replies.