WordPress.org

Support

Support » Plugins and Hacks » WP responsive FAQ with category plugin » [Resolved] Can I not have the first FAQ expanded?

[Resolved] Can I not have the first FAQ expanded?

Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Author SPTechnolab

    @anoopranawat

    Hello,
    Its very simple. please go to faq.php (Under plugin > Sp-faq) and replace this javascript code with the existing one

    <script type="text/javascript">
    
    	  jQuery( "#accordion" ).accordion({
    heightStyle: "content",
    collapsible : true, active : 'none'
    });
    	</script>

    Its in the last may be line no 141

    Can you please explain one more time what to do with the code? Thank you!

    Plugin Author SPTechnolab

    @anoopranawat

    Hello,

    This Plugin use simple jquery UI to create accordion. So in plugin dir > go to faq plugin dir and open faq.php file in any editor and check the js code in the file may be line no 141 and replace that js code with this code

    <script type="text/javascript">
    
    	  jQuery( "#accordion" ).accordion({
    heightStyle: "content",
    collapsible : true, active : 'none'
    });
    	</script>

    I got it, thanks!

    Hey, I guess it’s not a line 141 since it gives an error and deactivates the plugin if I replace line 141 with the code you provided.

    Plugin Author SPTechnolab

    @anoopranawat

    hello,

    Just replace the script inside this function “function myfaqscript()”

    Here is this function just search
    `function myfaqscript() {
    ?>
    <script type=”text/javascript”>

    //jQuery( “#accordion” ).accordion();

    jQuery( “.accordion” ).accordion({
    heightStyle: “content”
    });
    </script>
    <?php
    }`

    This does not work for me. It deactivates the jquery, so there is no javascript working once I change it. If I change it back, it works as it did before, with the first question expanded. Any other suggestions? Thanks!

    Plugin Author SPTechnolab

    @anoopranawat

    Hello,

    please send me your dev server site username and password..

    thanks

    Thank you. Couldn’t find a way to PM you here, so sent a message via your website. Thanks for any insight.

    Sue

    You requested to connect with me via Skype, so I did. I have not heard back, however, in 2 days. Any idea how I can collapse the first question?? Thanks!

    Plugin Author SPTechnolab

    @anoopranawat

    Hello plz send me your dev sever wordpress admin username and password on my mail id

    aranawat@sptechnolab.com

    thanks

    Hi,

    I am also having the same issues.

    What was the solution?

    Hi,

    I was wondering the same thing. I would like to keep the accordion layout but would prefer that the 1st question not be expanded, as it currently appears/defaults. I did replace the code as provided above, but it seems to do exactly the opposite of what I was hoping. It is removing the accordion layout and expanding all the questions.

    Can you please advise on a possible solution?

    Thanks!

    Plugin Author SPTechnolab

    @anoopranawat

    hello,
    Can you plz upload your website to your DEV server so that i can check your problem.
    Thanks

    Sir I got the same problem and now I am sad as there is no solution posted in regards with the issue 🙁 please help….

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘[Resolved] Can I not have the first FAQ expanded?’ is closed to new replies.
Skip to toolbar