WordPress.org

Ready to get started?Download WordPress

Forums

Collapse-O-Matic
[resolved] Text Widget won't collapse (2 posts)

  1. Dawn Ogden
    Member
    Posted 1 year ago #

    I am trying to make a collapsible custom code block in Headway. My site is currently at http://www.hometown-tv.com (soon to be flipped to http://www.fftvns.com). The "Find Us On Facebook" widget looks fine, and the links all work, but it won't collapse. Did I put the shortcode in wrong?

    <h1>[expand title="Find Us On Facebook"]</h1>
    
    <p style="text-align: center;">
    <a href="https://www.facebook.com/fftv18?ref=hl" target="_blank">
    <img class="aligncenter size-thumbnail wp-image-563" alt="FFTV" src="http://www.hometown-tv.com/wp-content/uploads/2012/12/FFTV-150x150.png" width="150" height="150" /></a>
    
    <a href="https://www.facebook.com/pages/Get-Up-and-Geaux/443352545725027?ref=hl" target="_blank">
    <img class="aligncenter size-thumbnail wp-image-565" alt="Get Up & Geaux" src="http://www.hometown-tv.com/wp-content/uploads/2012/12/Get-Up-Geaux-150x150.png" width="150" height="150" /></a>
    
    <a href="https://www.facebook.com/MixingItUpWithMamaw?ref=hl" target="_blank">
    <img class="aligncenter size-thumbnail wp-image-566" alt="Mixing It Up With Mamaw" src="http://www.hometown-tv.com/wp-content/uploads/2012/12/Mixing-It-Up-With-Mamaw-150x150.png" width="150" height="150" />
    
    <a href="https://www.facebook.com/pages/Tee-Time/142914822524330?ref=hl" target="_blank">
    <img class="aligncenter size-thumbnail wp-image-572" alt="Tee Time" src="http://www.hometown-tv.com/wp-content/uploads/2012/12/Tee-Time1-150x150.png" width="150" height="150" />
    
    <a href="https://www.facebook.com/pages/The-Untourists/473917985959411?ref=hl" target="_blank">
    <img class="aligncenter size-thumbnail wp-image-569" alt="The Untourists" src="http://www.hometown-tv.com/wp-content/uploads/2012/12/The-Untourists-150x150.png" width="150" height="150" /></a>
    
    <h1 style="text-align: center;">
    ( and Coming Spring 2013...)</h1>
    
    <a href="https://www.facebook.com/fftv18?ref=hl" target="_blank">
    <img class="aligncenter size-thumbnail wp-image-570" alt="What's Going On" src="http://www.hometown-tv.com/wp-content/uploads/2012/12/Whats-Going-On-150x150.png" width="150" height="150" /></p>
    [/expand]

    http://wordpress.org/extend/plugins/jquery-collapse-o-matic/

  2. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Try using the tag attribute and not wrapping the expand in an h1 like so:

    [expand title="Find Us On Facebook" tag="h1"]
    <a href="https://www.facebook.com/fftv18?ref=hl" target="_blank">
    <img class="aligncenter size-thumbnail wp-image-563" alt="FFTV" src="http://www.hometown-tv.com/wp-content/uploads/2012/12/FFTV-150x150.png" width="150" height="150" /></a>
    ...
    ...
    [/expand]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic