Hi garf
You’re asking for template customization. wpForo theme files contain the markup and template structure for frontend of your forum. Theme files can be found within the /wpforo/wpf-themes/
directory, in current active theme folder, for example /classic/
. You can edit these files in an upgrade-safe way using overrides. For example, copy the certain or all files of /classic/
folder into a folder within your current active WordPress theme named /wpforo/
, keeping the same file structure.
Example: To override the “Forum Home” template file, copy: plugins/wpforo/wpf-themes/classic/index.php
to themes/yourtheme/wpforo/index.php
The copied file will now automatically override the wpForo default theme file. All changes in this file will not be lost on forum update. So you can add any shortcode in wpForo template files using do_shortcode()
WordPress function. E.g.:
<?php echo do_shortcode('[myshortcode /]') ?>
Do not edit these files within the core plugin itself as they are overwritten during the upgrade process and any customizations will be lost.