Thank you for your help @sarina . I am using tutor version 19.0.2. I have enabled the plugin slots like the link you have sent me. However it gives me this result:
I see that it still shows 2 footers, the default one in indigo and my footer. However I want to replace the footer from indigo with mine footer only. The plugin code I have used is as follow:
The reason you’re seeing two footers is due to how the plugin_slots are being defined and used. In the Indigo theme, plugin_slots is already configured to hide the default footer and display the Indigo footer, which uses the ID custom_footer.
From your message, it seems like your plugin is also calling plugin_slots.add_items, instructing the system again to hide the default footer and insert your custom footer into the custom_footer slot. If this is the case, there’s a conflict because:
Summary of the issue:
Both Indigo and your plugin are instructing the system to hide the default footer.
The custom_footer ID is already used by Indigo’s footer.
Your plugin is injecting another footer into the same custom_footer ID, which results in both being rendered there — hence the duplication.
Suggested Solution:
You don’t need to hide the default footer again — Indigo already does that.
Instead, consider hiding or replacing the custom_footer if you want to fully override Indigo’s footer.
Alternatively, you can define your own slot with a unique ID like my_custom_footer, and inject your content there. This will avoid any overlap with Indigo’s implementation.
Also, if possible, could you share where exactly you’re defining plugin_slots.add_items — whether it’s in a separate plugin or within the Indigo plugin itself? A link to your GitHub changes would be helpful for a more accurate solution.
For future questions, just tag the forum topic with tutor-indigo Current Indigo maintainers have subscribed to that tag and will get the notifications.