WordPress.org

Support

Support » How-To and Troubleshooting » How to insert an Accordion code properly??

How to insert an Accordion code properly??

  • Corysales1
    Member

    @corysales1

    Can someone please help explain to me how to insert this code below into my wordpress site properly?

    [accordion] [panel title=” TITLE1 “] content 1 [/panel] [panel title=” TITLE2 “] content 2 [/panel] [panel title=” TITLE3 “] content 3 [/panel] [/accordion]

    Every time I insert it into my site it shows up like picture below.

    <img src=”http://i72.photobucket.com/albums/i179/cjracer112/Screenshot2012-08-08at84655AM.png” border=”0″ alt=”Photobucket”>

    This is what the backend of my site looks like when I am inserting the code, the code below is everything I have on that page at the moment. I dont know if i’m supose to add divider codes or what so please help me learn:

    <!– Place this tag where you want the +1 button to render –>
    <g:plusone annotation=”inline”></g:plusone>

    <!– Place this render call where appropriate –>
    <script type=”text/javascript”>
    (function() {
    var po = document.createElement(‘script’); po.type = ‘text/javascript’; po.async = true;
    po.src = ‘https://apis.google.com/js/plusone.js’;
    var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(po, s);
    })();
    </script>

    [accordion] [panel title=” TITLE1 “] content 1 [/panel] [panel title=” TITLE2 “] content 2 [/panel] [panel title=” TITLE3 “] content 3 [/panel] [/accordion]

    Here is my website also http://www.goimperialcommercial.com

  • The topic ‘How to insert an Accordion code properly??’ is closed to new replies.