WordPress.org

Ready to get started?Download WordPress

Forums

Squelch Tabs and Accordions Shortcodes
Adding images into a tab craches the functionality (8 posts)

  1. glgeorgiou
    Member
    Posted 10 months ago #

    Hello,

    I have four tabs with text. In each tab i need to put two images together with text. When i put an image using <p><img..></p> in the tab's content area, the tab functionality craches and nothing is shown on page. If i remove the images then the content appear normal.

    Is there any suggestion?
    Thank you

    http://wordpress.org/plugins/squelch-tabs-and-accordions-shortcodes/

  2. Matt Lowe
    Member
    Plugin Author

    Posted 10 months ago #

    Could you post the code that is causing the issue?

  3. glgeorgiou
    Member
    Posted 10 months ago #

    Hi Matt,

    Here is the code
    ---------------------------
    <p>[tabs title="" disabled="false" collapsible="true" active="0"] [tab title="Tot (4-6 ετών)"]</p>
    <p><img class="alignleft size-full wp-image-116" title="Τοτ1" alt="TECHNODrive" src="http://techno.edu.gr/wp-content/uploads/2013/07/tot-1.jpg" width="61" height="56" /></p>
    <h4>TECHNODrive</h4>
    <p>Σε αυτή την ενότητα οι μαθητές θα μάθουν για τα Μέσα Μεταφοράς και τους Κανόνες Κυκλοφοριακής Αγωγής:</p
    ---------------------------
    The code goes further, i just put a piece of the code. If you ommit the <p></p> tag again the page is broken. If you omite the <img...> tag then the page appears normal.

    Is there any suggestion? I'd like to put also images into the tabs, not only text.
    Thanx

  4. Matt Lowe
    Member
    Plugin Author

    Posted 10 months ago #

    Hi glgeorgiou,

    I've tested your snippet, adapting it to the following to make it valid:

    <p>[tabs title="" disabled="false" collapsible="true" active="0"] [tab title="Tot (4-6 ετών)"]</p>
    <p><img class="alignleft size-full wp-image-116" title="Τοτ1" alt="TECHNODrive" src="http://techno.edu.gr/wp-content/uploads/2013/07/tot-1.jpg" width="61" height="56" /></p>
    <h4>TECHNODrive</h4>
    <p>Σε αυτή την ενότητα οι μαθητές θα μάθουν για τα Μέσα Μεταφοράς και τους Κανόνες Κυκλοφοριακής Αγωγής:</p>[/tab]
    [tab title="Another tab"]asdasdasd[/tab][/tabs]

    It worked fine in both WordPress 3.5.2 with Squelch TAAS 0.3.1 (the latest stable version) using the TwentyTwelve theme with no other plugins active, and in WP 3.6.1 with both the TwentyTwelve theme and the TwentyThirteen theme.

    First of all please try following the troubleshooting guide here: http://squelchdesign.com/wordpress-plugin-squelch-tabs-accordions-shortcodes/#troubleshooting

    If none of the steps in the troubleshooting guide work then please email me a full copy of the code you are using in the page so I can test it, along with details of: The version of WP you are using, the theme you are using and any other plugins you are using alongside Squelch TAAS, plus a link to a page on your site that exhibits the issue. I'll take a look into the issue and issue an update to the plugin if necessary.

  5. glgeorgiou
    Member
    Posted 10 months ago #

    Hi Mat

    I use wordpress version 3.6.1 with the 'Responsive' theme and the following plugins:
    AKismet, Contact form 7, Count per day, Google analytics for WOrdPress, Google Typography, Really Simple Captcha, TinyMCE Advanced, Ultimate plugins Smart update pinger, WordPress SEO WP-Optimize and WP Smush.it.

    Tell me please in your email in order to send you the full copy of the code in order to inspect it as you wish.
    Thanx

  6. Matt Lowe
    Member
    Plugin Author

    Posted 10 months ago #

    Just to confirm, you're using this theme: http://wordpress.org/themes/responsive ...?

    Please send your page code to hi (at) squelchdesign . com

  7. glgeorgiou
    Member
    Posted 10 months ago #

    Hi Mat,

    I send you the forwarded email of the previews conversation together with your're required information.

    Thank you for your time

  8. Matt Lowe
    Member
    Plugin Author

    Posted 10 months ago #

    Hi sorry for the delay in getting back to you. I've been away for a few days so not had a chance to look into this but should be able to do it today. I'll let you know when I know more.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags