Display Posts Shortcode
-
I love the idea of the Display Posts Shortcode. I have many recipes and manually have to add links to them under categories as the title to my posts are not the names of the recipes. As I think I get more readers with catchy titles, I don’t want to change that. Is there a code I can put into the post surrounding the recipe title that I can use something like the Display Posts Shortcode to pull into a list automatically by category?
The blog I need help with is: (visible only to logged in users)
-
Support doc on the shortcode:
http://en.support.wordpress.com/display-posts-shortcode/For an alphabetical list of links to all the posts that are filed under a specific category, you paste this version in a page (plain list):
[display-posts category="NAME" posts_per_page="-1" order="ASC" orderby="title" wrapper="div"]
or this version (bulleted list):
[display-posts category="NAME" posts_per_page="-1" order="ASC" orderby="title"]Replace NAME with the actual name of a category.
-
Thank you but I am looking to display not the title of the blog post, but something within it. So if I mark text within the post as a header or some other thing, can I display that instead of the blog title?
-
- The topic ‘Display Posts Shortcode’ is closed to new replies.