Replace or Remove the Carrington Theme Admin Panel

One of the very first things I had to do to start using the Carrington Theme Framework was replace the admin menu with my own. For some reason, already ranted here in the forums, the core includes the admin panel. Remember, you shouldn’t hack away at  carrington-core/admin.php or any other core file ( if you do you’re missing the point of CFCT, or “you’re doing it wrong” ), instead use actions to remove or add what you need.

It’s really simple, so simple I almost didn’t post about it, just use the remove_action function like so:

remove_action('admin_menu', 'cfct_admin_menu');

Then just use an add_action for your admin panel ( if necessary ). I already had a logical admin panel “framework” built so it was an easy transition for me from my old theme framework ( custom ) to the carrington framework.

I’m guessing this post will be useful to most, especially WP theme developers whom are the real users of the CFCT, but I need to post some progress to the theme experiment series :).

About the Author, Dan Cameron:

I'm the owner and solution engineer at Sprout Venture, a web solutions company that specializes in web development including WordPress.

I started my first blog in 2003 and transitioned to WordPress in 2004. Since moving to WordPress I've written a few plugins and themes for public consumption. Lately I'm busy engineering/building/coding and have only been able to share a few code snippets.

If you're in need of some web development, web design or custom WordPress plugins and/or themes contact me, I'll be happy to discuss it with you.

Read More »

blog comments powered by Disqus