Accordion Image Menu V 3.1 – Less Code More Flexibility

This is a new release of the Accordion Image Menu Worpress plugin. The plugin allows to use the feature images or the images uploaded to the posts and pages galleries as background for the menu items.

On the previews versions the accordion was based on mootools but its causes a lot of interaction with others popular plugins which use jquery. So, I decided to implement a jQuery Plugin that allows the same functionality and avoid including another javascript framework.

Special Features

  • Allows to combine pages and categories and apply order to them
  • Can be integrated with the wordpress > 3.0 menus interface
  • The plugin uses the medium size image attached to post and pages
  • The menu uses the top image from the posts/pages gallery
  • You can use it to list recent posts
  • Multiple transition effects included (Elastic, Bounce, Sine, Pow, Quart, Back, Circ)
  • You can include ‘the title’ of the target pages
  • Allows to include multiple menus on your blog
  • The menu can be based on posts/pages ids
  • Compatible with: Chrome, Safari, Firefox and IE 7, 8, 9

The shortcode

As the plugin is based on WordPress Shortcodes you can include some attributes in order to customize the menu and overwrite the Default Settings saved in the Plugin Option Page.

Here you have the Shortcode attributes list:

    position = 'vertical'  Orientation of the menu (vertical/horizontal)
    type = post' Type of menu list (post, page, menu)
    cat = ' ' List post under this categories if type = post
    number = 5 Number of post
    name ='' Name of wordpress menu (under Appearance)
    effect = 'swing' Animation effect based on:jQuery UI Effects
    closed_d = 100 Items dimension when the menu is not activated
    opened_d = 200 Items dimension when mouseopen
    width = '' Width of the menu if it's vertical
    height = '' Height of the menu if it's horizontal
    duration = 300 Transition timing
    border = 1 Border between items 
    border_color = '#000000'  Border color
    open = '' Item opened by default  (0,1,2,3...randomly)
    id = '' Post or Pages Ids separated by comma

Examples

Using the shortcode with these attributes: position, height, open

Code

Shortcode
[a_image_menu position="horizontal" height="200" open=0]


PHP Code
<?php echo do_shortcode('[a_image_menu position="horizontal" height="200" open=0]') ?>

Using the shortcode with these attributes: position, id, open, effect, closed_d, border

Code

Shortcode
[a_image_menu position="vertical" id="479,333,303,135,118,428,328" open="randomly" effect="easeOutBack" closed_d=80 border=3]


PHP Code
<?php echo do_shortcode('[a_image_menu position="vertical" id="479,333,303,135,118,428,328" open="randomly" effect="easeOutBack" closed_d=80 border=3]') ?>

Frequently Asked Questions

1- Which images uses the menu?

- The menu use the last image uploaded to the post/page gallery but you can move to the top the image that you want to use.

2- How to insert the Accordion Image Menu?

- The plugin includes a Widget that can be added to your sidebars.
– The shortcode can be used into the content of your posts or pages using:

[a_image_menu]


or in your theme files using php code:

<?php echo do_shortcode('[a_image_menu]'); ?>

3- How many accordion can be used in a single page?

There is not teorical limits

4- The menu allows extenal links and custom images?

No yet, the menu allows to includes pages and post from your blog. If you use WordPress Menus it has to be based on pages, post and categories.

Download

http://wordpress.org/extend/plugins/accordion-image-menu/

Feedback

Your are invited to include your comments and suggestions in the comment box and your support for future improvements by clicking on the donate button.


Posted in: 
Accordion Image Menu

113 Responses to Accordion Image Menu V 3.1 – Less Code More Flexibility

  1. I see you share interesting things here, you can earn some extra money, your blog has
    big potential, for the monetizing method, just type in google – K2 advices how to monetize
    a website

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>