Widget
After activating the plugin, a new widget is available in your widget page. It presents a number of options that allow you to show or hide the link image, the description, the ranking, ...
Template tag
You can as well us the plugin directly in your theme. You need to include the following code somewhere in your PHP files (for instance in the sidebar):
enh_links_list_links(array( 'show_images' => 1, 'show_description' => 1, 'button_color' => '#00CC00', 'contract_children' => 0 ));
As you can see, the function takes only one parameter which is an array of options. The available options are:
- show_images: show the images corresponding to the link.
- show_description: show the description of the link.
- show_rating: show the rating of the link.
- category: comma-separated list of the category ID(s) to show.
- button_color: the color of the expand/contract button.
- contract_children: if set to 1, the link categories will be contracted when the page is displayed. If set to 0, all the categories are expanded.
- expand_text: the text of the expand button.
- leaf_text: the text that appears next to a category without links.
- contract_text: The text of the contract button.
- expand_image: the full URL of the image of the expand button.
- leaf_image: the full URL of the image that appears next to a category without children.
- contract_image: the full URL of the image of the contract button.
- is_button_after: if set to 1, the button to expand/contract the category will be placed after it.
The plugin is also compatible with the Exec-PHP plugin. You can execute that same code inside one of your blog's static pages.








