Skip to: Adding custom HTML

Awesome Accordions website

Adding custom HTML

If you want to add your own custom accordion you can add a folder in your active theme folder with your custom template.  The themes are located in the wp-content folder on your root WordPress installation.

theme folder

Open the currently active theme and create a folder named ‘awesome-accordion’. Like in the example using the default WordPress theme – Twenty Seventeen.

create awesome accordion folder

In the folder you just created add a new file named default.php inside this file you can add your new custom layout code:

default theme file

You can add this code in the file to test if it is working:



You should see the text displayed in the frontend where you have the accordion shortcode as shown below:

frontend custom template

This function is designed to first check if there is a custom template in your theme if not the plugin template is loaded.

To get started with creating a custom template for the accordion, you can copy the existing code from the plugin; default template located in the following path inside your plugin files /public/partials/cards/default.php

plugin folder default template

Ready to build better team pages?

Get it for $29.00

What's so awesome about us?

  • Open source

    Our plugins are 100% open source and developed transparently on Bitbucket. Anyone can join the development and contribute.

  • Works with your theme

    Our plugins are carefully crafted to keep your site fast, the html is easy to read and extend and we provide the option to disable js and css files from the settings page.

  • Well documented

    Our plugins are well documented with in our knowledge base. It’s a great way to find instant answers or read tutorials to almost every question!.

  • Excellent support

    All our plugins come with full support. We’re here to help and offer expert advice on how to get the most out of your plugin.

  • Money back garantee

    We have a very simple refund policy. We will try to fix issues first. If we can't, we will definitely give your money back.

  • Regular updates

    We are regularly working to improve the plugin by adding new features, fixing bugs and keeping updated with the latest WordPress version.

Back To Top