Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Mogul Custom Functions

This plugin is intended for use by theme developers to hasten coding and to save the world from tyranny. But mostly the theme dev bit.

  • Sick of reusing code over and over again in your WordPress sites?
  • Bored of searching for methods to quickly build your WordPress themes?
  • Wish there was a better way?

Well now there is!

We'd like to introduce you to Mogul Custom Functions. Built with WordPress theme devs in mind, but simple enough for anyone to use!

Never before has a set of functions been made available to the WordPress theme dev community that rivals Mogul Custom Functions (now with a real donation link for Beer money!)

Okay all silliness aside, this plugin is a collection of handy functions that we've built and use on almost all of our WordPress sites. They are intended for use by WordPress theme developers and provide quick methods of displaying post/page info in your WP themes. We've published them under the GPL to allow others to use them and to allow you to give us feedback on how awesome they are.

If you find this functionset even remotely useful, please follow the donate links so we can afford beer!

This includes

  • mog_get_outside_id() - to quickly find the ID number for the current page (solves internal loop issues)
  • mog_quik_title() - provides a quick way to return a link with the permalink for a post/page and it's title
  • mog_in_hierarchy() - checks to see if a page is in a given hierarchy to enable inclusion of content for a given page anscestor/descendants tree
  • mog_simple_sidebar() - outputs a list of pages using wp_list_pages(). Traverses to top level parent and outputs a list of it's children. (for sidebars)
  • a widget for mog_simple_sidebar() output

Requires: 3.0.1 or higher
Compatible up to: 3.3.0
Last Updated: 4 years ago
Active Installs: 50+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,2,2 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1