Limited Support
Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.
We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!
Merry Christmas and Happy Holidays! 🎄
Hi there,
I would like to amend the following files:
/home/jdclab/public_html/wp-content/plugins/wpforo/wpf-includes/class-activity.php
by adding an attribute (a class) to an anchor tag.
I tried to use child theme and implement the /class-activity.php/ file to public_html/wp-content/themes/ion-ap3-child/wpforo/wpf-includes/, but no use.
I tried to us js in function by adding the following code to my function.php, but no use:
<script>
jQuery(document).on('ready', function() {
jQuery(".wpf-notification-content a").attr('class', 'push-page'); });
</script>
Can you suggest me a way?
Thanks
Patrick
Hi @pyue6299,
The correct and update-safe way to customize wpForo template file is this:
https://wpforo.com/docs/root/forum-themes/theme-customization/
so do i put class-activity.php to:
/home/jdclab/public_html/wp-content/plugins/wpforo/
Your website seems to only apply to wpforo themes only?