Support » Plugin: Quick and Easy FAQs » Can I reorder FAQs

  • Hi there, is there a way that I can reorder the faqs? This seems like a simple to implement feature. There are some questions which need to follow a sequence so that the user is not lost.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    There is no option to reorder the FAQs. However, we will add it in a future update soon.

    [ Signature deleted ]

    Until the plugin officially supports it, you can accomplish this by adding the following to your functions.php file:

    //enable the order field for the faq post type
    function modify_faq_post_type() {
        add_post_type_support( 'faq', 'page-attributes' );
    add_action( 'admin_init', 'modify_faq_post_type', 10, 2 );
    //alter the sort order of the faq questions on the front-end
    function faq_order($query) {
    	if(!$query->is_admin) {
    		if ($query->get('post_type') == 'faq') {
    			$query->set('orderby', 'menu_order');
    			$query->set('order', 'ASC');
    	return $query;
    add_filter('pre_get_posts', 'faq_order');

    Then you just assign each question a value for the order field. It’s not the prettiest solution, but it works.

    I’ve added the code to the functions.php file, but I’m not clear what you mean by assigning a value to the order field for each question. Where do I find the order field?

    I know actual pages have an order field, but FAQs are not pages and don’t appear to have an order field.

    • This reply was modified 5 months, 1 week ago by  Enoch52.

    You may need to unhide the field. Check under Screen Options in the upper right when editing an FAQ and make sure that Page Attributes is checked. The order field should show up in the right-hand sidebar once it is.

    Hello @kionae,

    We will definitely add official support for reordering soon.



Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.