Phoenix Theme

Phoenix is a universal theme that demonstrates DiSyL's true cross-CMS power. Write your theme once, deploy it everywhere.

Key Features

  • 🌐 Universal Compatibility - One codebase for WordPress, Joomla, and Drupal
  • 🎨 Modern Design - Gradient-rich, responsive, accessible
  • ⚡ High Performance - Fast loading with lazy loading and caching
  • 🧩 Component-Based - Modular, reusable components
  • 🔒 Security First - XSS prevention, input sanitization
  • 📱 Mobile Optimized - Perfect on all devices

Template Structure

phoenix/
├── disyl/
│   ├── home.disyl              # Homepage
│   ├── single.disyl            # Single post/article
│   ├── page.disyl              # Static pages
│   ├── archive.disyl           # Archive listings
│   └── components/
│       ├── header.disyl        # Site header
│       ├── footer.disyl        # Site footer
│       ├── slider.disyl        # Homepage slider
│       └── sidebar.disyl       # Sidebar
├── assets/
│   ├── css/style.css
│   ├── js/theme.js
│   └── images/
└── includes/
    └── disyl-integration.php   # CMS integration

Quick Example

{!-- Same template works in WordPress, Joomla, and Drupal --}
{ikb_include template="components/header.disyl" /}

{ikb_section type="blog" padding="large"}
    {ikb_container size="xlarge"}
        <div class="post-grid">
            {ikb_query type="post" limit=6}
                <article class="post-card">
                    {if condition="item.thumbnail"}
                        {ikb_image 
                            src="/{item.thumbnail | esc_url}"
                            alt="{item.title | esc_attr}"
                            lazy=true
                        /}
                    {/if}
                    
                    <h3>{item.title | esc_html}</h3>
                    <p>{item.excerpt | truncate:length=150}</p>
                    <a href="/{item.url | esc_url}">Read More →</a>
                </article>
            {/ikb_query}
        </div>
    {/ikb_container}
{/ikb_section}

{ikb_include template="components/footer.disyl" /}

Learn More

Noah O

About Noah O

Passionate writer and developer sharing insights about web development, design, and technology.

View all posts by Noah O →