WordPress Comment Nesting Unbound

Am experimenting on the threads right now with “reverse nesting.” The effect will show up mainly on busy threads, and I’m still looking at different possibilities for more advanced formatting: For now, I don’t think the impact will be major, visually or practically, since it just means that, when you reach “level 10,” threads will start indenting in the reverse direction. As noted briefly in a prior comment thread, I recently figured out how to “break” the WordPress built-in maximum thread depth of “10.” Actually, I didn’t break anything at all: I’ve applied a perfectly legitimate if rarely exploited “filter” via a WordPress plug-in. Without going into too much detail, what the plug-in1 will initially allow for the WordPress user who installs and activates it is what we’ve had at this site since April, a comment thread at whatever “maximum depth” that continues to supply “reply links” on every comment, allowing commenters to reply in place rather than scroll up to the top of a sub-thread. I’ve only just begun experimenting with another set of possibilities that opening up the max-depth and creating some new CSS classes also make possible. For now, all that I’ve implemented here is reversal of nesting once max-depth has been reached, along with some graphical signaling. Before: wp_nesting_unbound_beforeAfter: wp_nesting_unbound_afterSo: Not a radical change. Saves a little space; may help marginally with a frequently reported bit of “time-traveling” confusion, but won’t eliminate it. Because we read English left to right, other reversals in formatting (comments snaking back in the other direction in an exact mirror reverse pattern, for example) would be visually confusing. I’ll still be exploring some other possibilities – and seeing if someone else comes up with a slicker variation – or can go to status quo ante if we decide that it’s better.


  1. currently a work in progress at GitHub as “WP Nested Comments Unbound” []

Home Page  Public Email  Twitter  Facebook  YouTube  Github   

Writing since ancient times, blogging, e-commercing, and site installing-designing-maintaining since 2001; WordPress theme and plugin configuring and developing since 2004 or so; a lifelong freelancer, not associated nor to be associated with any company, publication, party, university, church, or other institution. 

Posts in this series

0 comments on “WordPress Comment Nesting Unbound

Commenting at CK MacLeod's

We are determined to encourage thoughtful discussion, so please be respectful to others. We also provide a set of Commenting Options - comment/commenter highlighting and ignoring, and commenter archives that you can access by clicking the commenter options button (). Go to our Commenting Guidelines page for more details, including how to report offensive and spam commenting.

    1 Pings/Trackbacks for "WordPress Comment Nesting Unbound"
    1. […] envisioned years ago, implemented in various ways via some custom functions and hackage along the way, I’m proud to announce the uploading of Nested Comments Unbound to the […]

    Commenter Ignore Button by CK's Plug-Ins

    Leave a Reply

    Your email address will not be published. Required fields are marked *


    WordPress Plug-In Notes

    1. Realizing the Commentariat (May 8, 2015)
    2. Child of Mog; Extraordinary Comments (May 25, 2015)
    3. Patronize 'Em: WordPress Draft Post Docket with Subscription and Donation Options (June 9, 2015)
    4. Realizing The Commentariat: Phase 2 (June 22, 2015)
    5. Pseudo-Redacting Spoilerer (July 25, 2015)
    6. Spoiling you some more (August 5, 2015)
    7. Testing Ajaxified Comments - Experiment Halted (August 11, 2015)
    8. New New Since Last Visit Comments Comments (August 16, 2015)
    9. WordPress Comment Nesting Unbound (August 22, 2015)
    10. The Snake Is Implemented (August 25, 2015)
    11. Comments Since Last Visit Reloaded, Reloaded, Testing Post (August 31, 2015)
    12. Comments Since Last Visit, Reloaded, Augmented, Installed, In Two Steps (September 13, 2015)
    13. Coming Soon (I Think!): Author Bios (September 25, 2015)
    14. How to Do Backlinking Footnotes (November 30, 2015)
    15. Who or What Is Using "Commenter Archive" and "commenter-thread"? (February 16, 2016)
    16. Enabling WordPress Press This for HostGator Sites (March 9, 2016)
    17. Linkback Your Xpost: A Simple WordPress Filter Function (March 14, 2016)
    18. Add Amazon Affiliate Tags to WordPress Posts <i>and</i> Comments Automatically (March 19, 2016)
    19. Finding Lost WordPress Widgets after Core Upgrade (March 21, 2016)
    20. Plug-In Away... and the Iron Law of Irony (April 16, 2016)
    21. To o-b or not to o-b (output-buffering in WordPress) - UPDATED (April 24, 2016)
    22. Output-Buffering and Extensible WordPress Plug-Ins (May 21, 2016)
    23. Getting Right with Image Rights: WP Replace Unlicensed and Broken Images Plug-In (June 17, 2016)
    24. Getting Right with Image Rights: Workflow and Major Minor Upgrade (June 27, 2016)
    25. Getting to Better WordPress Twitter oEmbed (June 28, 2016)
    26. An Alliance of Digital Artists (Art and Work in the Age of Instant Reproducibility) (July 8, 2016)
    27. Comparative Page Loads with and without Image Errors (July 14, 2016)
    28. jQuery-Filling an Input Box in WordPress Admin (July 15, 2016)
    29. Drilling a Hole in the Universe with WP_Query in a Shortcode (September 1, 2016)
    30. Troll-Stomping and Other Sensible Things: #WordPress Plug-In Beta Test/Preview (November 12, 2016)
    31. Commenter Ignore Button Preview Video (November 30, 2016)
    32. Is This Solution for Caches vs Cookies Going to Get Me in Trouble? (November 30, 2016)
    33. Commenter Ignore Button 0.99 (December 21, 2016)
    34. Adding wp.media Multiple Image Selection to WordPress Plug-Ins (January 5, 2017)
    35. Working around an Unexplained Failure of WordPress {$taxonomy} Hooks (January 10, 2017)In Progress: Subscribe!
    36. Better Twitter Embeds 2: Stripping the Convo for the Sake of the Convo (February 19, 2017)

    Noted & Quoted

    [E]ven Fox didn’t tout Bartiromo’s big scoops on Trump’s legislative agenda, because 10 months into the Trump presidency, nobody is so foolish as to believe that him saying, “We’re doing a big infrastructure bill,” means that the Trump administration is, in fact, doing a big infrastructure bill. The president just mouths off at turns ignorantly and dishonestly, and nobody pays much attention to it unless he says something unusually inflammatory.On some level, it’s a little bit funny. On another level, Puerto Rico is still languishing in the dark without power (and in many cases without safe drinking water) with no end in sight. Trump is less popular at this point in his administration than any previous president despite a generally benign economic climate, and shows no sign of changing course. Perhaps it will all work out for the best, and someday we’ll look back and chuckle about the time when we had a president who didn’t know anything about anything that was happening and could never be counted on to make coherent, factual statements on any subject. But traditionally, we haven’t elected presidents like that — for what have always seemed like pretty good reasons — and the risks of compounding disaster are still very much out there.

    Comment →

    So, does Mitchell make any money on the work, which has been shared so many times? He uploaded a high-res image of the symbol and granted permission for anyone to use it personally for free. But for those who want to support his work or simply want something readymade, you can also buy T-shirts, sweatshirts, mugs, and journals emblazoned with the symbol through Threadless.“I really just want to spread the image as much as possible and cement it in history,” Mitchell says. “In all honesty, the amount I’ve made from my Threadless shop so far is still less than my hourly rate, so I don’t really see it as a big deal. If you look at my Twitter, half the replies are people wanting to know where they can buy a shirt. Threadless is happy to help them out with that, and so I’m happy to let that happen.”Now that the symbol has flooded our streets and our timelines, Mitchell just has one request: “Impeach this idiot already,” he says.

    Comment →

    This is a Waterloo moment for Trump, the tea party and their alliance. They have been stopped in their tracks not only by Democratic opposition but because of a mutiny within their own ranks. Although never particularly liked or respected, it is now clear that they are no longer feared. The bankruptcy of their ideas and their incompetence have been exposed. Their momentum has been dissipated. Their rejection of political norms has itself been scorned. Our long national nightmare may finally be coming to an end.

    Comment →

    State of the Discussion

    CK MacLeod
    Comments this threadCommenter Archive
    + You filled out your email address as a "mail.com" not "gmail.com." I edited the comment just above, and it's now showing the gravatar associated with [. . .]
    The Video of Our Moment – This is America
    Comments this threadCommenter Archive
    + btw I didn't get the confirmation email and it wasn't in spam. also my icon didn't show up here so if you do restart blogging [. . .]
    The Video of Our Moment – This is America
    CK MacLeod
    Comments this threadCommenter Archive
    + Don't know whether I'll start blogging again, or why exactly this video led me to post again after such a long hiatus. Not sure why you [. . .]
    The Video of Our Moment – This is America

    Extraordinary Comments

    CK's WP Plugins