• Resolved starship2

    (@starship2)


    I believe I have a conflict between plugins; Accordion Shortcodes and The Events Calendar (the latter, installed last appears to break accordion function).

    So I have set compatibility mode for Accordion Shortcodes but cannot get a result.

    What i’ve done is: added to wp-config.php

    /*NIL - added compatibility mode script for Accordion Shortcodes plugin. */
    define('AS_COMPATIBILITY', true);
    
    /**
     * WordPress Database Table prefix.

    Changed my accordion code to:
    `[as-accordion clicktoclose=”true” openfirst=”false” openall=”false” scroll=”30″]
    [as-accordion-item title=”AUSTRIA” id=”Austria” class=”Austria”]
    ….
    [/as-accordion-item]
    [/as-accordion]

    Plus added as- in front of all my css, but still the accordion is produced on page but is not ‘active’ (all accordion-items are open).

    The site is in local dev at the moment. Could you kindly help with just these details?

    https://www.ads-software.com/plugins/accordion-shortcodes/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author philbuchanan

    (@philbuchanan)

    My understanding was that The Events Calendar doesn’t include an accordion shortcode. Is that not the case? Are you seeing any console errors?

    Thread Starter starship2

    (@starship2)

    Oh right. Sorry, I assumed since Accordion Shortcodes (AS) stopped functioning directly after installing The Events Calendar plugin – no other changes.
    For my previous AS code example the produced html is:

    <div id="accordion-1" class="accordion no-js" role="tablist">
    <h3 id="Austria" class="accordion-title Austria" role="tab" aria-controls="content-Austria" aria-selected="false" aria-expanded="false">AUSTRIA</h3><div id="content-Austria" class="accordion-content" role="tabpanel" aria-labelledby="Austria" aria-hidden="true">

    Where would console errors show?

    Disabling The Events Calendar plugin did not bring back functionality…
    Will have to do more investigation. Thanks.

    Plugin Author philbuchanan

    (@philbuchanan)

    Did you make any progress on this issue?

    Thread Starter starship2

    (@starship2)

    sorry, resolved and I don’t know how ..

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Compatibility mode problem’ is closed to new replies.