Title: link to close
Last modified: August 22, 2016

---

# link to close

 *  Resolved [bigwavemaui](https://wordpress.org/support/users/bigwavemaui/)
 * (@bigwavemaui)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/link-to-close/)
 * Is there a way to add a close link?
 * something like:
    [close](https://wordpress.org/support/topic/link-to-close/script to close accordion?output_format=md)
 * this would be used on a page with only 1 accordion
 * Thanks,
 * Brian
 * [https://wordpress.org/plugins/accordion-shortcodes/](https://wordpress.org/plugins/accordion-shortcodes/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * (@philbuchanan)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/link-to-close/#post-5825342)
 * The only way would be to add a “fake” button/link using CSS. You could add something
   like this to your themes CSS:
 *     ```
       .accordion-title.open:after {
           content: "close";
           float: right;
           /* Add the rest of your 'link' styling here */
       }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘link to close’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/link-to-close/#post-5825342)
 * Status: resolved