Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:public:comments

public/themes/blog/partials/comments.php

Source: public/themes/blog/partials/comments.php · 60 lines, ~127 statements · namespace: (global) · `declare(strict_types=1)`: no


Shared comments section partial.

Renders the comment list container (feed injected via JS) and the “load more” control. It is the single source of truth for the comment section markup; render_comments_section() includes it through the ob_start()/ob_get_clean() capture in functions-comments.php.

Expected variables: \ - $post_id int post id (data attributes) \ - $comment_limit int comments loaded per AJAX batch \ - $total_records int approved comment count (badge) \ - $offset int AJAX pagination offset


Generated by 'tools/gendoc'.

scriptlog/public/comments.txt · Last modified: by admin