WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to only show the UPLOAD page for "Add New Themes"? (2 posts)

  1. sharris203
    Member
    Posted 4 years ago #

    Hi guys, I have a customization maybe someone can help me with.

    I have a site set up for clients, and I only want to show the UPLOAD screen when they click on "Add New Themes".

    I think my options are
    1. Edit core files so the side submenu links directly to the upload page, and
    2. Edit core files so the other "add theme" options are not selectable on the upload page (or use CSS to hide if possible)

    Any thoughts?

  2. sharris203
    Member
    Posted 4 years ago #

    It was easier than i thought. Here's how:

    File: /wp-admin/theme-install.php
    Line 29: $tabs['upload'] = __('Upload');
    Comment out lines 30-36

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags