natejones / wpds

A WordPress digital signage solution that uses Zurb’s Foundation.
http://pixelydo.com/work/wordpress-digital-signage/
GNU General Public License v3.0
105 stars 74 forks source link

Shortcode usage within posts #11

Open CJJKees opened 10 years ago

CJJKees commented 10 years ago

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.

reijm1 commented 10 years ago

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

pgroot91 commented 10 years ago

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

mfernan commented 10 years ago

Hi, I am also looking for a solution.

natejones commented 10 years ago

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() ..