Viewing 1 replies (of 1 total)
  • This might not really be what you’re looking for but I embedded a Google Moderator forum in the WP Help admin menu section for a site I’m working on in response to the same desire:

    // Google Moderator Admin Page
    // Add the Menu Item in the WP Help Admin Submenu
    function admin_google_moderator() {
      add_submenu_page( 'wp-help-documents', 'Q&A Support', 'Q&A Support', 'read', 'admin-google-moderator', 'admin_google_moderator_page' );
    }
    add_action('admin_menu', 'admin_google_moderator', 999 );
    
    // Callback to output iframed Google Moderator page
    function admin_google_moderator_page() {
      ?>
      <script src="https://www.google.com/moderator/static/moderator-embed-api.js" type="text/javascript"></script>
    <div class="wrap">
      <?php echo screen_icon('edit-comments'); ?>
      <h1>Q&A Support</h1>
    
      <div id="moderator-embed-target"></div>
      <script type="text/javascript">
      var mod = new MODERATOR("{YOUR MODERATOR URL GOES HERE}");
      mod.width = 870;
      mod.height = 640;
      mod.embed("moderator-embed-target");
      </script>
    
    </div>
      <?php
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Recommendation for a in-admin discussion plugin’ is closed to new replies.