thewirelessguy / cornerstone

Cornerstone is a WordPress starter theme based on the Zurb Foundation Responsive Framework. Cornerstone aims to provide a lightweight starter theme that is responsive and SEO friendly that web designers can build great looking websites on.
GNU General Public License v2.0
155 stars 40 forks source link

Remove Orbit from Admin Menu [found it] #17

Closed mitblan closed 10 years ago

mitblan commented 10 years ago

I'm developing a site for my local church that will require multiple people to update content to the site. I don't want to use the orbit slider and instead am opting for a different one. I want to keep things simple for the non techies that will be adding content to the site so I wonder how I can remove the orbit slider tab from the admin menu just to keep it simple for them. I'm working on it myself but figured I would post this if I can't figure it out for myself.

Nevermind all of this I found where the custom post type was register in ../inc/foundation.php and just deleted it.

klongdesigns commented 10 years ago

If you are using a child theme (which you should be doing), then add this to the child theme's functions:

function remove_cornerstone_actions() {
    remove_action('init', 'Orbit');
}
add_action('after_setup_theme','remove_cornerstone_actions');
alana-mullen commented 10 years ago

See https://github.com/thewirelessguy/cornerstone/issues/12 which shows how to remove it in a child theme.