diplay-posts shortcode not working
-
It is listed as a supported shortcode for wordpress.com, but it doesn’t work on my page. Please help.
The blog I need help with is: (visible only to logged in users)
-
-
-
Could you provide more information on your situation? The exact page affected, the results you wanted and the shortcode you used.
To show your shortcode here you may need to use the code button before and after it.
This is the documentation just in case you haven’t seen it:
-
[display-posts tag="canning_recipes" image_size="thumbnail"]This was my most recent attempt on page: https://nysiashomestead.wordpress.com/canning-101-before-you-begin/canning-recipes/
I copied and pasted it from the page you linked to above and modified with my own tag.
The page has some items listed only because i manually added each item. the code is still currently embedded on the page but nothing happens.
-
I have just started looking at it, but am wondering if you are wanting the same result as you would get by using “category pages” (which can also be tags pages.
To see what I mean go to the display that is automatically created of the posts tha use the tag canning-recipes: https://nysiashomestead.wordpress.com/tag/canning-recipes/
The way I differentiate the use of the category or tag “page” is whether I need any text before the post listing. If not, It up is so much easier just to use it. Check out support document on Category Pages and how to add them to your menu. They are so easy to do, you just create your tags (or categories) and connect them to a menu item and there are all your posts under that tag or category.
Category Pages
https://en.support.wordpress.com/category-pages/view-all/Use the Cusom Menu:
https://en.support.wordpress.com/menus/The other thing I have noticed is that the tag canning-recipes has the – hyphen instead of the _ symbol.
That might just be a mistype in your comment here. Did you want an excerpt for the post to display too or just the title and the image?
If the Category (or Tag) pages don’t fit your plan, see if this code Works.
[display-posts include_excerpt="true" tag="canning-recipes" image_size="thumbnail" wrapper="div"] -
-
- The topic ‘diplay-posts shortcode not working’ is closed to new replies.