Forum Support

Shape 5
March 29, 2024, 08:46:19 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to move Admin > Sidebar > Shape 5 Theme link to Appearance menu  (Read 691 times)
netstepinc
Jr. Member
**
Offline Offline

Posts: 19



« on: September 21, 2016, 06:59:09 PM »

I've been using Joomla since 2008, and am finally starting to use Wordpress.

I loaded the Forte template to start learning how to use Shape5 themes with Wordpress.

I notice the left side menu getting cluttered already after just loading a few plugins and a theme.
I provide sites for people who are not tech savvy so reducing options and menu clutter is generally helpful to keep customers from being confused and feeling overwhelmed.


The shape5 theme loaded "Shape 5 Theme" to the root admin menu.

How to move Admin > Sidebar > Shape 5 Theme link to Appearance menu

I found: wp-content/themes/s5_forte/vertex/theme-admin.php
Quote
$theme_admin_page = add_menu_page("Theme Options","Shape 5 Theme",'edit_themes','s5-theme-options','mytheme_admin',get_template_directory_uri().'/vertex/admin/img/s5_logo.png',40);

Do I need to hack this to load this as an Appearance submenu item?
If so...what is the appropriate method?
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: September 22, 2016, 07:16:27 AM »

If you replace that code with the following code, you should get the result you are looking for:

Code:
  $theme_admin_page = add_theme_page("Theme Options","Shape 5 Theme",'edit_themes','s5-theme-options','mytheme_admin');

You may also want to consider just using a plugin like "Admin Menu Editor", which allows you to rearrange/hide/create menu items for the admin menu.  I've used it for client sites in the past, and it was a great way to add "E-mail" and "Analytics" menu items that linked to external sites.


[Note: I am moving this topic to the board for the theme you are using; please remember in the future to post theme/plugin specific questions to the board created specifically for the theme/plugin you are asking about.]
« Last Edit: September 22, 2016, 07:19:27 AM by Tristan Rineer » Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
netstepinc
Jr. Member
**
Offline Offline

Posts: 19



« Reply #2 on: September 22, 2016, 05:56:03 PM »

Thank you. That's perfect.
I found that menu editor after posting this, but it's nice to know what makes it tick too.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.