wpds icon indicating copy to clipboard operation
wpds copied to clipboard

Shortcode usage within posts

Open CJJKees opened this issue 11 years ago • 4 comments

I'm using a plugin to add my own PHP code within a post. The plugin provides me with a shortcode and it works in the footer, but unfortunately not in a specific post. I was wondering if there is a solution for this issue. I also tried to create a specific template with the code, but that wouldn't work as well.

CJJKees avatar Feb 18 '14 15:02 CJJKees

I second above post. How to use shortcodes in posts.

reijm1 avatar Feb 19 '14 10:02 reijm1

Yeah have someone find the solution to use shortcodes in posts?

pgroot91 avatar Mar 20 '14 22:03 pgroot91

Hi, I am also looking for a solution.

mfernan avatar Mar 31 '14 17:03 mfernan

The latest commit should enable [gallery], [caption] and [audio] shortcodes. I'm still working on [video] and [embed].

That said, this is a slippery slope down the path of having content creators accidentally (yet with the best intentions) make your digital signage installation a complete wreck.

If you decide to disable shortcodes, it's simple: Go to index.php --> line 34, and replace . do_shortcode( get_the_content() ) . with . get_the_content() ..

natejones avatar Jul 24 '14 13:07 natejones