Templates, parts and patterns - Melady

Pages, blog and patterns

Templates and parts open in AppearanceEditor. To edit the header, the footer or the phone menu, see How do I edit the header or footer in a block theme?In a block theme the header and the footer are template parts: shared pieces of layout that every template places on the page. You edit each one once in the Site Editor, and the change shows...Full Site Editing

#Templates

Template Used for
Index The posts page: the title All stories, posts as row cards, and the sidebar
All Archives A category, tag, author or date: the name as a large title, the two newest posts large, the rest three to a row
Search Results A dark search bar and each result as a panel; with no results, every topic as a button
Single Posts A post, from its title and cover to the related stories
Pages A page with a large centered title and its cover
Page without title Pages built from patterns, under the header with the category bar
Page without title or category bar The same, under the header without the bar
Page: 404 A full screen with a button to the home page, no header or footer

Pick Page without title or Page without title or category bar in the Template field of a page's sidebar.

#Template parts

Header

The category bar, the logo, the menu, the search button and its panel. From 768px wide the header sticks while the category bar scrolls away.

Header without category bar

The same header without the bar. It scrolls with the page.

Footer

The logo and tagline with social icons, the latest stories, the categories with their counts, and a bottom line with the copyright and a menu.

Mobile menu

The full-screen menu under 992px wide. A submenu opens as its own level with a Back button.

The phone menu open on a narrow screen with the chevron beside About ringed
The phone menu with a submenu chevron.

The header shows the Navigation menu named Header, and the footer the one named Footer. Until those menus exist, each shows a few links of its own. Without a logo, the header shows the site title.

#Patterns

Find them in the inserter under Patterns.

Post cards: Posts as rows, Posts as picture cards, Posts as dark cards, Posts as large cards and Topics as cards. The four post lists are Query Loops you can point at any category.

Blog parts: the pieces the templates are built from, such as Blog title, Blog sidebar, Post header, Share, Author bio, Previous and next post, Related posts and Page not found. Use them to rebuild a template you changed.

Melady Pro adds the sections and page patterns: see Build the home page and the other pages and Sections reference.

Last updated

Was this article helpful?

FIND THE ONE THAT FITS YOUR PROJECT

Import a demo, swap the content, adjust the layout. Modern WordPress under the hood, fast even when the site fills up.