WordPress Style Book

Explore Our WooCommerce Style Guide

See the the use of WordPress blocks within the LSX Design Theme. This guide provides an in-depth look at how to utilize various blocks for content creation, from basic text and image layouts to complex column and group structures. Ideal for both beginners and seasoned developers, our style book equips you with the tools to craft engaging and responsive pages that resonate with your audience.

Examples


Heading block

Introduce new sections and organise content to help visitors (and search engines) understand the structure of your content.


H1 Heading

H2 Heading

H3 Heading

H4 Heading

H5 Heading
H6 Heading

Paragraph block

Start with the basic building block of all narrative.


This is a default paragraph block with default settings.

This is a paragraph block with a footnote1.

List block

Create a bulleted or numbered list.


  • This is an unordered list block
  • This is an unordered list block
  1. This is an ordered list block
  2. This is an ordered list block
  1. This is an ordered list block
  2. This is an ordered list block
  1. This is an ordered list block
  2. This is an ordered list block

Quote block

Give quoted text visual emphasis.


The Quote Block gives quoted text visual emphasis.

Ash Shaw
CEO, LightSpeed

Pull Quote block

Give quoted text visual emphasis.


Give special visual emphasis to a quote from your text.

Ash Shaw

Code block

Display code snippets that respect your spacing and tabs.


<?php
// Theme setup function
function mytheme_setup() {
    add_theme_support('post-thumbnails'); // Support for featured images

    register_nav_menus(array(
        'primary' => __('Primary Menu', 'mytheme')
    )); // Custom navigation menu
}

// Hook the setup function into WordPress's 'after_setup_theme' action
add_action('after_setup_theme', 'mytheme_setup');
?>

Details block

Hide and show additional content.


Default details block

WordPress themes are essential for styling and structuring a website. Themes control the layout, colors, fonts, and other visual elements, creating a cohesive appearance.

Customization Options:

  • Themes Directory: Choose from thousands of free and premium themes.
  • CSS Styling: Customize fonts, colors, and spacing.
  • Theme Functions: Themes can include features such as menus, widgets, and page templates.

Expand your knowledge on how themes can transform your WordPress site.

Default details block open by default

WordPress themes are essential for styling and structuring a website. Themes control the layout, colors, fonts, and other visual elements, creating a cohesive appearance.

Customization Options:

  • Themes Directory: Choose from thousands of free and premium themes.
  • CSS Styling: Customize fonts, colors, and spacing.
  • Theme Functions: Themes can include features such as menus, widgets, and page templates.

Expand your knowledge on how themes can transform your WordPress site.

Details block with arrow

WordPress themes are essential for styling and structuring a website. Themes control the layout, colors, fonts, and other visual elements, creating a cohesive appearance.

Customization Options:

  • Themes Directory: Choose from thousands of free and premium themes.
  • CSS Styling: Customize fonts, colors, and spacing.
  • Theme Functions: Themes can include features such as menus, widgets, and page templates.

Expand your knowledge on how themes can transform your WordPress site.

Another details block with arrow

WordPress themes are essential for styling and structuring a website. Themes control the layout, colors, fonts, and other visual elements, creating a cohesive appearance.

Customization Options:

  • Themes Directory: Choose from thousands of free and premium themes.
  • CSS Styling: Customize fonts, colors, and spacing.
  • Theme Functions: Themes can include features such as menus, widgets, and page templates.

Expand your knowledge on how themes can transform your WordPress site.

Preformatted block

Add text that respects your spacing and tabs, and also allows styling.


This is a Preformatted Block in WordPress.

- This block retains formatting, such as spaces and line breaks.
- It's useful for displaying code snippets, poetry, or any text needing specific formatting.
- You can customize its style through CSS, changing font, color, or background.

Preformatted text is valuable when precision matters!

Pull Quote block

Give special visual emphasis to a quote from your text.


Pull Quotes give special visual emphasis to a quote from your text.

Ash Shaw

Table block

Create structured content in rows and columns to display information.


Header Label: Column 1Header Label: Column 2Header Label: Column 3
ValueValueValue
ValueValueValue
ValueValueValue
ValueValueValue
Footer LabelFooter LabelFooter Label
This is a table caption

Verse block

Insert poetry. Use special spacing formats. Or quote song lyrics.


WordPress,
a platform of creation,
where themes weave together,
content like a tapestry.

Examples


Image block

Display multiple images in a rich gallery.


Display multiple images in a rich gallery.


Audio

Embed a simple audio player.


Cover block

Add an image or video with a text overlay.


Cover block text

File block

Introduce new sections and organise content to help visitors (and search engines) understand the structure of your content.


Media & Text block

Set media and words side–by–side for a richer layout.


WordPress themes are essential for styling and structuring a website. Themes control the layout, colors, fonts, and other visual elements, creating a cohesive appearance.

Customization Options:

  • Themes Directory: Choose from thousands of free and premium themes.
  • CSS Styling: Customize fonts, colors, and spacing.
  • Theme Functions: Themes can include features such as menus, widgets, and page templates.

Video block

Embed a video from your media library or upload a new one.


Examples


Buttons block

Prompt visitors to take action with a group of button-style links.


Columns block

Display content in multiple columns, with blocks added to each column. A single column within a columns block.


Column

Paragraph text

  • First bullet
  • Second bullet
  • Third bullet

Column

Paragraph text

  • First bullet
  • Second bullet
  • Third bullet

Column

Paragraph text

  • First bullet
  • Second bullet
  • Third bullet

Group block

Gather blocks in a container.


Paragraph in a group

Paragraph in a group

Stack block

Arrange blocks vertically.


Paragraph in a stack

Paragraph in a stack

Row block

Arrange blocks horizontally.


Paragraph in a row

Paragraph in a row

Separator block

Create a break between ideas or sections with a horizontal separator.



Widgets

Note

Purpose

Add description.

Characteristics

  • Bullet
  • Bullet

Usage

  • Bullet
  • Bullet

Documentation

Widget blocks

Examples


Archives block

Embed a video from your media library or upload a new one.


Calendar block

A calendar of your site’s posts.


February 2025
M T W T F S S
 12
3456789
10111213141516
17181920212223
2425262728  

Category list block

Embed a video from your media library or upload a new one.


Custom HTML block

Embed a video from your media library or upload a new one.


Latest comments block

Embed a video from your media library or upload a new one.


Latest posts block

Embed a video from your media library or upload a new one.


RSS block

Display entries from any RSS or Atom feed.


RSS Error: A feed could not be found at `https://lightspeedwp.agency/`; the status code is `200` and content-type is `text/html; charset=UTF-8`

Search block

Help visitors find your content.


Shortcode block

Embed a video from your media library or upload a new one.


Social Icons block

Display icons linking to your social media profiles or sites.


Tag cloud block

A cloud of your most used tags.


Blocks Tester Test tag

Theme

Note

Purpose

Add description.

Characteristics

  • Bullet
  • Bullet

Usage

  • Bullet
  • Bullet

Documentation

Theme blocks

Examples


Navigation block

A collection of blocks that allow visitors to get around your site. Add a submenu to your navigation. Add a page, link, or another item to your navigation.


Site Logo block

Display an image to represent this site. Update this block and the changes apply everywhere.


Site Title block

Displays the name of this site. Update the block, and the changes apply everywhere it’s used. This will also appear in the browser title bar and in search results.


LSX Design Demo

Site Tagline block

Describe in a few words what the site is about. The tagline can be used in search results or when sharing on social networks even if it’s not displayed in the theme design.


A WordPress Block Theme with accompanying Figma Design System.

Login/out block

Show login form, login & logout links.


Comments

Note

Purpose

Add description.

Characteristics

  • Bullet
  • Bullet

Usage

  • Bullet
  • Bullet

Example


Comments block

An advanced block that allows displaying post comments using different visual configurations.

  • Displays a title with the number of comments.
  • Contains the block elements used to display a comment, like the title, date, author, avatar and more.
  • Displays a paginated navigation to next/previous set of comments, when applicable.
  • Display a post’s comments form.

2 responses to “WordPress Blocks”

  1. Ash Shaw Avatar

    These are comments relating to the WordPress blocks page.

  2. Ash Shaw Avatar

    This is a reply

Leave a Reply

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

Examples


Query Loop block

An advanced block that allows displaying post types based on different query parameters and visual configurations.


  • Paragraph Block Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris purus urna, vulputate at…


    Post content example below:

    Paragraph Block

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris purus urna, vulputate at convallis hendrerit, mattis id mi. Nulla mauris justo, sodales vitae sodales nec, fermentum at elit. Proin condimentum risus sed venenatis mollis. Donec auctor euismod sodales. Donec sodales congue metus, sit amet tempor odio maximus in. Ut vestibulum nisl a maximus scelerisque. Donec aliquam eleifend metus, eget iaculis ante vestibulum id. Nulla facilisi. Nullam interdum sagittis accumsan. Phasellus egestas elementum enim nec condimentum. Sed mattis purus odio. Curabitur vehicula rutrum porttitor. Phasellus tempus dui id turpis fermentum, auctor dictum mauris mollis.

    Header 1

    Header 2

    Header 3

    Header 4

    Header 5
    Header 6

    Image Block

    A pretty unicorn

    List Block

    • List Item One
    • List Item Two
    • List Item Three
    1. List Item One
    2. List Item Two
    3. List Item Three

    Quote Block

    This is a quote block. It’s aligned to the side at least in the default styles. Pretty darn amazing.

    Laurel Fulford

    Large Quote Block

    Use the force, Luke.

    Obi-Wan Kenobi

    Audio Block

    Tom Raftery interviews Matt Mullenweg and Donncha Ó Caoimh

    Cover Image Block

    This is a cover image block.

    File Block

    Video Block

    Now that’s a fun animation!
  • Welcome to image alignment! The best way to demonstrate the ebb and flow of the…


    Post content example below:

    Welcome to image alignment! The best way to demonstrate the ebb and flow of the various image positioning options is to nestle them snuggly among an ocean of words. Grab a paddle and let’s get started.

    On the topic of alignment, it should be noted that users can choose from the options of NoneLeftRight, and Center. In addition, they also get the options of ThumbnailMediumLarge & Fullsize.

    The image above happens to be centered.

    The rest of this paragraph is filler for the sake of seeing the text wrap around the 150×150 image, which is left aligned.

    As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we’ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it’s thang. Mission accomplished!

    And now for a massively large image. It also has no alignment.

    The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.

    And now we’re going to shift things to the right align. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there… Hey guy! Way to rock that right side. I don’t care what the left aligned image says, you look great. Don’t let anyone else tell you differently.

    In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty. Yeah… Just like that. It never felt so good to be right.

    The following image is wide (if the theme supports it, that is). If not, who knows what will happen!

    What’s that? You wanted to see a full-width image block? Well then feast your eyes on the following.

    There’s something missing! But don’t worry, we’ve got the cover image blocks… covered.

    This is a regular cover image.

    This is a wide cover image.

    This is a full-width cover image.

    And just when you thought we were done, we’re going to do them all over again with captions!

    Look at 580×300 getting some caption love.

    The image above happens to be centered. The caption also has a link in it, just to see if it does anything funky.

    Itty-bitty caption

    The rest of this paragraph is filler for the sake of seeing the text wrap around the 150×150 image, which is left aligned.

    As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we’ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it’s thang. Mission accomplished!

    And now for a massively large image. It also has no alignment.

    Massive image comment for your eyeballs.

    The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.

    Feels good to be right all the time.

    And now we’re going to shift things to the right align. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there… Hey guy! Way to rock that right side. I don’t care what the left aligned image says, you look great. Don’t let anyone else tell you differently.

    In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty. Yeah… Just like that. It never felt so good to be right.

    We’re gonna take one more trip down cover image lane.

    The unicorn is a legendary creature that has been described since antiquity as a beast with a single large, pointed, spiraling horn projecting from it’s forehead. In European folklore, the unicorn is often depicted as a white horse-like or goat-like animal with a long horn and clove hooves.

    In the Middle Ages and Renaissance, it was commonly described as an extremely wild woodland creature, a symbol of purity and grace, which could be captured only by a virgin.

    This wide cover image background is fixed.

    And that’s a wrap, yo! You survived the tumultuous waters of alignment. Image alignment achievement unlocked!

Footnotes

  1. This is an example of a footnote ↩︎