I created a custom (bog standard WordPress) shortcode. All that the associated function does is to echo a single word of text. I want to insert the shortcode into the middle of a paragraph of text which I created in SiteOrigin Editor. The shortcode is obviously being picked up but the word output by it appears in a paragraph of its own above the paragraph that I wanted it to be in. What am I doing wrong?
How to insert shortcode which outputs inline text into SiteOrigin Editor
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
Sorry, me being stupid, replaced echo with return and all is well.
Hi Dave,
I’m glad you were able to resolve this issue. I’m sorry I wasn’t able to be of assistance this time. Please be sure to post another thread if you have any other questions.