Archives for February 2015

Mm Plugin: Better Font Awesome

Better Font Awesome allows you to automatically integrate the latest available version of Font Awesome into your WordPress project, along with accompanying CSS, shortcodes, and TinyMCE icon shortcode generator.

Features

  • Always up-to-date – automatically fetches the most recent available version of Font Awesome, meaning you no longer need to manually update the version included in your theme/plugin.
  • Backwards compatible – shortcode output is automatically updated depending on which version of Font Awesome you choose, meaning that you can switch versions without having to modify your shortcodes.
  • Compatible with other plugins – designed to work with shortcodes generated with plugins like Font Awesome Icons, Font Awesome More Icons, and Font Awesome Shortcodes, so you can switch to Better Font Awesome and your existing shortcodes will still work.
  • CDN speeds – Font Awesome CSS is pulled from the super-fast and reliable jsDelivr CDN.
  • Shortcode generator – includes an easy-to-use TinyMCE dropdown shortcode generator.

Visit the Plugin Page »

Mm Plugin: Custom Post Type Parents

This plugin is meant to solve the problem of highlighting “parent” pages for Custom Post Types in the menu and lists of pages. It integrates with custom menu output as well as output for any functions like wp_list_pages() that utilize the page_css_classor nav_menu_css_class filters. When viewing a custom post type, the assigned “parent page” will be indicated with standard WordPress classes (e.g. current_page_item) in navigation menus and lists of pages.

Usage

  1. In the admin, navigate to Settings > Custom Post Type Parents
  2. For each custom post type, use the dropdown to select a “parent page”

Menus and lists of pages will now have the appropriate classes applied to the specified parent pages. Additionally, Custom Post Type Parents will apply these classes to Simple Section Navigation widgets, if the plugin is installed.

Classes

Custom Post Type Parents applies the following classes to parent and ancestor pages (all classes are consistent with default WordPress classes and are backwards compatible).

Parent

  • .current-menu-parent
  • .current_page_parent
  • .current-custom-post-type-parent
  • .current-{post type}-parent

Ancestor

  • .current-menu-ancestor
  • .current_page_ancestor
  • .current-custom-post-type-ancestor
  • .current-{post type}-ancestor

Visit the Plugin Page »