• Resolved monica44

    (@monica44)


    Hi Everyone,

    I am having an issue with the FAQ’s on my site.

    My site is: https://www.youreastvalerealtor.com

    Here is the issue:

    I am putting FAQ’s on three different pages on my site. There will be a “Real Estate FAQ’s” page, a page called “Eastvale FAQ’s,” and a third page called “Forum FAQ’s.”

    Each one of these pages will contain different sets of FAQ’s, i.e. no one FAQ will appear in more than one FAQ section.

    I have figured out how to divide my FAQ’s up into their respective groups by using the shortcode for each group name, i.e. the shortcode for the Forum FAQ’s is [faq group=”forum-faqs”].

    Here is my issue:

    I want to be able to choose the order that the FAQ’s get posted in for each group. However, when I use shortcode such as ‘orderby’ or ‘order’ on a FAQ page, it will then display ALL the FAQ questions I have inputted, no matter what group they belong to.

    In other words, I added the ‘order’=”ASC” shortcode to the Forum FAQ’s page (which already had the [faq group =”forum-faqs”] shortcode on it.

    As soon as I updated the page and checked it on the front end, it had listed ALL the questions I had in my FAQ database instead of just the Forum FAQ’s in ascending order.

    Is there any way to fix this?

    I know I can just leave the [faq group =”forum-faqs”] shortcode on the Forum FAQ’s page and display only the FAQ’s for the forum (and no other section), which is how the page stands now. But if I do that, I then can’t choose an order for the way the questions appear on the front end.

    I tried downloading the “custom post order” plugins from WordPress last night, but I think those plugins are only meant for choosing an order when you have just one FAQ page (and not several like my site has).

    Does anyone know how to fix this issue?

    Thank you!

    https://www.ads-software.com/plugins/arconix-faq/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Gardner

    (@jgardner03)

    Hi Monica,

    Thanks for using my plugin and I apologize for the troubles you’re running into. I have tested that configuration and I have been able to achieve the result you’re looking for.

    One way to achieve a custom order is to assign the order on the FAQ page itself, or, possibly easier, assign them from the main FAQ list in the WordPress admin ( https://YOURDOMAIN.COM/wp-admin/edit.php?post_type=faq ). On the FAQ page itself you’ll see on the right an “Order” box in the “Page Attributes” section. On the main FAQ list, hover over an FAQ and click “Quick Edit” and the order box will be to the right of the FAQ Title.

    You can assign a number and the plugin will sort based on that number if you set the orderby shortcode param to menu_order. For example, if your group slug was forum-faqs, this would be your shortcode:

    [faq group=forum-faqs orderby=menu_order]

    The default sort is ASC (0-9) so you don’t have to specify that value.

    Does that work for you?

    Thread Starter monica44

    (@monica44)

    Hi John,

    That did work, thank you so much!

    LOVE your plugin, keep up the great work ??

    Plugin Author John Gardner

    (@jgardner03)

    Happy to hear everything is working. If you have opportunity, I’d really appreciate it if you could leave a review of the plugin.

    Thanks!

    Thread Starter monica44

    (@monica44)

    Absolutely, you deserve it!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘ordering questions in multiple groups’ is closed to new replies.