Inline Subpage List Plugin

Wow, what a mouthful. This plugin allows the listing of subpages of any parent/root page (not necessarily the page you are on). For example, this is a post, not a page, yet below are the subpage listings for two different parent documents (demo, and my book).

The plugin is based on the Inline Posts by Aral Balkan, and is formatted very similarly. In the inline posts plugin, to include the page/post inline within the current page/post, you simply place the desired page/post ID within double square brackets, like this: [[10]]

With this plugin, however, you do the same but include a minus sign (if you do not want to have the parent page title appear at the top of the list), or a plus sign (if you do want the parent page title to appear).

ie, you use: [[+10]] or [[-10]]

As demonstrated below, we can see the pages under the “Demo” root:

And to include the parent page title, we use the plus sign version and it appears thus:


We can include any root or parent page that has sub pages, and here are the chapters of my fictitious book:

Would you like to buy a copy? 😉

At present, this plugin is still in development, I really don’t like the formatting at this point. Feel free to comment and I may be inclined to speed up it’s release.

Posted in plugins | Leave a comment

Subpages widget

Alper Haytabay had created a subpages widget that was pretty much exactly what I was after (for another site I was working on). I found one flaw that prevented the widget from displaying nicely. In fact, the flaw didn’t appear to come from the widget but rather some other anomaly I could not determine the origin of.

The problem only occurs when the widget is displayed in it’s own sidebar. If there are no sub-pages to the current page the sidebar (which should be empty – and hence not displayed) appears. I could not seem to find a way to override this so I created a little addition to the existing code. If there are no subpages, display a small (user-defined) tagline instead. I made one other change to include this widget on all pages/posts so that if there are no subpages, the tagline will always be present.

For example, the tagline appears above the search box in the sidebar. IF you visit one of the demo pages, you will see the widget in all it’s glory.

The widget (my version) can be found here: subpages-widget

Posted in plugins, widgets | Tagged , , , | 1 Comment

Yet another Wordpress site!

I know, I know…. There’s plenty of wordpress sites out there, and I don’t really want to be another one. But (there’s always a but), I created this primarily as a placeholder for my own thoughts and ideas, as well as a repository for my own widgets, plug-ins and page templates as I see fit.

Posted in general | Leave a comment