Skip to content
Available for new work
Pages in Blog

ReferencePremium

CoullWorks Blog for Magento 2 layout and template reference

The layout handles, overridable template files and storefront routes, with CSP and translation notes.

Updated 16 November 2026Back to the package pageBuy

Storefront layout handles#

HandleFileWhat it is
catalogsearch_result_indexview/frontend/layout/catalogsearch_result_index.xmlThe Magento catalogue search results page, extended to show blog matches.
coullworks_blog_archive_viewview/frontend/layout/coullworks_blog_archive_view.xmlThe monthly archive page.
coullworks_blog_author_viewview/frontend/layout/coullworks_blog_author_view.xmlAn author page.
coullworks_blog_category_viewview/frontend/layout/coullworks_blog_category_view.xmlA category page.
coullworks_blog_comment_threadview/frontend/layout/coullworks_blog_comment_thread.xmlThe comment thread fragment.
coullworks_blog_comment_unsubscribeview/frontend/layout/coullworks_blog_comment_unsubscribe.xmlThe page a reader lands on after unsubscribing from reply emails.
coullworks_blog_index_indexview/frontend/layout/coullworks_blog_index_index.xmlThe blog home page.
coullworks_blog_listingview/frontend/layout/coullworks_blog_listing.xmlThe shared listing layout used by the home, category, tag, author and archive pages.
coullworks_blog_post_previewview/frontend/layout/coullworks_blog_post_preview.xmlThe preview of an unpublished post.
coullworks_blog_post_viewview/frontend/layout/coullworks_blog_post_view.xmlA post page.
coullworks_blog_post_view_railview/frontend/layout/coullworks_blog_post_view_rail.xmlThe rail beside a post (table of contents and sharing).
coullworks_blog_search_indexview/frontend/layout/coullworks_blog_search_index.xmlThe blog search results page.
coullworks_blog_seoview/frontend/layout/coullworks_blog_seo.xmlThe SEO head output shared by blog pages.
coullworks_blog_tag_viewview/frontend/layout/coullworks_blog_tag_view.xmlA tag page.
defaultview/frontend/layout/default.xmlThe default handle: loads the blog's shared styles and scripts on every page.

Admin layout handles#

HandleFileWhat it is
coullworks_blog_ai_history_indexview/adminhtml/layout/coullworks_blog_ai_history_index.xmlThe admin layout of the AI research history page.
coullworks_blog_ai_queue_indexview/adminhtml/layout/coullworks_blog_ai_queue_index.xmlThe admin layout of the AI bulk queue page.
coullworks_blog_ai_refresh_indexview/adminhtml/layout/coullworks_blog_ai_refresh_index.xmlThe admin layout of the Refresh with AI page.
coullworks_blog_ai_wizard_indexview/adminhtml/layout/coullworks_blog_ai_wizard_index.xmlThe admin layout of the AI Writer wizard page.
coullworks_blog_author_editview/adminhtml/layout/coullworks_blog_author_edit.xmlThe admin layout of the edit form of the author screen.
coullworks_blog_author_indexview/adminhtml/layout/coullworks_blog_author_index.xmlThe admin layout of the grid of the author screen.
coullworks_blog_author_newview/adminhtml/layout/coullworks_blog_author_new.xmlThe admin layout of the new form of the author screen.
coullworks_blog_category_editview/adminhtml/layout/coullworks_blog_category_edit.xmlThe admin layout of the edit form of the category screen.
coullworks_blog_category_indexview/adminhtml/layout/coullworks_blog_category_index.xmlThe admin layout of the grid of the category screen.
coullworks_blog_category_newview/adminhtml/layout/coullworks_blog_category_new.xmlThe admin layout of the new form of the category screen.
coullworks_blog_comment_editview/adminhtml/layout/coullworks_blog_comment_edit.xmlThe admin layout of the edit form of the comment screen.
coullworks_blog_comment_indexview/adminhtml/layout/coullworks_blog_comment_index.xmlThe admin layout of the grid of the comment screen.
coullworks_blog_import_indexview/adminhtml/layout/coullworks_blog_import_index.xmlThe admin layout of the grid of the import screen.
coullworks_blog_import_reportview/adminhtml/layout/coullworks_blog_import_report.xmlThe admin layout of the report page of the import screen.
coullworks_blog_licence_lockedview/adminhtml/layout/coullworks_blog_licence_locked.xmlThe admin layout of the screen shown when the licence is locked of the licence screen.
coullworks_blog_post_editview/adminhtml/layout/coullworks_blog_post_edit.xmlThe admin layout of the edit form of the post screen.
coullworks_blog_post_indexview/adminhtml/layout/coullworks_blog_post_index.xmlThe admin layout of the grid of the post screen.
coullworks_blog_post_newview/adminhtml/layout/coullworks_blog_post_new.xmlThe admin layout of the new form of the post screen.
coullworks_blog_tag_editview/adminhtml/layout/coullworks_blog_tag_edit.xmlThe admin layout of the edit form of the tag screen.
coullworks_blog_tag_indexview/adminhtml/layout/coullworks_blog_tag_index.xmlThe admin layout of the grid of the tag screen.
coullworks_blog_tag_newview/adminhtml/layout/coullworks_blog_tag_new.xmlThe admin layout of the new form of the tag screen.

Page Builder form layout handles#

HandleFileWhat it is
pagebuilder_coullworks_blog_banner_bleed_formview/adminhtml/layout/pagebuilder_coullworks_blog_banner_bleed_form.xmlThe Page Builder form of the banner bleed content type.
pagebuilder_coullworks_blog_banner_constrained_formview/adminhtml/layout/pagebuilder_coullworks_blog_banner_constrained_form.xmlThe Page Builder form of the banner constrained content type.
pagebuilder_coullworks_blog_banner_full_formview/adminhtml/layout/pagebuilder_coullworks_blog_banner_full_form.xmlThe Page Builder form of the banner full content type.
pagebuilder_coullworks_blog_callout_formview/adminhtml/layout/pagebuilder_coullworks_blog_callout_form.xmlThe Page Builder form of the callout content type.
pagebuilder_coullworks_blog_code_formview/adminhtml/layout/pagebuilder_coullworks_blog_code_form.xmlThe Page Builder form of the code content type.
pagebuilder_coullworks_blog_cta_formview/adminhtml/layout/pagebuilder_coullworks_blog_cta_form.xmlThe Page Builder form of the cta content type.
pagebuilder_coullworks_blog_embed_formview/adminhtml/layout/pagebuilder_coullworks_blog_embed_form.xmlThe Page Builder form of the embed content type.
pagebuilder_coullworks_blog_faq_formview/adminhtml/layout/pagebuilder_coullworks_blog_faq_form.xmlThe Page Builder form of the faq content type.
pagebuilder_coullworks_blog_figure_formview/adminhtml/layout/pagebuilder_coullworks_blog_figure_form.xmlThe Page Builder form of the figure content type.
pagebuilder_coullworks_blog_gallery_formview/adminhtml/layout/pagebuilder_coullworks_blog_gallery_form.xmlThe Page Builder form of the gallery content type.
pagebuilder_coullworks_blog_products_formview/adminhtml/layout/pagebuilder_coullworks_blog_products_form.xmlThe Page Builder form of the products content type.
pagebuilder_coullworks_blog_quote_formview/adminhtml/layout/pagebuilder_coullworks_blog_quote_form.xmlThe Page Builder form of the quote content type.
pagebuilder_coullworks_blog_section_formview/adminhtml/layout/pagebuilder_coullworks_blog_section_form.xmlThe Page Builder form of the section content type.
pagebuilder_coullworks_blog_table_formview/adminhtml/layout/pagebuilder_coullworks_blog_table_form.xmlThe Page Builder form of the table content type.
pagebuilder_coullworks_blog_toc_formview/adminhtml/layout/pagebuilder_coullworks_blog_toc_form.xmlThe Page Builder form of the toc content type.
pagebuilder_coullworks_blog_video_formview/adminhtml/layout/pagebuilder_coullworks_blog_video_form.xmlThe Page Builder form of the video content type.

Storefront template files#

Copy a file into your theme at the same path under CoullWorks_Blog/templates/ to override it.

TemplateWhat it renders
post/hero.phtmlHero image block of a post.
post/kicker.phtmlCategory kicker above the title.
post/byline.phtmlByline: author, published date, "Updated <date>", "<n> min read".
post/footer.phtmlTags and "More posts" previous/next.
common/card.phtmlListing card.
common/row.phtmlListing row (list mode).
common/pager.phtmlPager (Pagination nav).
common/crumbs.phtmlBreadcrumb nav.
listing/page.phtmlListing page: title, intro, category chips, cards or rows, pager, empty state "No posts here yet".
search/results.phtmlBlog search results page.
search/from-blog.phtml"From the blog" section.
search/products-row.phtmlProducts row on article search.
search/algolia-source.phtmlAlgolia source config for the header dropdown.
seo/head.phtmlSEO head output (canonical, hreflang, prev/next, Open Graph, Twitter, JSON-LD).
content/takeaways.phtmlKey takeaways aside.
content/ai-disclosure.phtmlAI disclosure line.
comments/section.phtmlComments section (Load comments for Disqus/Facebook; "Comments are closed"; "Log in to comment.").
comments/thread.phtmlComment thread (Reply, Earlier/Later comments, "Be the first to comment").
comments/form.phtmlComment form.
comments/recaptcha.phtmlreCAPTCHA wrapper.
comments/unsubscribed.phtmlUnsubscribed confirmation.
widget/category-tree.phtmlCategory tree widget.
widget/recent-posts.phtmlRecent posts widget.
widget/tags.phtmlTags widget.
widget/archive.phtmlMonthly archive widget.
widget/search.phtmlSearch box widget.

Storefront routes#

RouteBehaviour
Add comment (AJAX, JSON)Params post_id, parent_id, name, email, content, notify_on_reply, website_url (honeypot), token (timing), g-recaptcha-response; 400 for a field problem or a spam refusal, 429 for the rate limit, 403 for closed comments, guests not allowed or a bad form key; replies JSON status approved or pending. Layout handle: n/a.
Comment timing token (JSON)Returns {"token": "..."}; 404 when the post is not visible. Layout handle: n/a.
View beacon (204)Counts a post view unless the user agent matches "Ignore Views From These User Agents"; sent by view-beacon.js. Layout handle: n/a.
Frontend widgetscode.js (Prism highlight + copy), embed.js (click to load), gallery.js (lightbox), toc.js (headings list), video.js (facade), article.js (progress bar, scroll spy, On this page), comments.js (AJAX comments), share-copy.js, view-beacon.js, algolia-articles.js, form-mini-mixin.js (header search dropdown). Prism is third-party (THIRD-PARTY-LICENSES.md).

Security, translations and scripts#

  • Content Security Policy whitelist: Allows .disqus.com, .disquscdn.com, connect.facebook.net, .facebook.com, .fbcdn.net in script-src, style-src, connect-src, frame-src and img-src for Disqus/Facebook comments.
  • i18n/en_US.csv: 646 translatable phrases in core (en_US source language file) and 23 in the GraphQL add-on; no other locale ships. Admin labels, storefront strings and email text are all translatable.

Available for new work

UK based · PHP · Python · JS · TS. Every first call is free.