@kristoffer132
Thanks to inform us the point. As you are using both the Global and Specific FAQs together and Global FAQs are coming first. You want Global FAQs at last.
We decided to add an option, may be a checkbox or select item. With it you can select Global FAQs display first and Global FAQs display last like that.
We are going to add the feature and make a new release in the next 48 hours. As soon as we release it, we will inform you.
Thanks
Optemiz Support
Wow perfect, thanks!!
Another question, is it possible to create multiple FAQ lists? We are currently using this for common questions and answers but would like to use the same function to add, for example, active ingredients for the products and then use a different shortcode to show this in another tab.
https://likami.se/sv/produkter/likami-core/facial/facial-toner/
See the “Innehåll” and “FAQ” tabs for live examples. We would love to make the active ingredients clickable like FAQs and list all ingrediens as a separate list.
Shortcode structure
[ffw_template_xx id=20] for product tabs
[ffw_template_xx] for separate full page list
Or could we use different tags or categories for this and use:
[ffw_template cat=faq id=20] for product FAQ tabs
[ffw_template cat=faq] for separate full page FAQ list
[ffw_template cat=ingredients id=20] for product Ingredients tabs
[ffw_template cat=ingredients] for separate full page Ingredients list
PS. Tips, maybe you should add this code under the section shortcode:
function get_prod_faq_shortcode() {
global $product;
$id = $product->get_id();
return do_shortcode( ‘[ffw_template template=1 id=”‘ . $id . ‘”]’);
}
add_shortcode( ‘prod_faq_shortcode’, ‘get_prod_faq_shortcode’ );
Then the user easy can add this shortcode anywhere on the product page : [prod_faq_shortcode]
@kristoffer132
Thanks for the second query about seperate shortcode for the same product feature.
We have a shortcode like below
[ffw_template template=1]
Here, you do not need to provide product id. If you want to show the faqs anywhere in the product page.
You just need to code do_action for the specific area where you want to show the faqs separately.
Also, category support is not currently available with the shortcodes, we are going to release it very soon.
Now, you can share us, a staging site and tell us where you want to display your separate faqs. Our developer will help you to display by the dynamic codes.
Thanks
Optemiz Support