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! 🎄
Actually I have 4 questions;
1)How do I set pictures on the entire forum to display as a normal picture instead of displaying as a file format.
2) Is there a way I can display total views of all topics on the forum's statistics panel?
3) How do I make font post font to be set at 12pt by default?
4) How do I remove the panel attached below.
Hi @zazzy,
1) How do I set pictures on the entire forum to display as a normal picture instead of displaying as a file format.
wpForo supports image URL auto-embed:
I'd suggest you read Robert's answer in this support topic:
This support topic also should be helpful, please check it out:
Also please read this support topic it also should be helpful:
2) Is there a way I can display total views of all topics on the forum's statistics panel?
Please read this support topic:
https://wpforo.com/community/how-to-and-troubleshooting-2/remove-post-view-count/#post-20398
3)How do I make font post font to be set at 12pt by default?
The option is located in Dashboard > Forums > Settings > Styles admin page.
More info here:
https://wpforo.com/docs/root/wpforo-settings/style-settings/
4) How do I remove the panel attached below.
I don't follow you. Do you mean disabling the whole buttons?
For one (1), there is a solution provided here if you did a little search.
But anyways, here it comes ready for you. Add this to your THEME functions.
add_filter('wpforo_content_after', 'wpforo_default_attachment_image_embed', 11);
function wpforo_default_attachment_image_embed($content)
{
if (preg_match_all('|<a class=\"wpforo\-default\-attachment\" href\=\"([^\"\']+)\"[^><]*>.+?<\/a>|is', $content, $data, PREG_SET_ORDER)) {
foreach ($data as $array) {
if (isset($array[1])) {
$file = $array[1];
$e = strtolower(substr(strrchr($file, '.'), 1));
if ($e == 'jpg' || $e == 'jpeg' || $e == 'png' || $e == 'gif') {
$filename = explode('/', $file);
$filename = end($filename);
$html = '<a href="' . esc_url($file) . '" target="_blank"><img class="wpforo-default-image-attachment" src="' . esc_url($file) . '" alt="' . esc_attr($filename) . '" title="' . esc_attr($filename) . '" /></a>';
$content = str_replace($array[0], $html, $content);
}
}
}
}
return $content;
}
Also if you want to have Youtube auto-embed, also add this to your THEME's functions file:
add_filter('wpforo_content_after', 'wpforo_custom_video_embed', 10);
function wpforo_custom_video_embed($content)
{
$paterns = array();
$paterns[] = "/<a[^><]+>\s*[a-zA-Z\/\/:\.]*youtube.com\/watch\?v=([a-zA-Z0-9\-_]+)([a-zA-Z0-9\/\*\-\_\?\&\;\%\=\.]*)/i";
$paterns[] = "/<a[^><]+>\s*[a-zA-Z\/\/:\.]*youtu.be\/([a-zA-Z0-9\-_]+)([a-zA-Z0-9\/\*\-\_\?\&\;\%\=\.]*)/i";
$content = preg_replace($paterns, "<iframe width=\"420\" height=\"280\" src=\"//www.youtube.com/embed/$1\" frameborder=\"0\" allowfullscreen></iframe>", $content);
return $content;
}
