I'm trying to figure out how to insert a list of additional posts within a blog post, but I'm drowning in PHP code and widgets! Here's what I'm looking for:
- I need a list of posts with a particular tag to be returned, and I'd like all posts to be listed, not just 5 or 10. The list should consist of clickable post title links.
- I need this list to be embedded in the post itself, not in a sidebar. (And it's posts I'm using, not pages.)
- What I need is similar to the 'Related Posts' thing that I've seen on some blogs, but the list I want will probably NOT be related to the tag of the post currently being displayed. (To clarify, I don't want a list of posts with the same tag as the one users are currently reading. The tag would be different, and I want to be able to hand-code each tag specific to each post).
This seems like it shouldn't be too complicated, but I only have an extremely basic understanding of PHP and I can't find anything that does quite what I want. I've also looked at various plugins, but nothing is quite right. I could easily create a link that would open a search result with all posts with a particular tag, but it's how to embed the results in the post itself?
I have installed a plugin which allows me to insert PHP snippets into my posts, so I was wondering if that might be the best way forward? I'm going to have at least 50 pages that I'll want to use this code on and most of them will need to show different lists. The site is being developed locally at the moment and isn't online yet.
I'm hoping this is simple and that I've just fried my brain with information overload! I'd appreciate any help anyone can offer. Thank you.