Frequent questions and sample

  •  This is an empty sample category

    You can disable the display of the empty category if you turn on the "Hide Blank Categories" switch when setting the plugin.
    • There are no questions that can be displayed.
  •  It is also a sample category

    • One question - within category

      This is a response within a category.

  • This is a sample question

    This is a sample response.

  • I don't want to use icons. How do I turn off?

    Simply let the icons settle in the plugin settings.

  • I want to display anything else in the categories icons.

    By overwriting the my_faq_get_category_icon filter, you can do this.

    In the functions.php file, place the following code :

    // Clear the original filter
    remove_filter('my_faq_get_category_icon', 'my_faq_583_get_category_icon');
    
    function my_custom_get_category_icon($icon_group, $icon) {
        
    	// $icon_group: Icon group specified for setting plugin
    	// $icon: The category icon specified for setting the plugin
    	
        $html = '';
    	// Here you have programmed what you want! 
     
    	return $html;
    
    }
    // Add the new filter
    add_filter( 'my_faq_get_category_icon', 'my_custom_get_category_icon', 11, 2 );
  • I would like to show anything else to the questions' icons.

    By overwriting the my_faq_get_query_icon filter, you can do this.

    In the functions.php file, place the following code :

    // Clear the original filter
    remove_filter('my_faq_get_query_icon', 'my_faq_583_get_query_icon');
    
    function my_custom_get_query_icon($icon_group, $icon) {
        
    	// $icon_group: Icon group specified for setting plugin
    	// $icon: The category icon specified for setting the plugin
    	
        $html = '';
    	// Here you have programmed what you want! 
     
    	return $html;
    
    }
    // Add the new filter
    add_filter( 'my_faq_get_query_icon', 'my_custom_get_query_icon', 11, 2 );

Frequent questions are displayed on My FAQ plugin.