Notifications
Clear all

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! 🎄

Script [Closed] How to compress a script?

2 Posts
2 Users
0 Reactions
889 Views
Posts: 29
Topic starter
(@moderworks)
Eminent Member
Joined: 7 years ago

Hello,
Please help resolve the issue. How to compress the script: wp-content/plugins/wpforo/assets/js/ajax.js

The problem is in the line:

node.innerHTML = `<i class="fa-solid fa-caret-right"></i>&nbsp; <a href="${topic['url']}" target="_blank">${topic['title']}</a>`;

I use jscompress.com compressor

Compressing scripts is a good practice, now speed is of great importance for google seo.


1 Reply
Chris
Posts: 3610
(@chris)
Famed Member
Joined: 4 years ago

Hi @moderworks,

I'm not familiar with that, you should find yourself a way to do that or hire a Dev who has the needed knowledge.