I’d like to take a few FAQs and post them into a section on one of my pages. So I created a category called “top”, for say, top 5 FAQs.
I then added my 5 FAQs to that category. Next, I go to my page and I insert the short code manually using PHP.
<?php echo do_shortcode('[qa]'); ?>
But I now want to extend the shortcode by adding the following attributes:
It appears that you cannot add more than 1 attribute to the shortcode, otherwise it fails and dumps out all the FAQs.
How can I achieve only 5 faqs, from the top category, without showing the search field?
- The topic ‘[Plugin: Q & A FAQ and Knowledge Base] Porting & Multiple Attributes’ is closed to new replies.