WordPress.org

Ready to get started?Download WordPress

Forums

Q and A FAQ and Knowledge Base for WordPress
[Plugin: Q & A FAQ and Knowledge Base] Porting & Multiple Attributes (1 post)

  1. pmagony
    Member
    Posted 1 year ago #

    Hello,

    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:

    cat=top
    limit=5
    search=none

    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?

    Thanks!

    http://wordpress.org/extend/plugins/q-and-a/

Topic Closed

This topic has been closed to new replies.