Changes between Version 9 and Version 10 of FAQ


Ignore:
Timestamp:
Nov 21, 2006, 2:10:35 PM (13 years ago)
Author:
elskwi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v9 v10  
    2323'''A:''' Make sure you have a call to wp_head() in your theme header.php file. look in the default theme for an example of how it should be.
    2424
     25'''Q:''' I installed and activated FireStats in Wordpress 2.0.5, but it's installed in the Dashboard menu and not in management page! [[BR]]
     26'''A:''' Desactive the plugin, and go into plugins/firestats directory. [[BR]]
     27Edit file "firestats-wordpress.php" and search function fs_add_page(). [[BR]]
     28Then change it for : [[BR]]
     29# Add a sub-menu to the "manage"-page. [[BR]]
     30function fs_add_page() [[BR]]
     31{ [[BR]]
     32/* Add Firestats menu into management page if 'add_management_page' exists */ [[BR]]
     33        if (function_exists('add_management_page')) { [[BR]]
     34            add_management_page('index.php', 'FireStats', 1, __FILE__, 'fs_page'); [[BR]]
     35        } [[BR]]
     36        /* Else add it like original Source */
     37        else { [[BR]]
     38            add_submenu_page('index.php', 'FireStats', 'FireStats', 1, __FILE__, 'fs_page'); [[BR]]
     39        } [[BR]]
     40} [[BR]]