My FAQ
This is a very, but really very simple Frequently asked Questions WordPress plugin. It is an ideal solution if you need frequent questions on the site.
In the first step:
Create …
This is a response within a category.
This is a sample response.
Simply let the icons settle in the plugin settings.
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 );
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 );
I will ask you a new question