invoking shortcode in post
-
I am trying to get the hang of invoking shortcode in blog posts. I tried inserting
<code>[display-posts tag="story" posts_per_page="20"]</code>
at the start of a blog post. The first thing I noticed was that TinyMCE had conveniently bracketed my code with<p></p>
. The end result was the text [display-posts tag=”story” posts_per_page=”20″] was inserted at the start of the post. I tried this both with and without the<code></code>
brackets. Obviously I am doing something wrong. Is the display-posts shortcode currently included with the latest iteration of wordpress?The blog that I am experimenting with is hosted locally on my home computer with MAMP.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘invoking shortcode in post’ is closed to new replies.