Thank you, t-p, but no, those don’t address the real problem. What I need is flexibility in applying the tools that come with WordPress. Most website owners are not software developers, and they absolutely need solutions that don’t involve writing code in PHP, JavaScript, jQuery, or in many cases even CSS. I don’t understand why Query Loop doesn’t support this formatting option. Maybe I’m atypical, but I find I need lists of posts and pages all the time, for use in widgets and to include on-site resources in page bodies (e.g. list of child pages of the current page, like a table of contents of the hierarchy).
I can find plugins that do this, but it seems like a very basic thing that should be included and EASY to do in the core platform, without cracking the virtual spine of a coding manual.
Perhaps this block would be what you are looking for: https://wordpress.org/documentation/article/latest-posts-block/
However, I also wonder what you want to achieve with the list. Is it just a list of non-clickable titles? What purpose does it have? If they were clickable to reach the detail page (as with the above block) I would still understand the purpose.
Thanks for your reply, threadi. I generally would want to have the page/post titles be links to the page or post, yes. The purpose is navigation to related information.
The Latest Posts block addresses a small subset of the use cases. Notably, it only supports lists of posts, not pages, and the selection criteria and options even for posts is pretty limited. For instance I can’t select posts by tag, can’t sort by menu order, can’t specify links to open in new tab, have no paging controls (or options to control the paging controls if there were any).
So the Query Loop is much closer to giving me what I need — it really only needs to have the ability to format the results as a list rather than an outline with headers. Some custom CSS is acceptable, though as I said, a lot of users would really prefer to avoid even that.
A couple sample use cases:
- The list of child pages in the body of Start your own FLAG! – Free Little Art Galleries page.
- In the body of a page about how to decorate your tiny art gallery, I want to embed a list of the blog posts that discuss how to create or acquire various types of tiny furniture, from the furniture tag taxonomy.
- A small publisher with a website that uses a custom page type such as that associated with the Mooberry Book manager plugin, might like to write author bio pages and at the end a bullet list of all titles associated with that author (with links to the book page).
-
This reply was modified 1 year, 3 months ago by
Tyler Tork.
-
This reply was modified 1 year, 3 months ago by
Tyler Tork.