Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter paulroberts69

    (@paulroberts69)

    Unfortunately I don’t have enough expertise to debug this myself so I am removing the accordions on pages where they no longer work, until I can figure out what is going on. ??

    Thread Starter paulroberts69

    (@paulroberts69)

    Ok I have been doing some playing just with a couple empty pages, if I copy the example off your site it works fine, but it seems very sensitive to formatting, even carriage return and blank lines seem to upset it.

    For instance, this page works fine:

    https://www.callevanetworks.com/accordion-test/

    But when I start adding a bit of content they soon start going wrong:

    https://www.callevanetworks.com/accordion-test-2/

    Any ideas?

    Cheers,

    Paul

    Plugin Author Matt Lowe

    (@squelch)

    Hi Paul,

    Of all of the pages you’ve linked to only this one appears to be exhibiting any problems:

    https://www.callevanetworks.com/accordion-test-2/

    Would it be possible to get a copy of the shortcodes you’ve used?

    Thread Starter paulroberts69

    (@paulroberts69)

    Hi, I am trying to use accordions on a new page and having a nightmare getting it working, I have updated all plugins, I’m guessing there’s a conflict somewhere, meanwhile the test page above is still broken although is working better than a draft I am working on at the moment (none of the accordion shortcodes are working), here’s the code for https://www.callevanetworks.com/accordion-test-2/

    <h4>Some title text here in an h4</h4>
    Some blurb here introducing something or other.
    
    [accordions title="" disabled="false"?active="0"?autoheight="false"?collapsible="true"]
    [accordion title="Title 0"]
    
    Accordion pane 0 content
    
    Blurb burb blurb
    
    [/accordion]
    
    [accordion title="Title 1"]
    
    Accordion pane 1 content
    
    Blurb burb blurb
    
    [/accordion]
    
    [accordion title="Title 2"]
    
    Accordion pane 2 content
    
    Blurb burb blurb
    
    [/accordion]
    [/accordions]
    
    <hr />
    
    Contact info blurb
    
    ?
    Plugin Author Matt Lowe

    (@squelch)

    Hi, I think we’ve managed to replicate the issues people are having in our test environment. When copying and pasting the sample code directly from the Squelch Design website into a vanilla install of WordPress, we were finding that the shortcodes flat out refused to display. But when we manually re-typed the whole lot by hand, everything worked just fine.

    I believe that some sort of special characters are being copied over when copying and pasting directly from the docs, and these are then upsetting WordPress’s shortcodes engine. It might be worth deleting your shortcodes and entering them by hand to see if that works better.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Some accordions not working, others okay’ is closed to new replies.