RBA Cash Rate: 4.35% · 1AUD = 0.67 USD · Inflation: 4.1%  
Leading Digital Marketing Experts | 1300 235 433 | Aggregation Enquires Welcome | Book Appointment
Example Interest Rates: Home Loan Variable: 5.20% (5.24%*) • Home Loan Fixed: 5.48% (6.24%*) • Fixed: 5.48% (6.24%*) • Variable: 5.20% (5.24%*) • Investment IO: 5.78% (6.81%*) • Investment PI: 5.49% (6.32%*)
BeliefMedia WordPress Plugin Archive [ Installation Instructions | Plugins ]

BeliefMedia Simple Accordion

This documentation supports an article on our blog introducing how to include basic accordions on your website that reference various post types, and include excerpts of post content. This is an abbreviated version of the plugin clients enjoy, which is used mainly to support the inclusion of FAQs into their website. The plugin is limited in its functionality but still includes a large number of features.

The accordions are introduced on our blog in an article titled "Simple Accordion FAQ and Links in WordPress".

Dependencies

The plugin requires BeliefMedia Core. The Core plugin enables updates, but will also register you with an API Key. If you do not wish basic registration details sent to us upon registration then please do not download the plugin. You should also ideally download and install BeliefMedia Simple Cache to take advantage of the caching feature.

The Result

The most common use of the shortcode is to return a number of posts associated with a particular category. For example, [bm_accordion term="finance"] returns the following:

LoanOptions.AI are an asset finance company that leverages their technology by making it available to mortgage brokers. Asset finance filter through to LoanOptions, while home loan leads are fed back to brokers. We've had a couple of our own brokers partner with the company so we built a standalone WordPress plugin to quickly enable the… [ Learn More ]

Around March this year we had a client ask to have default page titles and formatting modified on around 70 pages. The request exposed a weakness in the mortgage broker website architecture that prevented easy modification of page titles on a large number of pages, and with a recent update to the website framework,… [ Learn More ]

We've recently updated the 'Testimonials' website and Yabber module, and the changes are significant enough that they require a reintroduction to the feature. Some like reviews. Others don't. We don't. In the broking world, however, and in the broader finance space in particular, reviews serve a valid purposes, and in a world populated with copious… [ Learn More ]

A couple of years ago we introduced a featured rate panel that'd return formatted rates within a style of textbox. On the back of a recent request from a client, we've created a new style of featured panel that'll return a similar lender rate textbox that is managed entirely from Yabber. While the former… [ Learn More ]

In creating the revised version of our Mortgage Broker Website, we've had to create various elements that'll support different types of navigation. The first of these tools is the 'Link Block' module, and this article introduces the very basic feature. Similar to the Related Series module, the feature simply creates a block… [ Learn More ]

We archive about as much data as ASIC and other regulatory bodies or institutions make available. The API we make available to all clients by virtue of their assigned key provides access to a large number of resources and tools - most of which they'll never use. This article introduces the ASIC API in brief… [ Learn More ]

Built on the back of our Lender Data API, and supplementing features such as Lender Widgets, Rate Ribbons, Rate Blocks, Lender Archives, and Lender Product Pages, we've just released the Lender Document (and Media) APIs. Our Mortgage Broker Website is now shipped with an Elementor Block that'll enable the features we're about to describe.… [ Learn More ]

Optical Character Recognition (OCR) is the process that converts an image of text into a machine-readable text format. For example, if you scan a form or a receipt, or you receive a scanned PDF or image from a client, the OCR facility will evaluate that object, extract the text, and save the resulting information to… [ Learn More ]

This article introduces some of the legal obligations that dictate the manner in which you represent yourself online, particularly as part of your advertising programs. The scope of non-compliance, and what can only be described as blatantly illegal advertising in the industry, is truly staggering, and it's only a matter of time before even the… [ Learn More ]

We've provided the leading digital solution to the mortgage industry since 1997... and we've never sold leads, and we never will in the manner the industry is accustomed. We believe that every business should have the capacity to generate its own leads and support its own business growth without any reliance on a marketing company.… [ Learn More ]

We've actually included the attributes of margin_bottom="30" hover="#B6B6B6" selected="#C9C9C9" color_selected="000000" number="10" to alter the appearance, and limit the number of results to just 10 articles.

In the next example we'll use the accordion as if it were part of a series or similar where numbering might be required. Using default styling, and limiting results to just 5 results, the shortcode of [bm_accordion cpt="post" taxonomy="category" term="api" number="5" icon="0"] (note the icon attribute of '0' - this creates numbering).

We archive about as much data as ASIC and other regulatory bodies or institutions make available. The API we make available to all clients by virtue of their assigned key provides access to a large number of resources and tools - most of which they'll never use. This article introduces the ASIC API in brief… [ Learn More ]

Built on the back of our Lender Data API, and supplementing features such as Lender Widgets, Rate Ribbons, Rate Blocks, Lender Archives, and Lender Product Pages, we've just released the Lender Document (and Media) APIs. Our Mortgage Broker Website is now shipped with an Elementor Block that'll enable the features we're about to describe.… [ Learn More ]

Optical Character Recognition (OCR) is the process that converts an image of text into a machine-readable text format. For example, if you scan a form or a receipt, or you receive a scanned PDF or image from a client, the OCR facility will evaluate that object, extract the text, and save the resulting information to… [ Learn More ]

We recently conducted an experiment in Artificial Intelligence that required highly accurate speech-to-text and text-to-speech functionality. In short, we assigned mortgage broker tasks to an AI and had the system carry a loan (with supervision) from a website-based AI-enquiry through to 'settlement'. The results give us a very clear indication of how the industry might… [ Learn More ]

We’ve had a Screenshot API for around 15 years, introduced mainly to support preview pages for our Shor.tt and Fat.ly Short URL services and SEO analytics tools, but it is also used as a general tool available to clients. We've recently updated the API and this article introduces how the revised tool is used.… [ Learn More ]

The plugin is very lightweight as it's rendered with just CSS and a few lines of code. There are no JavaScript dependencies or libraries.

Shortcode Attributes

The following attributes may be used to alter the appearance of the accordion. Note that the style is inline; not ideal... but it works.

color

The color of the accordion text. Defaults to #FBFBFB.

color_selected

The accordion title color when that accordion is selected and opened. Defaults to #FBFBFB.

hover

The colour of the accordion panel when hovering over with your mouse cursor.

selected

The colour of the accordion panel when selected and opened. The above color_selected attribute should be in contrast.

words

The number of words to include in the accordion excerpt. Defaults to 55.

height

The height of the accordion panel. Defaults to 40.

more

The more attribute alters the "Learn More" text that will navigate the user to the destination page.

icon

The icon to use for each accordion. Limited in the general plugin, you should generally use a HTML attribute or font awesome icon.

profile

If you're a Yabber user that is using this plugin on a website that doesn't have the BM Plugin installed, you may still retrieve custom stylistic profile with the profile attribute (so all others can be ignored).

cpt

The post type. Defaults to 'post'. In the BM plugin it will default to 'faq'. Can generally be left with the default setting.

taxonomy

The taxonomy type. Defaults to category. Can generally be left with the default setting.

field

The field that will be queried. This is set to slug and generally shouldn't be altered.

term

The term or a comma-delimited string of terms to query. This is the slug associated with a category, so it might look like term="cat-1,cat-2,cat-3".

margin_bottom

The margin under the accordion container. Defaults to 30.

margin_top

THa margin above the accordion container. Defaults to 30.

number

The number of results to return. By default it returns everything... not a great idea. You can limit with number="10.

truncate

The length of the title in the accordion. The title won't overlap (yet) so you should truncate to fit titles in each accordion container.

cache

If Simple Cache is installed you may cache the results. This is a sensible idea as it minimises the load of your DB.

Change Log

Version 0.1, July 20, 2021
Initial basic plugin. Intended mainly to demonstrate how Belief's FAQ system is used.

  • Initial: New plugin. Returns a simple accordion of posts or any post category with shortcode. Use

    No articles to show.

    . Refer plugin page for usage details.

Download

Please note that the BeliefMedia Core plugin is required before this plugin will activate or function.


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)

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

  E. Australia Standard Time [ UTC+10, Default ] [ CHECK TO CHANGE ]

  Want to have a chat?
 
Share on Facebook
Share on Twitter
Share on Linkdin
Share on Pinterest