404 page - add a bit more - widgets

Hi

I see that the GreatMag theme includes this in the 404 template:

<?php the_widget( 'Athemes_Posts_Carousel' ); ?>

I’m about to take the dev site live to replace the old, and I’m wondering if you could tell me any other things I could put here as well - thinking the widgets.

The more the merrier!

Thanks,

Oliver

Hello Oliver,

You can display any widget with the_widget function. Check this documentation for guide on how to use it.

The widgets will be displayed only if they’re registered either in Greatmag or active plugins.

For default widgets of Greatmag, see the classes in Greatmag theme’s widgets folder.

You would do this in a child theme mode. So you won’t lose your modifications whenever you perform theme update.

Regards,
Kharis
aThemes Support