output faq

#401707
  • Resolved Rob Berger
    Rank Math pro
    Content AI Expert

    I read your great article on using ACF and RankMath for FAQs. What I can’t figure out is how to output the FAQs into an article. Does the code I entered into functions.php output the FAQs with a shortcode? If I have to write my own code to output the FAQs, how do I connect it to the functions.php code from your article?

    Thanks, Rob

Viewing 3 replies - 1 through 3 (of 3 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math.

    You need to add the FAQ questions and answers in the FAQ fields and then add the code in functions.php file:
    faqs
    https://rankmath.com/kb/automate-faq-schema-with-acf-repeater-fields/#num-7-create-a-post-and-fill-the-faq-fields

    Hope that helps.

    Thank you.

    Rob Berger
    Rank Math pro
    Content AI Expert

    So I’ve done that. But the FAQs do not appear in the article. Do I need to add a shortcode to the article to output the FAQs?

    Hello,

    Manually creating the FAQs schema via the filter we provided doesn’t generate a shortcode so you may need to construct or output the FAQs data you created from the ACF repeater to the front end of your website.

    Hope this helps. Looking forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘output faq’ is closed to new replies.