Maja Bookmarks | WP Plug-In to display Links anywhere

maja bookmarks
January 25, 2012 by fMajakovskij

Maja Bookmarks is a simple but effective WordPress Plug-In to retrieve and display links.

It is the first of a series of plug-in for WordPress focused on query data.

The Maja Bookmarks plug-in is a widget as well as a shortcode to display a list of bookmarks (links) through several options. Includes widget options and the equivalent shortcode to configure the features mentioned below. It follows the WordPress standard widgets output guidelines. Completely updated to use the new widget API and is multi-widget enabled. Fully XHTML compliant.

Features

  • Can display links by category or multi categories.
  • Can include/exclude specific link id.
  • Can limit the number of links.
  • Can show links that match a search keyword criteria.
  • Can show/hide invisible links.
  • Can order by several criteria.
  • Can choose a custom css selector for the ul list.
  • Can add custom output templates.
  • All widget parameters can be used in the shorcode tag.

Example

Here an example of the shortcode in action:

Screenshots

The Maja Bookmarks widget configuration interface:

Shortcode default parameters


majabookmarks limit="5" order="ASC" orderby="name" category_name="All" category="" hide_invisible="1" show_updated="0" include="" exclude="" search="" use_css="" use_hook=""

Custom Template

  • Create a new folder inside your theme folder, name it ‘maja-bookmarks
  • Create an empty php file inside it.
  • Write your html/php code to display one item of the list.
  • Use the $bookmark object to print out its properties.

This is the default built-in template code:


<li><a href="<?php echo $bookmark->link_url; ?>"><?php echo $bookmark->link_name; ?></a></li>

Available fields in bookmark object

  • ‘link_id’
  • ‘link_url’
  • ‘link_name’
  • ‘link_image’
  • ‘link_target’
  • ‘link_category’
  • ‘link_description’
  • ‘link_visible’
  • ‘link_owner’
  • ‘link_rating’
  • ‘link_updated’
  • ‘link_rel’
  • ‘link_notes’
  • ‘link_rss’

Installation

  • Download the Maja Bookmarks zip file.
  • Extract the files to your WordPress plugins directory.
  • Activate the plugin via the WordPress Plugins tab.
  • Configure the widget and place it on your blog using the Widget configuration page.
  • Alternatively you can use the ‘majabookmarks’ shortcode tag alongside the same widget parameters in body posts/pages.

 Download

Download here

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>