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

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:

The term "Mortgage Calculators" is the second most queried term on search engines after "Mortgage Brokers", and the query is often accompanied by a location qualifier (lending itself to local SEO ). What does this mean? It means that if you don't have mortgage calculators on your broker website you're potentially ignoring millions of… [ Learn More ]

Progressive Disclosure is a psychological principle that states a user is less likely to be overwhelmed by information or a system if only a subset of choices is made available to them. Focused around the notion that approachability and ease of use must take precedence over overchoice in order to improve upon user engagement,… [ Learn More ]

In previous articles we've introduced a number of ways in which we return live and always up-to-date bank related data into your mortgage broker website . The most notable, or at least the most popular feature, is the drag-and-drop live bank data widget that renders defined product types into a tidy and fully customisable… [ Learn More ]

Website backups are essential. It doesn't matter how effective your server security is, or how secure your plugins might be, there are teams of criminals that work relentlessly with automated systems to identify and expose vulnerabilities in order to hijack your website with malware and spam to serve their nefarious causes. If some of the… [ Learn More ]

Until recently, our high-performing mortgage broker website included a linear one-row slider of banks to showcase your accredited panel. It wasn't until a brilliant broker in Western Sydney asked for a large image showing all accredited banks that we started to consider how the evolved feature might be used as a conversion element, and… [ Learn More ]

We have linked to this article internally as one that would introduce our understanding and application of Best Interest Duty obligations. Instead, we're going to lean on a recent interaction with a client that went south after we introduced what we considered to be clear breaches of virtually every piece of legislation introduced to protect… [ Learn More ]

The mortgage broker website we provide clients is designed to wrap itself around the programs and features you need in order to succeed online. The powerful finance website is more than just a business card placeholder - it's a completely immersive online experience designed to facilitate a real website funnel that actively support your… [ Learn More ]

We've made our position on unstructured lead generation and pay-per-lead services known in the past: it's our core belief that any business should have the integrated marketing capacity to generate their own business as it's required. This article touches on why any kind of profit-share or commission split with a marketing company is… [ Learn More ]

We describe our mortgage broker website as the chameleon of the website world because it morphs shape based on known traffic. This shape-shifting is a defining feature of our proprietary escalation of commitment methodology that, in part, is responsible for delivering more business than any other competing website, website funnel, marketing funnel, or… [ 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).

Lenders will require you to purchase a rather costly LMI insurance product if they are lending you more than 80 percent of the value of your property (or you have a Loan to Value Ratio of more than 80%). The Loan to Value Ratio (LVR) is the amount you’re borrowing represented as a percentage of… [ Learn More ]

In this article we'll introduce you to our complimentary RBA Cash Rate and Exchange Rate graph WordPress website plugin. We'll also introduce basic graphing features that are built into the BeliefMedia Core plugin - a plugin that's required before any of our other finance plugins may be used. The plugin will return a naked RBA… [ Learn More ]

We talk all the time about how and why the default website we provide mortgage brokers converts far higher than other websites in the market, and how our conversion-optimised website is integral to your marketing funnel, and this article introduces you to one of our more powerful website features that literally changes the digital… [ Learn More ]

This article introduces a single component of Yabber's Tag: broad data integration with your website . In the first of many articles that deal with integrating real-time Australian banking data and information pages into your website, we'll show you how to include a single product panel in any post or page with real-time interest rate… [ Learn More ]

Inflation is an increase in the level of prices of the goods and services that households buy. It is measured as the rate of change of those prices. Typically, prices rise over time, but prices can also fall (a situation called deflation). The most well-known indicator of inflation is the Consumer Price Index (CPI), which… [ 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 [bm_accordion term="category_slug_here"]. 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)
Share on facebook
Share on Facebook
Share on twitter
Share on Twitter
Share on linkedin
Share on Linkdin
Share on pinterest
Share on Pinterest

READY TO HAVE A CHAT? CALL US ANYTIME ON 1300 235 433