Forums

Modifying WordPress Menu and Dashboard (3 posts)

  1. Loganom
    Member
    Posted 6 months ago #

    I am modifying wordpress for a client of mine that owns a restaurant.

    My end goal involves slimming down the WP menu and dashboard.

    I have been able to accomplish this by commenting items from
    ./wp-admin/menu.php
    ./wp-admin/index.php

    and adding

    #dashboard-widgets {visibility:hidden}
    to ./wp-admin/css/dashboard.css to hide the dashboard widgets.

    and some general information to
    ./wp-admin/admin-footer.php

    Now, I am looking at adding elements to both the menu and the dashboard, so, if anyone has dealt with anything like this, any advice would be encouraging. I have found it difficult to locate all the necessary files for these changes.

    Also, I would prefer to write a plugin to make similar changes for me, so that in the future, the changes may proceed quicker.

    Please feel free to tell me I am describing my project adequately, and I can clarify.

  2. timDesain
    Member
    Posted 6 months ago #

    WP menu:
    http://wordpress.org/support/topic/contributor-admin-panel-issue?replies=2#post-2458103

    footer:

    add_action( 'in_admin_footer', 'td_adminFooter' );
    function td_adminFooter() {
     echo "<div class='name'>Your Text Here</div>";
    }
  3. Rev. Voodoo
    Volunteer Moderator
    Posted 6 months ago #

    http://codex.wordpress.org/Dashboard_Widgets_API#Advanced:_Removing_Dashboard_Widgets

    You can also unset the dashboard widgets, so they never load. Good for use from a plugin, or theme functions.php. That way you don't edit core files, and end up losing your changes on every WP upgrade

Reply

You must log in to post.

About this Topic