DiSyL (Declarative Ikabud Syntax Language) is a revolutionary templating engine that allows you to write themes once and deploy them across WordPress, Joomla, and Drupal.
Why DiSyL?
- 🌐 Universal - One template works across all CMS platforms
- ⚡ Fast - ~0.2ms compilation, optimized rendering
- 🔒 Secure - XSS prevention, input sanitization, security audited
- 💪 Production Ready - 100% test pass rate, 148+ WordPress integrations
- 🧩 Component-Based - Reusable components with manifest architecture
Quick Example
<!-- Simple post query with card layout -->
{ikb_query type=post limit=5 format=card layout=grid-3}
<!-- Dynamic query with runtime placeholders -->
{ikb_query type={GET:type} limit={GET:limit} format=card}
<!-- Conditional content -->
{ikb_query type=post if="category=news" limit=10}
<!-- Using filters for fallback values -->
<h1>{post_title | default:"Untitled Post"}</h1>
<p>{post_excerpt | default:"No excerpt available" | truncate:150}</p>
<!-- Expression interpolation -->
<div class="post-meta">
<span>By </span>
<span>Published: {post_date | date:"F j, Y"}</span>
</div>
Real-World Theme Example
<!-- header.disyl -->
<header class="site-header">
<div class="container">
<h1></h1>
<nav>{ikb_menu location="primary"}</nav>
</div>
</header>
<!-- home.disyl -->
{ikb_include file="header.disyl"}
<main class="site-content">
<section class="hero">
<h2>Welcome to </h2>
<p></p>
</section>
<section class="posts">
{ikb_query type=post limit=6 format=card layout=grid-3}
</section>
</main>
{ikb_include file="footer.disyl"}
DiSyL Features
- 📝 Expressions -
,{function()},{GET:param} - 🔧 Filters -
{value | filter:arg}for data transformation - 📦 Components - Reusable UI components with props
- 🔄 Includes - Template composition with
- 🎯 Conditionals -
if="condition"for dynamic content - 📊 Layouts - Pre-built layouts (grid, list, masonry)
- 🎨 Formats - Card, list, table, custom formats
Learn More
- DiSyL Complete Guide - Comprehensive documentation
- DiSyL Best Practices - Official style guide
- Component Catalog - Available components
- Conversion Examples - WordPress/Joomla/Drupal → DiSyL
- API Reference - Complete API docs