WordPress.org

Ready to get started?Download WordPress

Forums

WP Awesome FAQ Plugin
Pull-down answer window size. (18 posts)

  1. MisterPotatoHead
    Member
    Posted 12 months ago #

    It appears that all answer windows are sized for the largest answer. Is there a way to make them automatically size according to their individual content?

    I'm not a coder so the simpler the better.

    So far, very simple to use.

    http://wordpress.org/extend/plugins/wp-awesome-faq/

  2. jkwalz
    Member
    Posted 12 months ago #

    I have 15+ questions yet only 10 appear on the FAQ page. Is there a setting somewhere that I am missing?

  3. h2cweb.net
    Member
    Plugin Author

    Posted 12 months ago #

    Hi jkwalz,

    There is no limit to show FAQ settings page. It will show all items. It caused for the settings>reading>Blog pages show at most. You have set it to 10. That's why you are seeing 10 FAQ items.

    Thanks

  4. h2cweb.net
    Member
    Plugin Author

    Posted 12 months ago #

    Hi MisterPotatoHead,

    Thanks for the idea. Still there is no option like this. In the next update i will keep this feature. Enjoy http://wordpress.org/extend/plugins/wp-awesome-faq/

    Thanks

  5. WelcomeHomeJoe
    Member
    Posted 10 months ago #

    Hello, Is there a way to change the order of the FAQ questions after they are created?

    Joe

  6. h2cweb.net
    Member
    Plugin Author

    Posted 9 months ago #

    Hi WelcomeHomeJoe,
    By this time it's not possible. I am working on other settings also. Many settings are coming soon.

    http://wordpress.org/extend/plugins/wp-awesome-faq/

    Thanks

  7. Anti Den
    Member
    Posted 9 months ago #

    I used the construction in custom jq file

    $(function() {
      $("#accordion div").css("height","auto");
    });
  8. h2cweb.net
    Member
    Plugin Author

    Posted 9 months ago #

    Hi Anti Den,
    Thanks for the nice and quick solution. Obviously i will update in the next version of this issue.
    Thanks again.

  9. archiecruz
    Member
    Posted 9 months ago #

    Hello,
    Where should I edit or put this code

    $(function() {
    $("#accordion div").css("height","auto");
    });

  10. Anti Den
    Member
    Posted 9 months ago #

    Hi h2cweb.net,
    thx man! =)

    Hi archiecruz,
    1 variant. You can create custom js file, simple "custom.js" with code

    $(function() {
    $("#accordion div").css("height","auto");
    });

    and put file in header

    <script src="js/custom.js"></script>

    2 variant. Put code in footer, before </body> tag, with this code

    <script>$("#accordion div").css("height","auto");</script>
  11. h2cweb.net
    Member
    Plugin Author

    Posted 8 months ago #

    Hi Anti Den,
    I have released the update version of this plugin. And as promised, i have added css height issue (from your code).

    Thanks

  12. Anti Den
    Member
    Posted 8 months ago #

    hi h2cweb.net!

    Thanks man =) I think need use original accordion js, simple use

    $( "#accordion" ).accordion({
          heightStyle: "content"
        });

    please see and good luck!

  13. grwiffen
    Member
    Posted 8 months ago #

    JKWlatz,

    Try this .... it solved the issue for me.

    I found that simply editing the wp-awesome-faq/index.php file to allow more posts per page works. By default it is set to 5. You can find the code ton line 92 of the index.php file. Hope this helps!!

    // Getting FAQs from WordPress Awesome FAQ plugin's Custom Post Type questions
    $args = array( 'posts_per_page' => 15, 'post_type' => 'faq', 'order'=>"DESC");
    $query = new WP_Query( $args );

  14. grwiffen
    Member
    Posted 8 months ago #

    h2cweb.net

    The latest version does not auto-hieght. I suggest you use the code offered to you here.

  15. joshlevin128
    Member
    Posted 7 months ago #

    It currently says that the .js code where the auto height is written is "inactive" anyway to activate this? The main portion of the plugin is listed as "active" and the FAQ is working properly other than the auto size function.

  16. h2cweb.net
    Member
    Plugin Author

    Posted 7 months ago #

    Hi grwiffen,
    You are doing lots for me. I will release latest version. I forgot to show all posts in line 92. I will fix this issue and obviously the auto height issue will be solved also.

    Thanks

  17. ayo10
    Member
    Posted 5 months ago #

    Hi Anti Den,
    Thanks for your contribution and solution to the auto height. It works perfectly for me. More grease to your elbow.

  18. AtelierFontaines
    Member
    Posted 2 weeks ago #

    Hello,

    Otherwise adding this code in your css custom works quit well :

    .ui-accordion .ui-accordion-content {
    height: auto !important;
    }

    Bye

Reply

You must log in to post.

About this Plugin

About this Topic