The CAC Featured Content plugin provides a widget that allows you to select from five different content "types" to feature in a widget area.
The CAC Featured Content Widget is a plugin developed for the CUNY Academic Commons — an academic social network powered by WordPress, BuddyPress, and MediaWiki. The widget provides several useful tools for featuring selected content, such as Featured Blogs, Featured Groups, Featured Posts, Featured Members and Featured Resources. Currently the plugin will work on both single and multisite installs, but is BuddyPress dependent. It will not work on a non-BuddyPress install.
The five featured content types (blog, group, post, member and resource) share a lot of the code behind the scenes. Their layouts (views) and structure are all very similar. It's only the specific details about each that change. The admin interface for the plugin has been augmented with autocomplete functionality to help simplify administrative tasks. The featured blog address, featured group name, featured post name and featured member username will all provide results from your BuddyPress/MultiSite installation as you type.
If the description provided by the chosen featured content type is not suitable, for whatever reason, the plugin offers a Custom Description text field to provide an alternative. The text entered in this field will override any description that was automatically parsed by the plugin while querying for your featured content type. This field also serves as the only description for the Featured Resource content type.
The crop length (in characters) of the description can be controlled via the plugin's Crop Length input field. Either the automatically parsed description, or the custom description text, will be cropped with ellipses appended to the end. The default is 250 characters.
The widget that's displayed to the user on the front of the site provides a link after the description to allow the visitor to view the remainder of the featured content in its full glory. The link text defaults to "Read More...", but can be customized through the Read More Label field.
Because many site admins do not have access to how a theme styles the HTML output of the widgets added to a sidebar, the admin section allows you to choose what heading element will be used to wrap the widget's title. You can choose from an <h1> all the way down to an <h6>. This allows you to add the widget to any number of sidebars (or widgetized areas) in a theme that has defined different looks between different page sections.
You have almost complete control over the plugin's image handling capabilities. The Display Images checkbox toggles the displaying of all images. When images are displayed they will be chosen based on the type of featured content, unless you enter a URL to a specific image in the Image URL field. For groups, the image is the group’s avatar; for members their personal avatar is used; for a blog the author’s avatar is used; and for posts the image used is either the first image within the post or the avatar of the post's author. The resource type will use the URL from the Image URL field to load an image from an external source. The size of the thumbnail displayed in the widget can be controlled through the Image Width and Image Height fields, which are both set to 50px by default.
Additional technical details can be found in the plugin's README on Github
Requires: 3.3 or higher
Compatible up to: 4.3.1
Last Updated: 2015-9-29
Active Installs: 900+
Got something to say? Need help?