How to insert shortcode which outputs inline text into SiteOrigin Editor
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?
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
2Sorry, 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.
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.