Title: Not working
Last modified: August 30, 2016

---

# Not working

 *  Resolved [azmi86](https://wordpress.org/support/users/azmi86/)
 * (@azmi86)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/not-working-1358/)
 * [http://teesngifts.com/form/](http://teesngifts.com/form/)
 * This is my code
 * [accordion openfirst=true]
 * [accordion-item title=”cotton “]Cotton [/accordion-item]
 * [/accordion]
 * [accordion][accordion-item title=”Dri Fit”]Drifit[/accordion-item][/accordion]
 * [https://wordpress.org/plugins/accordion-shortcodes/](https://wordpress.org/plugins/accordion-shortcodes/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * (@philbuchanan)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/not-working-1358/#post-6459520)
 * It looks like a few issues. First, the plugins JavaScript file isn’t loading.
   Can you confirm that your themes `footer.php` file contains the `<?php wp_footer();?
   >` function call?
 * Also, you’ve set it up to be two separate accordion blocks. Try this instead:
 *     ```
       [accordion openfirst=true]
       [accordion-item title="cotton "]Cotton [/accordion-item]
       [accordion-item title="Dri Fit"]Drifit[/accordion-item]
       [/accordion]
       ```
   
 *  Thread Starter [azmi86](https://wordpress.org/support/users/azmi86/)
 * (@azmi86)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/not-working-1358/#post-6459572)
 * This is the end of my footer file
 * <script type=”text/javascript” src=”<?php echo get_template_directory_uri(); ?
   >/js/theme_common.js.php?v=2.0&is_mobile=<?php echo $detect_mobile[‘is_mobile’];?
   >&is_touch=<?php echo $detect_mobile[‘is_touch’]; ?>&language_direction=<?php
   echo $data[‘direction’]; ?>”></script>
    <?php echo $data[‘google_analytics’];?
   > <?php wp_footer(); ?> </body> </html>
 * I have use the code you gave above, but still cant.
 *  Plugin Author [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * (@philbuchanan)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/not-working-1358/#post-6459596)
 * My only other thoughts are that there might be another plugin conflicting or 
   a conflict with your theme. But it looks like you’ve switched to another plugin,
   so I assume this is resolved.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/accordion-shortcodes.svg)
 * [Accordion Shortcodes](https://wordpress.org/plugins/accordion-shortcodes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accordion-shortcodes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accordion-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/accordion-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accordion-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accordion-shortcodes/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/not-working-1358/#post-6459596)
 * Status: resolved