WordPress.org

Ready to get started?Download WordPress

Forums

Q and A FAQ and Knowledge Base for WordPress
[resolved] [Plugin: Q and A - FAQ plugin for WordPress] Q and A show/hide button does not work anymore (27 posts)

  1. jung921
    Member
    Posted 1 year ago #

    Q and A show/hide button does not work anymore after upgrading to v.1.0

    http://wordpress.org/extend/plugins/q-and-a/

  2. Dalton
    Member
    Plugin Author

    Posted 1 year ago #

    Please post a link and I will take a look.

  3. jung921
    Member
    Posted 1 year ago #

    Thanks for your prompt reply Dalton,
    Unfortunately, I cannot post a link as we are using wordpress as our staff intranet site. After installing the new version, clicking the question does not expand with the answer. it just open a page instead.

  4. Dalton
    Member
    Plugin Author

    Posted 1 year ago #

    Any errors in Firebug or Chrome Developer Tools?

  5. Dalton
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Jung,
    I just posted a new version of the plugin, please let me know if this helps.

    Dalton

  6. Daniellle
    Member
    Posted 1 year ago #

    I just installed this plugin and it doesn't work at all. Wondering if it's related to this same thing.

    It displays the questions ok, but there is no show/hide feature they are just all there on one page... clicking the title just brings you to a page with the question on.

  7. Dalton
    Member
    Plugin Author

    Posted 1 year ago #

    Danielle,
    Which version of the plugin are you using? Make sure you have the latest update.

    How have you entered the shortcode on your page? It would be helpful if you could post a link.

    Dalton

  8. Daniellle
    Member
    Posted 1 year ago #

    http://tester.thedady.co.uk/?page_id=368

    I've entered the shortcode [qa] on that page and I have version 1.0.1

  9. Dalton
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Danielle,
    It looks like your theme is missing the wp_head() and wp_footer() functions. Please look into these functions (you can find a reference in TwentyEleven) and fix your theme, then the plugin should work fine.

    Dalotn

  10. Daniellle
    Member
    Posted 1 year ago #

    Hi Dalton,

    I have those files in there already. I tried moving them, which didnt work, maybe thats when you looked at it?

    The best Ive been able to get is the posts to hide but they dont display on page they just open a new link still.

    Thanks for your help!

  11. Dalton
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Danielle,
    What version of WordPress are you using? It looks like your jQuery is out of date. In the plugin settings, try changing the "Load jQuery" setting to "Force latest version" and see if that helps.

    Dalton

  12. Daniellle
    Member
    Posted 1 year ago #

    I have 3.1 installed, the person I am doing this for has this version installed. That said it does say the plugin is compatible with this version.

    Ive tried both options for jQuery but still nothing :(

  13. Dalton
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Danielle,
    It should be compatible with 3.1 with the "Force latest version" setting, can you leave that setting enabled and let me take a look?

    Dalton

  14. Daniellle
    Member
    Posted 1 year ago #

    Done!

  15. Daniellle
    Member
    Posted 1 year ago #

    Oh its working now!

    Not sure what I did but at least it is working.

    Thanks for your help!

  16. Dalton
    Member
    Plugin Author

    Posted 1 year ago #

    It's working for me! Try to hold down the shift key and refresh and see if that does the trick for you.

  17. jung921
    Member
    Posted 1 year ago #

    Hi Dalton,
    Thank you very much for your support.
    I am still having the same issue after trying the new version. everything else seems working fine but clicking the question title still brings me to a page with the question on instead of expanding it. Refreshing browser cache didn't help.
    I guess it might be confict of my jquery installed on my theme and not your plugin problem.

  18. ThorHammer
    Member
    Posted 1 year ago #

    My FAQs are also gone, everything wordked just fine before I upgraded. The FAQ questions are visible, but when trying to click on them the nice sliding function is gone and it is impossible to get the answere, I only get 404. So sad. What can I do?

    Here are the FAQs:
    http://www.skrivehula.no/oss-ofte-stilte-sporsmal/

  19. ThorHammer
    Member
    Posted 1 year ago #

    Never mind, I noticed the option where the actual page wasn't in the form field. I pasted the page name into it, and then the answeres came back. But the nice animation is gone. I will have a look at your premium version.

  20. ThorHammer
    Member
    Posted 1 year ago #

    It seems as if I have the 1.0.3 version of your plugin now, and I am using WP 3.4.1.
    The 0.9 version worked like a charm, but now the animation is just gone. I have selected the force latest jquery as well, but, no ...

    http://www.skrivehula.no/oss-ofte-stilte-sporsmal/

    And why is it a link to "view category" under one of the categories?

    Is it possible to downgrade to the old version?

  21. Dalton
    Member
    Plugin Author

    Posted 1 year ago #

    @jung921 - This does sound like a jQuery problem. If you want to paste the HTML source of your page into a pastebin and link it here or email it to dalton @ madebyraygun.com I can take a look.

    @ThorHammer - The new plugin includes a feature that lets you limit the number of items that are shown per category on the FAQ homepage. By default it will show 5 items per category with a link to view more if they're available. If you'd like to increase that limit, go into the plugin settings, under FAQ Homepage Options change the FAQs per category option to something higher. If you set it to -1 it will be unlimited.

    Your site is loading an out of date version of jQuery which is why the show/hide animations don't work anymore. Try setting the jQuery version under Advanced Options to "Force latest version".

  22. ThorHammer
    Member
    Posted 1 year ago #

    Hi, and thank you for your feedback! I have adjusted the number of FAQs with great success, and I have also chose the option FORCE LATEST VERSION under jQuery, but still... the behaviour will not work. Could this be due to the code in my header? Here are the jquerys loaded:

    <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js?ver=1.6.2'></script>
    <script type='text/javascript' src='http://www.skrivehula.no/wp-content/plugins/quote-rotator/js/jquery.sideswap.js?ver=3.4.1'></script>
    <script type='text/javascript' src='http://www.skrivehula.no/wp-content/themes/parallelus-mingle/assets/js/libs/modernizr-1.6.min.js?ver=1.6'></script>
    <script type='text/javascript' src='http://www.skrivehula.no/wp-content/themes/parallelus-mingle/assets/js/libs/swfobject.js?ver=2.2'></script>
    <script type='text/javascript' src='http://www.skrivehula.no/wp-content/themes/parallelus-mingle/assets/js/libs/cufon-yui.js?ver=1.09'></script>
  23. ThorHammer
    Member
    Posted 1 year ago #

    Solved. I updated the jquery from google api to 1.7.1, and then it worked. Thanks for a great plugin :-)

  24. jung921
    Member
    Posted 1 year ago #

    Hi again Dalton,
    As requested, here is the html code:
    http://pastebin.com/Y8CX6NYC

  25. Dalton
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Jung,
    As I suspected, it looks like your theme developer did a bad thing and hard coded the jQuery link directly into your template header. You'll need to go into your template and delete that, then you should set the plugin to load the WP version of jQuery. That should fix the problem!

    The other problem you may have is that all of your scripts that rely on jQuery may be loaded too soon. If you're still having problems you'll want to move the wp_head() function up in your header source so it's above all of the other scripts.

  26. jung921
    Member
    Posted 1 year ago #

    Thanks Dalton.

    Your updated version 1.0.5 fixed all problem for me.
    Your help and support was fantastic! thanks once again!

  27. vinomca5
    Member
    Posted 1 year ago #

    Hi Dalton,

    Thanks a lot.

    I did the following setting and works fine.

    "Force latest version" setting, enabled

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.