Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter apveenstra

    (@apveenstra)

    Never mind, they pointed me in the right direction by telling me that I had to change the files “pro-shortcode.php” and “pro-faq-grid-shortcode.php”.

    Here are the instructions for modifying the Pro version 1.1.2.
    These changes will allow you to set the sort order of the FAQ items in the backend by using the “Attributes” pane on the righthand side of the page where you edit the FAQ.

    Edit pro-shortcode.php:
    file: wp-content -> plugins -> wp-faq-pro -> pro -> pro-shortcode.php
    line: 111
    change

    $orderby = ‘post_date’;

    to

    $orderby = ‘menu_order’;

    Line: 112
    change $order = ‘DESC’;
    to $order = ‘ASC’;

    Edit pro-faq-grid-shortcode.php:
    file: wp-content -> plugins -> wp-faq-pro -> pro -> pro-faq-grid-shortcode.php
    line: 88
    change

    $orderby = ‘post_date’;

    to

    $orderby = ‘menu_order’;

    line: 89
    change

    $order = ‘DESC’;

    to

    $order = ‘ASC’;

    line: 149
    change

    $orderby = ‘post_date’;

    to

    $orderby = ‘menu_order’;

    line: 150
    change

    $order = ‘DESC’;

    to

    $order = ‘ASC’;

    Edit faq.php:
    file: wp-content -> plugins -> wp-faq-pro -> faq.php
    line 93:
    change

    ‘supports’ => array(‘title’,’editor’,’thumbnail’,’excerpt’)

    to

    ‘supports’ => array(‘title’,’editor’,’thumbnail’,’excerpt’,’page-attributes’)

    Alexander

    …well that’s quite involved. Maybe one for the forthcoming features list??? The lack of this feature (and ‘search’) is the only thing putting me off the plug-in.

    Thanks for sharing, though.

    Plugin Author Anoop Ranawat

    (@anoopranawat)

    Hello,

    We are still working on this plugin and testing with many themes. Will add all these option in the parameter as well as in the editor side.

    Thanks

    Plugin Author Anoop Ranawat

    (@anoopranawat)

    Hello,

    We have added this features in our PRO plugin WP responsive FAQ with category plugin and we will launch it in 24 Hours (IST) Time.

    – Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sorting FAQ Items’ is closed to new replies.