How to add (text editor) shortcode into php
-
Some of my plugins come with shortcode that can be inserted into the text side of the editor. I can use this no problem, but I would like to be able to insert this into a custom single so that I don’t have to enter it each time.
I’m using this in my single.php
<?php the_content(); ?> <?php endwhile; else : echo '<p>No content found</p>'; endif; ?>
Can I put <!– whatever shortcode –> into the loop somehow on my php file?
Thanks
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘How to add (text editor) shortcode into php’ is closed to new replies.