Australia's Leading Digital Marketing Experts. T. 1300 235 433  |  Aggregation Enquires Welcome

Simple Accordion FAQ and Links in WordPress

Simple Accordion FAQ and Links in WordPress

The purpose of this article is to introduce a simple mechanism to render FAQ-style accordions in WordPress, and it functions as an explainer for an article where we introduce our default mortgage broker website. In this article we'll detail why we introduced an approach to rendering information to a page that is fundamentally different to conventional norms, and we'll also provide a plugin and shortcode for those cases where you wanted to introduce the feature yourself.

This article is necessary to 'justify' our rather unconventional website architecture since many brokers that come across us won't understand the massive advantages derived from our evolved conversion-based methodology. As we'll come to describe, the results we assessed from millions of page-views and conversions definitively determined the alternate method we're describing performed far better than the typical approach employed by most businesses, and it converts more clients.

Websites haven't changed much in years. Certainly, in the finance space virtually every 'required' page (such as First Home Buyers, Refinancing, Investor Loans, and all of those other big-ticket blocks of information) all occupy a page full of top-to-bottom information, and it can often be rather overwhelming... and extremely limiting from a broker's content creation point-of-view. We evaluated well over a million of our client page-views and conversions with screen recordings and heat-maps to determine if our alternate method of including links to FAQ pages would outperform the conventional approach. Consistent with our customer-first mantra - and the obvious overriding obligation to provide an online experience that actually converted - we wanted to know if a short-form style of FAQs with longer-form 'answers' would outperform the website used by virtually every mortgage broker in industry - including our former 'generic' framework. The result was overwhelmingly conclusive: the FAQ style 'pages' encourage more page-views and converted far more clients.

We've always provided the highest-converting website in the finance industry so to improve upon conversions in such a significant and profound way was something that literally made us rethink our entire website architecture strategy for every industry - not just the finance industry. In hindsight, our analysis returned a result that shouldn't have surprised us since consumers have gravitated towards lists and short-form 'Twitter-style' blocks of information that engages them or occupies their full attention, and they want to-the-point or standalone answers to the very specific question that they might have.

Accordions are Commonplace

It's highly likely that the 'Premium' WordPress theme you're using now includes an accordion-style feature of some kind, and it's also probable you have accordions of some descriptions somewhere on your website. So what we're introducing is nothing new - it's the application of how the accordions are used is fundamentally different.

The accordions made available via your theme will usually require that you use shortcode or a builder to include the response within the accordion container; that is, whenever the text within the accordion needs to be altered you will access the accordion directly and change the static text, and if the same text is required in another location you'll have to copy and paste the response for each occurrence when that change is introduced.

The approach we're introducing below is different in that the FAQ accordion is built based on the category that the FAQ is assigned. This means you can assign a 'Guarantor' FAQ article to both the 'First Home Buyer' FAQ Category and the 'Investor' FAQ category (and others), and the FAQ blind will return in the stack of accordions based on the page that the accordion is returned, and the information shown in the blind container will always shows the applicable excerpt from the FAQ page.

As just mentioned, each accordion in a stack returns an excerpt from the applicable FAQ (the excerpt in full, if populated, or a truncated portion of your FAQ article), and each accordion response includes a link to the full FAQ page. In this way we're able to build an ongoing library of comprehensive questions and answers that are most applicable to your audience. The short-form question and excerpt is far easier for a website visitor to ingest and navigate, and it makes the amount of information returned to each page to be infinite.

Note: The 'short-form' answers aren't entirely short, it's really the accordion blind that returns a shorter-form introduction to a topic - the FAQ remains as detailed as it has to be. Our standalone FAQ pages include large amounts of information that remains relevant and focused on one specific topic.

Most accordion features require a supporting JavaScript library, and they're often a relatively expensive feature to return on each page. We've created a HTML and CSS-only version that returns an accordion in just a few lines of code. It's a basic feature that we may alter in the future, but we didn't want to introduce yet another unnecessary fancy-pants JavaScript accordion to your website.

FAQ Custom Post Type

Our standard websites - and our default mortgage broker website, in particular - includes a number of post types for reasons we introduce in an article detailing our website features and Yabber Tag: yabber Integration. It's the FAQ post type that we use for all information linked from general information pages, and it's these pages we include in accordions based on the category each FAQ article is assigned. This methods leaves service 'Entry Pages' to take on a minimalist format with a focus on call-to-actions, product information, and other important information.

When required, the FAQs accordions are rendered neatly near the top of the page and provide a very simple pathway to appropriate information pages.

FAQ Post Type

Pictured: The FAQ Post Type. Our standard websites provide enormous flexibility by providing post types necessary for any one particular industry, and then using those post types to return information differently on various sections of a website. Think of a post type as a filing cabinet - it keeps your page and information structure clear, appropriately siloed, and makes it far easier to build new resources.

We've still created pages for each primary 'service', but each of these pages now includes these FAQ-style links rather than large blocks of text, and these single-page FAQ articles include far more useful information than would otherwise apply. It should be noted, of course, that consistent with the conversion obligations that underpin all our efforts, each FAQ page includes an integrated contact calendar (since every page is a 'type' of landing page), other call-to-actions, graphs, relevant calculators, related blog posts, related resources, and other dynamic elements.

Our standard mortgage broker website includes custom post types for everything, such as bank products, videos, Instagram posts, education modules, resources, calculators, property, financial planning, partners, and so on (it allows enormous flexibility in how your content creation program is managed). For each of these modules it's the FAQ pages that include all the FAQ articles relevant to the topic.

FAQ Archive

Pictured: The FAQ archive. When a post is created in the FAQ category it is assigned to each accordion, as we've just introduced, and it is also added to a multi-page FAQ archive. The archive is a handy resource for a website visitor to browse all FAQs for all of your FAQ categories.

In the pictured FAQ archive we haven't added the obligatory call-to-action, and it's not wearing its final style. The FAQ archive is the only resource that emulates a blog-style format - others are designed as a website 'entry page' (as shown in our article introducing our mortgage broker website). The default archive that's shipped with the website currently includes around 70 FAQ articles but we'll be adding to them on schedule and without an end date.

Each FAQ is simply assigned to a standard WordPress category and that assignment determines which accordion they'll be included. So, assigning a new FAQ to the FHB category makes it available wherever that FAQ module is included.

The Accordion Result

The following image shows how we've rendered information to various product pages (in the pictured example we're using 'First Home Buyers' FAQs). Keep in mind that we're showing an early screenshot so the presentation and scope of FAQs we return has changed enormously.

First Home Buyer FAQ

Pictured: An example set of FAQs on our standard mortgage broker website. Each accordion opens to reveal an answer and each includes a link to a relevant FAQ page. A hover effect applies when scrolling through the menu. The screenshot is out-of-date.

As you scroll through each FAQ section a hover effect applies, and as each is selected the accordion will show it as selected. The contents of each accordion essentially includes a post excerpt and link to an FAQ page.

Broker Website LMI FAQ Page

Pictured: As you scroll through each FAQ section a hover effect applies, and as each is selected the accordion will show it as selected. The contents of each accordion essentially includes a post excerpt and link to an FAQ page.

Using this method increased page-views by over 300%. It's a staggering figure but comes to validate our expectations given the shift in consumer consumption behaviour (we now have a Twitter-style attention span). In a world where we make incremental changes that might only improve upon conversions by a few percentage points, this method is a true game-changer.

Yabber Integration and Elementor Block

Accordion styles can and should be created within Yabber Tag: yabber for those that have access to the Platform. A default style is applied when a profile name of simply 'Default' is created, and then sent to the applicable website. Alternate style can be applied by referencing the profile name in shortcode or with the Elementor block.

Accordion FAQ Styles

Pictured: Creating styles in Yabber. Once created they're simply sent to the applicable website (remembering that Yabber support all your websites).

Once the style is created it may be referenced in the website Elementor block.

Elementor FAQ Block

Pictured: The Elementor block is made available from the suite of Belief's blocks. You may drag it to occupy the full width of the page, or anywhere else that fits with the style of your page.

Once the FAQ Elementor block is dropped into the appropriate position you simply select the applicable style (as created in Yabber), and select those categories of information that you would like returned.

Elementor FAQ Block

Pictured: Block options are limited to just the Style (if applicable), and the appropriate FAQ Categories. All FAQ articles from the selected categories will be returned in the accordion stack. It's possible that we'll add other options if requested.

It should be noted that Elementor includes an accordion feature by default, and it is excellent... although it relies on manually creating each FAQ for inclusion in a block. Like many accordion-style features it comes with a big resource-heavy JavaScript back-end that we didn't want to replicate by adding what is essentially the 'same' feature. As we'll come to show in the code below, we've emulated the feature with just CSS, and we build the accordion with no more than a couple of lines of code.

You may include accordions of any type anywhere on your website via standard shortcode, or with Belief's own Elementor block. Simply drag the block into place, select your FAQ category, and you're done.

Accordion Shortcode

As documented on the generic plugin page, you may use standard shortcode to return an accordion of any type on any page. For example, if we were to return only ten posts we would use the shortcode of [bm_accordion cpt="post" taxonomy="category" term="finance" number="10"] with a result as follows:

■ ■ ■

The reason our marketing funnel returns far more leads and business than competing solutions made available to the market is attributed to a large number of factors, with just one of them being the Venus Report. In this article we'll look at the Venus report in more detail than previously introduced, and we'll detail exactly… [ Learn More ]

In virtually every industry the people behind a company are as important as the company itself, and an archive of your most 'visible' team members is an effective way at humanising the numbers. Not unlike an About page , the bios connect a potential client with your business in a way that isn't entirely otherwise… [ Learn More ]

One of the fastest growing features of Yabber is the support made available to 'back pages' and the features made available on those pages (a 'back page' is essentially every page other than your front page). In this article we'll touch on just two features: your 'About' page, and your 'Statement of Values' page -… [ Learn More ]

This article introduces the 'entry-level' website we provide mortgage brokers. As we'll come to explain, and despite calling it an 'entry-level' website, it's not only the most affordable and powerful website made available to small and medium businesses, it's also the only website in the industry that is driven by automation and AI, and we… [ Learn More ]

A short time ago we introduced the integrated Download Manager made available via Yabber, and we also introduced the triggers made available via downloads on your website (or anywhere else). In this article we'll show you how the two come together by way of a drag-and-drop Elementor widget that makes trackable and stylised… [ Learn More ]

A couple of years ago we shared the first version of simple Omny Studio WordPress shortcode that would return a stylised Omny player to your website. At that time we were investigating what audio hosting services we'd use ourselves, and what service Yabber Tag: would support by default. Since then we've landed on Omny… [ Learn More ]

A digital media strategy is one that is focused on your advertising and creative direction, content creation and delivery, social media strategy, workflow management, and most importantly of all, how your results are measured, and what agile methods you have in place to act upon the data returned to your organisation. In essence,… [ Learn More ]

We've introduced numerous live and always up-to-date bank rate features on numerous occasions in the past. We take the approach that bank rate data and product information is vital for a persuasive and powerful website and funnel experience, so we plaster the information wherever we can squeeze it, and whenever it's contextually relevant. This article… [ Learn More ]

A short time ago we introduced how Yabber manages the various panels on the front page of your website. Each panel on the front page is designed to convert, and appropriation of these front page assets go a long way into facilitating conversions. While every page of our mortgage broker website is… [ Learn More ]

As we describe in the documentation, the accordions are used for all sorts of funky applications... and we've already seem them used on specific types of landing pages (since you would never normally include blocks of distracting text on a landing asset). You might also use them for related posts (in which case we return the result in a numbered form).

The shortcode is a little convoluted... but if you're using shortcode there's almost an expectation that you have an understanding of how they're used (and part of the reason we migrated our client plugins to Elementor is because nobody ever wants to use shortcode, and nobody ever really understands how they should be used). We recently built a new 'Related Articles' feature for our mortgage broker website and, quite frankly, the accordions might be a better and more suitable format (it'll have to undergo a few months of split testing before we're able to accurately assess the results).


What we've introduced is such a small part of our mortgage broker website, but it plays a larger part in how information is returned to website user. There's a simple plugin with abbreviated features that you might choose to download below, but it's limited in the type of functionality it provides.


You should reference the Accordion documentation page for information on stylistic and other customisation options. Note that the download plugin is a heavily abbreviated version of what we've just introduced - information in the docs. The BeliefMedia Core plugin requires installation before this plugin may be used.

Title: BeliefMedia Simple Accordion
Description: The accordion shortcode will return an accordion of your website posts or other post types. Various stylistic attributes apply. Client should not use this plugin as the feature is built into the default website FAQ module.
  Download • Version 0.1, 2.8K, zip, Category: WordPress Plugins (BeliefMedia Client Plugins)
Featured Image: National Bank of Australasia, R.C. Hansen's saddlery and the Shamrock Hotel, Sandhurst (Bendigo), c1872. The National Bank of Australasia was a bank based in Melbourne. It was established in 1858, and in 1982 merged with the Commercial Banking Company of Sydney to form National Australia Bank. [ View Image ]

Download our 650-page guide on Finance Marketing. We'll show you exactly how we generate Billions in volume for our clients.

  AUS Eastern Standard Time (Virginia)

  Want to have a chat?

Like this article?

Share on facebook
Share on Facebook
Share on twitter
Share on Twitter
Share on linkedin
Share on Linkdin
Share on pinterest
Share on Pinterest

Leave a comment