Skip to Content

How to Modify Default Themes of AIOS Plugins?

Customizing the default themes of AIOS plugins allows you to tailor the appearance and functionality to better suit your needs. Here’s how you can modify the default themes for various AIOS plugins:

Steps 1

Download the custom theme file from your desired AIOS plugin.

Steps 2

Go to the plugin’s theme folder (e.g., aios-communities, aios-listings, etc.) and copy the theme you want to modify.

  • Make sure that the file structure is organized correctly, with the plugin’s folder located within your theme’s root directory.

For file structure, please look for the plugin’s documentation faq how to create a custom theme.

Steps 3

Modify the functions.php file in the copied theme folder to change the active template URL and directory. For example:

  1. Open the functions.php file in your copied theme folder.

  2. Rename the class name to your modified theme name.

    functions.php
    class aios_communities_archive_page_template_galaxy { // Your custom code here } $aios_communities_archive_page_template_galaxy = new aios_communities_archive_page_template_galaxy();
  3. Find the lines that set the active template URL and directory.

    functions.php
    $this->active_template_url = get_stylesheet_directory_uri() . '/[plugin-folder]/your-modified-theme-folder-name'; $this->active_template_dir = get_stylesheet_directory() . '/[plugin-folder]/your-modified-theme-folder-name';
🚫
Important

Check file structure for the plugin you are modifying to ensure the correct path.

Steps 4

Activate your custom theme in the respective AIOS plugin settings to see your changes take effect.

Steps 5

Start customizing your theme by editing the various files within the plugin’s theme folder. This includes modifying the CSS stylesheets, JavaScript files, and other assets to fit your desired design.

Last updated on