Halloween Sale 15% off Ends in See the plans

Snippet Library

Custom Post Types & Fields snippets for WordPress

Snippets for custom post types, taxonomies and custom fields: register a post type, add meta boxes, show fields in lists and archives. For developers modeling content beyond posts and pages.

1–5 of 5 snippets “faq”

  • SCSS Custom Post Types & Fields

    FAQ Accordion Styles (SCSS)

    Styles collapsible FAQ items (from the FAQ list and ACF FAQ shortcodes, or any Details block) with dividers, a plus/minus marker and a visible keyboard focus ring.

  • PHP Custom Post Types & Fields

    FAQ Post Type With Groups

    Registers an "FAQs" post type (question as the title, answer as the content) with an FAQ Group taxonomy, for help centers and FAQ pages.

  • PHP Custom Post Types & Fields

    Manual Ordering for Custom Post Types

    Adds the Order field to chosen post types and sorts them by it on the front end and in the admin, so you can control the order of team members, services or FAQs.

Have a snippet worth sharing?

Publish it to the library from WPIDE or right here. Sign in with any WordPress site that runs WPIDE, free or Pro. Public snippets are reviewed by the WPIDE team before they appear.