Notifications
Clear all

wpForo 1.x.x [Solved] Problem with topic shortcode

8 Posts
3 Users
2 Reactions
1,279 Views
Posts: 73
Topic starter
(@srtalop)
Estimable Member
Joined: 6 years ago

Morning team, when I use the [wpforo item="topic" id="9"] shortcode from here in another page from the site, you can see what happens in the images attach.

Appart from the fact that is not rendering fine, I realised that it includes the sidebars also, not only the topic. Is that normal?

Thanks in advance.

Topic Tags
7 Replies
Sofy
Posts: 4900
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi @srtalop,

Please navigate to Dashboard > Forums > Settings > Feature admin page, set no value for the "Enable Output Buffer" option, delete all caches and check again (press CTRL+F5 on frontend).

3 Replies
(@srtalop)
Joined: 6 years ago

Estimable Member
Posts: 73

Thanks Sofy, could you please add a screenshot? Due to the translations, I cannot manage to find this option. Thanks in advance.

Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 4900

Sure here it is: 

You can find it just under the "Enable wpForo Font-Awesome Lib" option.

(@srtalop)
Joined: 6 years ago

Estimable Member
Posts: 73

Thanks Sofy, please see this page, where I used the [wpforo item="topic" id="9"] shortcode at the bottom. Is there a way to hide the sidebar and forum menu?

Thanks in advance.

Robert
Posts: 10591
Admin
(@robert)
Support Team
Joined: 9 years ago

@srtalop,

Use this CSS code. Put it in black top admin bar > Customize > Additional CSS textarea. Save it, delete all caches and check:

.type-post #wpforo #wpforo-wrap #wpforo-menu{display:none!important;;}
.type-post #wpforo #wpforo-wrap .wpf-breadcrumb{display:none;}
.type-post #wpforo #wpforo-wrap #wpforo-footer{display:none;}
.type-post #wpforo #wpforo-wrap .wpforo-right-sidebar{display:none;}
.type-post #wpforo #wpforo-wrap .wpforo-content{width: 100%;}

 

2 Replies
(@srtalop)
Joined: 6 years ago

Estimable Member
Posts: 73

could you please print screen where? thanks.

Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 4900

Hi @srtalop,

I've found the article, please check it out. Here you can find info on how to easily add the CSS code to Your WordPress Site.

https://www.wpbeginner.com/plugins/how-to-easily-add-custom-css-to-your-wordpress-site/