Documentation

Find articles, step-by-step instructions, and advice for getting the most out of ThemeXpert.com

Installation

Installation of Smart Accordion in no difference of installing other plugin in WordPress.

Install Inside Wordpress

Download the zip file and navigate to Plugins > Add New click Upload Plugin. Click Browse button and select your downloaded file. Press Install Now and you are done.

Manual Upload

Download the zip file and extract it to your wp-content/plugins folder. Go to Plugins > Installed Plugins and activate it.

Getting Started

After activating the plugin you will see a button called Smart Accordion on every Page and Post. Click that button and accordion builder will open on lightbox.

Title : Give accordion Title

Icon : Select Icon(optional). This is FontAwesome icons set.

Content : Put your content

Default Open : You can decide which item will open first.

You can add unlimited number of item and srot them through drag and drop interface.

Shortcode

You can however use the shortcode instead of the builder. Let me walk you through the shortcode example.

[tx_acc style="xa-default" ]
    [tx_slide title="Hello" openclose="" icon="sellsy"]World[/tx_slide]
[/tx_acc]

This shortcode example receive few parameters. style="xa-default" define the style or theme of this accordion. There is couple of pre-defined style availabe :

  • xa-default
  • xa-blue
  • xa-green
  • xa-yellow
  • xa-red
  • xa-style1
  • xa-style2
  • More comin...

Migrating from Xpert Accordion

We removed Xpert Accordion plugin form WordPress plugin directory and re-brand it as Smart Accordion. If you are using Xpert Accordion and want to migrate all shortcode to Smart Accordion. Follow this instruction:

  1. Open phpMyAdmin from browser and select your site database.
  2. Click SQL tab and paste this code
    UPDATE `PREFIX_posts`
    SET `post_content` = replace(post_content, 'xa_', 'tx_')

    Replace PREFIX with your database table prefix.