Wordpress plugin

What WordPress Template File Am I Viewing?

By The Mighty Mo! Design Co. / March 25, 2012 / Comments Off on What WordPress Template File Am I Viewing?

When developing and debugging WordPress themes, I am often in the position of being confused about exactly which php template file is loading on a given page.  To solve this problem, I have created a plugin that displays the path of the current page template file at the top of the page.  It is called,…

Read More

Force Users to Login to View BuddyPress Content

By The Mighty Mo! Design Co. / December 8, 2011 / Comments Off on Force Users to Login to View BuddyPress Content

I have a BuddyPress-based website that I needed to require logins for. There are a number of plugins that force people to login to view content, but I couldn’t find one that forces people to login to see BuddyPress content while leaving all other content public. So, I built this “BuddyPress Force Login” plugin. It…

Read More

Calendar Plugin Update

By The Mighty Mo! Design Co. / October 3, 2011 / Comments Off on Calendar Plugin Update

We are making the best calendar plugin we can fathom.  Adrienne and I have been meeting weekly to check in on each other’s updates in this regard.  Updates this week include: We have a name for the plugin!  It is still top-secret until we get some branding done, but rest assured, it will be cowboy-tastic!…

Read More

How to Enable Features in an Existing WordPress Custom Post Type

By The Mighty Mo! Design Co. / September 28, 2011 /

I was working on a slideshow tonight in a custom WordPress theme and wanted to use Meteor Slides. The only problem is that Meteor Slides does not come with the post editor enabled. So, I used the “add_post_type_support()” function to enable it: And whallah! Now Meteor Slides supports the post editor! Note: Make sure to…

Read More

How to Add Plugin Scripts and CSS to a Specific Custom Post Type

By The Mighty Mo! Design Co. / September 18, 2011 / Comments Off on How to Add Plugin Scripts and CSS to a Specific Custom Post Type

I am working on a new calendar plugin for WordPress and discovered that my jQuery scripts and CSS were loading on every page in the admin. Whoops! The solution was to include my scripts in the following manner: // Only load the scripts and css on the a specific custom post type in the admin…

Read More