[Plugin: Ad-minister] WP 2.7 Visual Editor FIX
-
This is a great plugin, and does exactly what I wanted it to do. However, when I installed it this afternoon, it wouldn’t toggle between Visual and HTML editors. My clients would have had some problems with the HTML editing, so I adjusted a few lines of code to fix the issue.
- (Might not be necessary. But allowed me to move the Ads up into the POSTS category) In ad-minister.php, comment out the call to add_management_page and replace with this:
add_submenu_page('edit.php', 'Ad-minister', 'Ad-minister', $user_level, 'ad-minister', 'administer_main');
- replace all occurrences, plugin-wide, of
tools.php
withedit.php
- replace all occurrences in ad-minister.php of
sanitize_title(__('Tools'))
withsanitize_title(__('Posts'))
- Immediately after the call to
wp_enqueue_script('controls');
place the following line:wp_tiny_mce();
This applies to and was only tested in WP 2.7.
- (Might not be necessary. But allowed me to move the Ads up into the POSTS category) In ad-minister.php, comment out the call to add_management_page and replace with this:
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Ad-minister] WP 2.7 Visual Editor FIX’ is closed to new replies.