FAQ Accordion After Product Pages
Adds a short list of common questions and answers (shipping, returns, warranty) at the bottom of every product page.
Opens WPIDE on
Code
<section class="wpide-product-faq" style="clear:both;margin:40px 0;">
<h2>Frequently asked questions</h2>
<details style="margin-bottom:10px;padding:12px 16px;border:1px solid #dcdcde;border-radius:6px;">
<summary style="cursor:pointer;font-weight:600;">When will my order ship?</summary>
<p style="margin:10px 0 0;">Orders placed before 2 pm on a working day ship the same day.</p>
</details>
<details style="margin-bottom:10px;padding:12px 16px;border:1px solid #dcdcde;border-radius:6px;">
<summary style="cursor:pointer;font-weight:600;">Can I return this product?</summary>
<p style="margin:10px 0 0;">Yes, you can return unused items within 30 days for a full refund.</p>
</details>
<details style="margin-bottom:10px;padding:12px 16px;border:1px solid #dcdcde;border-radius:6px;">
<summary style="cursor:pointer;font-weight:600;">Is there a warranty?</summary>
<p style="margin:10px 0 0;">All products come with a two-year warranty against manufacturing defects.</p>
</details>
</section>
Notes
Edit the questions and answers. Use WPIDE conditions to show different FAQs per category.
How to add this snippet
- Install WPIDE on your WordPress site (it is free) and open Code Snippets.
- Use snippet above adds it from the library in one click. Or copy the code into a new snippet with the same code type.
- It is added inactive: review the code and settings, then switch it on.