Blocks
Accordion
Show (and hide) content in a listFactbox
Add facts in a wrapped boxFrequently asked questions
List frequently asked questions in an accordion layout. SEO-friendly out of the box with schema support.Files
Downloadable filesGallery
Display multiple images in a rich galleryImage Carousel
Add multiple images in a carouselImage Compare
Compare two images with a dividing sliderInfobox
Add info in a wrapped box with a iconLogo Showcase
Show off logos in a neat gridSelling Points
Display useful information in a neat grid.Statistics
Add a grid of statistics you want to show offSimple Media & Text
Set media and words side-by-side for a richer layout.Section
Wow your readers with a great introduction to your articlesByline
Post author and post infoQuery
Query loop block enhanced, with AJAX loading, filters and pagination.Post Meta Text
Display post meta valuesProduct Hero
Wow your readers with a great introduction to your articlesLead paragraph
Adds a lead paragraph blockLink list
Display one or more links in a neatly organized list.Hero
Wow your readers with a great introduction to your articlesIcon
Displays an icon.Intro Hero
Example block description.Tabs
Display related content in a compact tabTestimonials
Show off your proud customersWrapper
A wrapper block that only returns a wrapper element.Nav Menu
Displays a navigation menu.Spacer
Add custom block spacing between blocks.Featured Content
Add featured content in a layout gridT2 Featured image
Helper block for displaying featured images.Overflow Separator
Position content independently of block bordersState Toggle
Display a button for toggeling visibility for any element; menu, search field, filters etc.Post Dynamic Part
Displays a post label from a post type, meta, term, attribute, static text, or even a custom PHP filter.Mono Hero
Hero block with background image and one content blockHooks
add_filter( 't2/block/args', array, string );
Block arguments
Parameters
- array $args Block arguments.
- string $block_name Block name.
add_filter( 't2/block/$block_name/args', array );
Block arguments
Parameters
- array $args Block arguments.
add_filter( 't2/blocks/available', array );
Available blocks
Parameters
- array $blocks Blocks.