A little WP plugin: alo-media-helper

1

A html helper to open image library and select an image for options. It requires WP 3.5+.
You have a helper function alo_mh_insert_from_media_lib that you can use in your plugin. After activation, you can visit Settings -> ALO Media Helper Sample in your dashboard to see a live sample (the code is in “sample.php” file included).

You can download it from GitHub.

Leggi tutto “A little WP plugin: alo-media-helper”

Avatar Tooltip plugin: how to show only user bio and social links

avatar_tooltip_custom_1
Here you are a piece of code to customize the content shown with Avatar Tooltip plugin.
You can paste the following code in a php file (named as you like) and put it inside /wp-content/mu-plugins folder of your blog (if mu-plugins does not exist, simply create it).

This code replaces the standard tooltip content with the user bio (description), link to user recent posts, links to social network profiles (as filled in profile by user).
It creates new contact fields (Twitter, Facebook, Linkedin, Google+) in user profile, so each user can fill them. The tooltip gets nothing from Gravatar profile.
Leggi tutto “Avatar Tooltip plugin: how to show only user bio and social links”