• Resolved APrime

    (@aprime)


    Hi,

    Im working with TheRetailer theme & Woocommerce.

    I use the accordion on my FAQ page – when I took my site off the test server and into the root the text in the titles of my pages which use the accordion short codes appear to be cut off and the quotation marks ( ” ) in the code are now displaying on the front end.

    I’ve looked into the code and inspected the html – all seems to be displaying correctly. really struggling to figure out how it has “broken” by just moving from test sub domain to main root.

    Does any one have any clues as to how I can fix this issue?

    Link to page with issues: https://www.thegrandchampagnecompany.com/faqs/#

    Thanks,
    Mandy

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

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

    (@philbuchanan)

    Hi Mandy,

    First of all, as you sure you are using this plugin? The JavaScript file required for this plugin is not loading and the HTML output looks different from what I would expect from this plugin. The class name on the content box should be accordion-content not accordion-inner and there shouldn’t be an <a> tag in the title.

    Anyway, for any plugin issues, a first step I would recommend is uninstalling and reinstalling the plugin you are using on the live site.

    Thread Starter APrime

    (@aprime)

    Im not sure, I don’t see any “accordion” in my plugging panel… Maybe not then.
    Do you think possibly this is an accordion issue with my themes short code and not an external pluggin?

    Plugin Author philbuchanan

    (@philbuchanan)

    That’s what it sounds like to me. You should contact the themes support people and see if you can get it resolved.

    dgdax

    (@dgdax)

    Hi Mandy,
    We’re having the same issue – as Phil suggests this is not his plugin at fault… but don’t (yet) know what is.
    I am assuming linked to recent update to WP 4.0.1, which unfortunately was auto-installed…

    Please update if you have a breakthrough.
    David

    dgdax

    (@dgdax)

    Reading other forums, this has become a fairly widespread issue, indeed caused by the WP 4.0.1 update, which is stricter than before on nested shortcodes.

    Unfortunately, the latest release of The Retailer came out just before WP, and did NOT include a correction, but I have successfully managed to make it work pending the official update:

    1. Locate the functions.php file in the active theme’s directory (default: /wp-content/themes/theretailer )

    2. search for:
    add_shortcode('accordion', 'accordion');
    … there should be a single occurrence towards the end of the file

    3. add the following line (near-duplicate):
    add_shortcode('accordion-item', 'accordion');

    4. save and test. Should be back to normal…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Text cutting off in Accordion Titles’ is closed to new replies.