A lot of my content that i need to control the visibility between b2b/ b2c customers contains some shortcodes. For example, i wish to show the bulkorder form only to B2B customers.
Unfortunately I found that if i have any content with shortcodes, the shortcodes wont work and it will spit it out as plaintext.
Thank you for purchasing B2BKing and for reaching out!
The content shortcode has some limitations, but the nested shortcode in your example should work.
When nesting shortcodes inside [b2bking_content], spacing around the inner shortcode can cause it to be output as plain text rather than being processed.
Please try it like this, with no spaces around the inner shortcode:
Unfortunately I found that if i have any content with shortcodes, the shortcodes wont work and it will spit it out as plaintext.
Do you have a workaround?
Hi Dimitri,
Thank you for purchasing B2BKing and for reaching out!
The content shortcode has some limitations, but the nested shortcode in your example should work.
When nesting shortcodes inside [b2bking_content], spacing around the inner shortcode can cause it to be output as plain text rather than being processed.
Please try it like this, with no spaces around the inner shortcode:
Let me know if that works,
Kind regards,
Stefan
All Good now.
After your suggestion to try no whitespace
I realized that running it thru HTML minifier also solves the problem quickly!
Thank!