Notifications
Clear all

wpForo 1.x.x [Closed] Shortcode in Posts formating

4 Posts
3 Users
0 Reactions
1,843 Views
Posts: 1602
Topic starter
(@anonymous20)
Noble Member
Joined: 9 years ago

Hello.

When i place a WP shortcode (from other plugins) inside a post and nothing else, there a big empty space above it.

At first i thought it was a specific shortcode from a plugin but it seems that every shortcode is behaving the same.

See the capture for clear example.

Any ideas much appreciated. Thanks

3 Replies
Sofy
Posts: 4848
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi @anonymous20,

This happens because the do_shortcode() function starts when you insert a shortcode into the mail content.

You can disable WordPress Shortcodes in Post Content option from Dashboard > Forums > Settings > Feature admin page, or use some additional symbols with the shortcode. e.g. the ' symbol.

'['shortcode']'
Posts: 1602
Topic starter
(@anonymous20)
Noble Member
Joined: 9 years ago

Hi Robert,

Why disable the shortcode ? I need it !! Or i missed what you mean ?

Also doing this

'['shortcode']'

seems to disable the shortcode ?

Also you mention "mail", i don't use it in any mail. I use it in a Forum Post.

 

 

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

This may be a simple CSS issue, please leave a direct URL to such a post.