- Home
- Skills
- Frontend & Web Apps
- Convert Elementor Section
More screenshots
Works with the AI Agents you already use
Convert Elementor Section
by AQIF AZIZ
Convert HTML/CSS/JS source files and screenshots into production-ready, editable Elementor widgets.
$9
Convert Elementor Section
Example session with this skill installed
Convert the attached index.html and style.css into a custom Elementor widget named Studio Services. Keep the wording, line breaks, arrow, colors, three-card desktop layout, and mobile stacking.
Make the eyebrow, heading, introduction, service cards, button text and link, colors, and responsive section padding editable. Use a repeater for the cards and the General category. Choose a suitable built-in panel icon.
Use these theme paths
- inc/elementor-widgets/studio/services.php
- assets/studio/section-1/style.css
Include the exact functions.php caller, installation instructions, a standalone preview, and a validation report. Check the available responsive layouts and clearly state anything you could not test. Do not publish to a live website.
- Read your context and instructions
- Compiled the convert elementor section
- Generated the app files
Studio Services — custom Elementor widget
The supplied section has been converted into an editable widget named
Studio Services, in Elementor’s
general category, with the automatic
eicon-posts-grid panel icon. The original text, three cards, arrow, CTA destination, colors, and responsive layout are retained in the generated defaults. No JavaScript is needed.
This delivery includes generated files and a clearly labeled static preview. WordPress integration and rendered visual acceptance are still untested; see the validation notes below.
File tree
inc/elementor-widgets/studio/services.php
assets/studio/section-1/style.css
INSTALL.txt
preview.html
VALIDATION.md
validation-data.json
DEMO-RESULT.md
Only the PHP and CSS files are installed into your theme. The other files are review material. preview.html uses the final stylesheet and matches the source/default content; it is not a WordPress runtime or an Elementor editor test.
Editable controls
| Area | Controls |
|---|---|
| Section copy | Eyebrow, heading with safe newline breaks, introduction |
| Service cards | Repeater with number, title, description; add/remove/reorder |
| CTA | Text, URL, external target, nofollow |
| Appearance | Accent, primary text, section/card backgrounds, border, card description, button/hover/text/focus colors |
| Spacing | Responsive section padding; source defaults retained when blank |
Add this line once inside your theme’s functions.php PHP block:
require_once get_theme_file_path( '/inc/elementor-widgets/studio/services.php' );
The CSS is registered early, versioned with filemtime(), conditionally enqueued for directly saved widgets on ordinary singular Elementor pages, and returned as an Elementor dependency. Other document compositions need the staging checks described in INSTALL.txt.
Complete PHP — inc/elementor-widgets/studio/services.php
<?php
/**
* Studio Services: source-faithful, editable Elementor section.
* Caller:
* require_once get_theme_file_path( '/inc/elementor-widgets/studio/services.php' );
*/
defined( 'ABSPATH' ) || exit;
if ( ! function_exists( 'studio_services_s1_register_assets' ) ) {
function studio_services_s1_register_assets() {
$css_rel = '/assets/studio/section-1/style.css';
$css_abs = get_theme_file_path( $css_rel );
if ( is_readable( $css_abs ) && ! wp_style_is( 'studio-services-s1', 'registered' ) ) {
wp_register_style( 'studio-services-s1', get_theme_file_uri( $css_rel ), array(), (string) filemtime( $css_abs ) );
}
}
add_action( 'wp_enqueue_scripts', 'studio_services_s1_register_assets', 1 );
add_action( 'elementor/frontend/after_register_styles', 'studio_services_s1_register_assets', 1 );
}
if ( ! function_exists( 'studio_services_s1_page_has_widget' ) ) {
function studio_services_s1_page_has_widget() {
// Early head loading covers widgets directly saved in ordinary singular pages.
if ( ! is_singular() ) { return false; }
$post_id = get_queried_object_id();
if ( ! $post_id ) {
return false;
}
$data = get_post_meta( $post_id, '_elementor_data', true );
$nodes = is_string( $data ) ? json_decode( $data, true ) : $data;
$contains = static function ( $items ) use ( &$contains ) {
foreach ( is_array( $items ) ? $items : array() as $item ) {
if ( ! is_array( $item ) ) { continue; }
if ( ( $item['widgetType'] ?? '' ) === 'studio_services_s1' ) { return true; }
if ( $contains( $item['elements'] ?? array() ) ) { return true; }
}
return false;
};
return $contains( $nodes );
}
}
if ( ! function_exists( 'studio_services_s1_maybe_enqueue_assets' ) ) {
function studio_services_s1_maybe_enqueue_assets() {
studio_services_s1_register_assets();
if ( studio_services_s1_page_has_widget() ) {
wp_enqueue_style( 'studio-services-s1' );
}
}
add_action( 'wp_enqueue_scripts', 'studio_services_s1_maybe_enqueue_assets', 5 );
}
add_action(
'elementor/widgets/register',
static function ( $widgets_manager ) {
if ( ! class_exists( '\\Elementor\\Widget_Base' ) || class_exists( 'Studio_Services_S1_Widget', false ) ) {
return;
}
class Studio_Services_S1_Widget extends \Elementor\Widget_Base {
public function get_name() { return 'studio_services_s1'; }
public function get_title() { return esc_html__( 'Studio Services', 'studio-services' ); }
public function get_icon() { return 'eicon-posts-grid'; }
public function get_categories() { return array( 'general' ); }
public function get_style_depends() {
studio_services_s1_register_assets();
return array( 'studio-services-s1' );
}
private function source_defaults() {
return array(
'eyebrow' => 'BUILT FOR YOUR NEXT CHAPTER',
'heading' => "A better website.\nA clearer story.",
'intro' => 'Thoughtful design and practical development for businesses ready to grow.',
'cards' => array(
array( 'number' => '01', 'title' => 'Website design', 'description' => 'Clear layouts that make your message easy to understand.' ),
array( 'number' => '02', 'title' => 'WordPress development', 'description' => 'Flexible pages your team can update with confidence.' ),
array( 'number' => '03', 'title' => 'Ongoing care', 'description' => 'Practical improvements as your business moves forward.' ),
),
'cta_text' => "Let's talk",
'cta_link' => array( 'url' => '/contact/', 'is_external' => false, 'nofollow' => false ),
);
}
protected function register_controls() {
$defaults = $this->source_defaults();
$this->start_controls_section( 'content', array( 'label' => 'Content' ) );
foreach ( array( 'eyebrow' => 'Eyebrow', 'heading' => 'Heading', 'intro' => 'Introduction' ) as $key => $label ) {
$this->add_control( $key, array(
'label' => $label,
'type' => 'eyebrow' === $key ? \Elementor\Controls_Manager::TEXT : \Elementor\Controls_Manager::TEXTAREA,
'default' => $defaults[ $key ],
'label_block' => true,
'description' => 'heading' === $key ? 'Press Enter for a safe line break. HTML is displayed as text.' : '',
) );
}
$item = new \Elementor\Repeater();
foreach ( array( 'number' => 'Number', 'title' => 'Title', 'description' => 'Description' ) as $key => $label ) {
$item->add_control( $key, array(
'label' => $label,
'type' => 'description' === $key ? \Elementor\Controls_Manager::TEXTAREA : \Elementor\Controls_Manager::TEXT,
'label_block' => true,
) );
}
$this->add_control( 'cards', array(
'label' => 'Service cards',
'type' => \Elementor\Controls_Manager::REPEATER,
'fields' => $item->get_controls(),
'default' => $defaults['cards'],
'title_field' => '{{{ title }}}',
) );
$this->add_control( 'cta_text', array(
'label' => 'Button text', 'type' => \Elementor\Controls_Manager::TEXT, 'default' => $defaults['cta_text'],
) );
$this->add_control( 'cta_link', array(
'label' => 'Button link', 'type' => \Elementor\Controls_Manager::URL,
'default' => $defaults['cta_link'], 'show_external' => true,
'options' => array( 'url', 'is_external', 'nofollow' ),
) );
$this->end_controls_section();
$this->start_controls_section( 'appearance', array(
'label' => 'Colors and spacing', 'tab' => \Elementor\Controls_Manager::TAB_STYLE,
) );
$colors = array(
'accent' => array( 'Number background', '#bcf45b' ),
'ink' => array( 'Headings and primary text', '#142019' ),
'paper' => array( 'Section background', '#f4f7ef' ),
'card' => array( 'Card background', '#ffffff' ),
'border' => array( 'Card border', '#dbe3d3' ),
'muted' => array( 'Card description', '#465343' ),
'button' => array( 'Button background', '#142019' ),
'button-text' => array( 'Button text', '#ffffff' ),
'hover' => array( 'Button hover background', '#33452d' ),
'focus' => array( 'Focus outline', '#436516' ),
);
foreach ( $colors as $key => $color ) {
$this->add_control( 'color_' . str_replace( '-', '_', $key ), array(
'label' => $color[0], 'type' => \Elementor\Controls_Manager::COLOR,
'default' => $color[1],
'selectors' => array( '{{WRAPPER}} .studio-services-s1' => '--' . $key . ': {{VALUE}};' ),
) );
}
$this->add_responsive_control( 'section_padding', array(
'label' => 'Section padding', 'type' => \Elementor\Controls_Manager::DIMENSIONS,
'size_units' => array( 'px', 'em', '%' ),
'description' => 'Leave empty to retain the source spacing: 72px 32px, or 48px 20px at widths up to 767px. Overrides use your Elementor device breakpoints.',
'selectors' => array( '{{WRAPPER}} .studio-services-s1' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};' ),
) );
$this->end_controls_section();
}
protected function render() {
$s = array_replace( $this->source_defaults(), $this->get_settings_for_display() );
$text = static function ( $value ) { return is_scalar( $value ) ? (string) $value : ''; };
$heading_id = 'studio-services-s1-title-' . $this->get_id();
$link = is_array( $s['cta_link'] ) ? $s['cta_link'] : array();
$url = esc_url( $text( $link['url'] ?? '' ) );
$external = ! empty( $link['is_external'] );
$rel = $external ? array( 'noopener', 'noreferrer' ) : array();
if ( ! empty( $link['nofollow'] ) ) { $rel[] = 'nofollow'; }
?>
<section class="studio-services-s1" aria-labelledby="<?php echo esc_attr( $heading_id ); ?>">
<div class="studio-services-s1__inner">
<p class="studio-services-s1__eyebrow"><?php echo esc_html( $text( $s['eyebrow'] ) ); ?></p>
<h2 id="<?php echo esc_attr( $heading_id ); ?>" class="studio-services-s1__title"><?php echo nl2br( esc_html( $text( $s['heading'] ) ), false ); ?></h2>
<p class="studio-services-s1__intro"><?php echo esc_html( $text( $s['intro'] ) ); ?></p>
<div class="studio-services-s1__grid">
<?php foreach ( is_array( $s['cards'] ) ? $s['cards'] : array() as $card ) : ?>
<?php if ( ! is_array( $card ) ) { continue; } ?>
<article class="studio-services-s1__card">
<span class="studio-services-s1__number"><?php echo esc_html( $text( $card['number'] ?? '' ) ); ?></span>
<h3><?php echo esc_html( $text( $card['title'] ?? '' ) ); ?></h3>
<p><?php echo esc_html( $text( $card['description'] ?? '' ) ); ?></p>
</article>
<?php endforeach; ?>
</div>
<?php if ( '' !== $text( $s['cta_text'] ) && '' !== $url ) : ?>
<a class="studio-services-s1__button" href="<?php echo $url; ?>"<?php if ( $external ) : ?> target="_blank"<?php endif; ?><?php if ( $rel ) : ?> rel="<?php echo esc_attr( implode( ' ', $rel ) ); ?>"<?php endif; ?>><?php echo esc_html( $text( $s['cta_text'] ) ); ?> <span aria-hidden="true">↗</span></a>
<?php endif; ?>
</div>
</section>
<?php
}
}
$widgets_manager->register( new Studio_Services_S1_Widget() );
}
);
Complete CSS — assets/studio/section-1/style.css
/* Studio Services: all component styles remain inside this widget. */
.elementor-widget-studio_services_s1,
.elementor-widget-studio_services_s1 > .elementor-widget-container {
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
padding: 0 !important;
}
.studio-services-s1,
.studio-services-s1 *,
.studio-services-s1 *::before,
.studio-services-s1 *::after { box-sizing: border-box; }
.studio-services-s1 {
--accent: #bcf45b;
--ink: #142019;
--paper: #f4f7ef;
--card: #ffffff;
--border: #dbe3d3;
--muted: #465343;
--button: #142019;
--button-text: #ffffff;
--hover: #33452d;
--focus: #436516;
width: 100%;
max-width: 100%;
margin: 0;
padding: 72px 32px;
border: 0;
background: var(--paper);
color: var(--ink);
font: 400 16px/normal Arial, Helvetica, sans-serif;
text-align: left;
text-transform: none;
letter-spacing: normal;
}
.studio-services-s1 .studio-services-s1__inner { max-width: 1120px; margin: 0 auto; padding: 0; }
.studio-services-s1 .studio-services-s1__eyebrow {
margin: 0 0 24px !important;
padding: 0 !important;
color: var(--ink) !important;
font: 700 12px/normal Arial, Helvetica, sans-serif !important;
letter-spacing: 2px !important;
text-transform: none !important;
}
.studio-services-s1 .studio-services-s1__title {
margin: 0 0 24px !important;
padding: 0 !important;
color: var(--ink) !important;
font: 700 clamp(38px, 5vw, 64px)/1.05 Arial, Helvetica, sans-serif !important;
letter-spacing: -2px !important;
text-transform: none !important;
overflow-wrap: anywhere;
}
.studio-services-s1 .studio-services-s1__intro {
max-width: 540px;
margin: 0 0 40px !important;
padding: 0 !important;
color: var(--ink) !important;
font: 400 18px/1.6 Arial, Helvetica, sans-serif !important;
letter-spacing: normal !important;
text-transform: none !important;
overflow-wrap: anywhere;
}
.studio-services-s1 .studio-services-s1__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 20px;
margin: 0 0 32px;
padding: 0;
}
.studio-services-s1 .studio-services-s1__card {
min-width: 0;
margin: 0;
padding: 28px;
background: var(--card);
border: 1px solid var(--border);
border-radius: 16px;
box-shadow: none;
overflow-wrap: anywhere;
}
.studio-services-s1 .studio-services-s1__number {
display: inline-flex;
width: 40px;
height: 40px;
align-items: center;
justify-content: center;
margin: 0 0 24px;
padding: 0;
background: var(--accent);
color: var(--ink);
border: 0;
border-radius: 50%;
font: 700 13px/normal Arial, Helvetica, sans-serif;
letter-spacing: normal;
}
.studio-services-s1 .studio-services-s1__card h3 {
margin: 0 0 12px !important;
padding: 0 !important;
color: var(--ink) !important;
font: 700 20px/1.25 Arial, Helvetica, sans-serif !important;
letter-spacing: -.4px !important;
text-transform: none !important;
}
.studio-services-s1 .studio-services-s1__card p {
margin: 0 !important;
padding: 0 !important;
color: var(--muted) !important;
font: 400 15px/1.65 Arial, Helvetica, sans-serif !important;
letter-spacing: normal !important;
text-transform: none !important;
}
.studio-services-s1 .studio-services-s1__button,
.studio-services-s1 .studio-services-s1__button:visited {
display: inline-flex !important;
max-width: 100%;
min-height: 48px;
gap: 32px;
align-items: center;
justify-content: center;
margin: 0 !important;
padding: 14px 22px !important;
background: var(--button) !important;
color: var(--button-text) !important;
border: 0 !important;
border-radius: 8px !important;
box-shadow: none !important;
text-decoration: none !important;
font: 700 15px/1.3 Arial, Helvetica, sans-serif !important;
letter-spacing: normal !important;
text-transform: none !important;
overflow-wrap: anywhere;
transition: background .15s ease;
}
.studio-services-s1 .studio-services-s1__button:hover { background: var(--hover) !important; }
.studio-services-s1 .studio-services-s1__button:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
@media (max-width: 767px) {
.studio-services-s1 { padding: 48px 20px; }
.studio-services-s1 .studio-services-s1__grid { grid-template-columns: 1fr; }
.studio-services-s1 .studio-services-s1__card { padding: 24px; }
.studio-services-s1 .studio-services-s1__title { letter-spacing: -1.5px !important; }
.studio-services-s1 .studio-services-s1__intro { font-size: 17px !important; }
}
@media (prefers-reduced-motion: reduce) {
.studio-services-s1 .studio-services-s1__button { transition: none; }
}
Complete INSTALL.txt
STUDIO SERVICES — ELEMENTOR WIDGET
=================================
Files to install into the active theme (prefer a child theme):
inc/elementor-widgets/studio/services.php
assets/studio/section-1/style.css
Add this exact line once inside functions.php's PHP block:
require_once get_theme_file_path( '/inc/elementor-widgets/studio/services.php' );
WordPress and Elementor must already be installed and active. No Elementor Pro
feature is used. This package has not been run in WordPress or Elementor; test on
staging before production. No tested version matrix is claimed.
In Elementor, find "Studio Services" in the general category. The selected panel
icon is eicon-posts-grid; its appearance must be checked in your installed version.
Place the widget in a full-width, zero-gap parent container to reproduce the
standalone source width. The widget cannot remove padding imposed by its parent.
Editable content:
- Eyebrow, heading and introduction.
- Heading line breaks: press Enter. HTML is escaped, not executed.
- Service cards: add, remove, reorder, and edit number, title, and description.
- CTA text and URL, open in new window, and nofollow.
- Section, text, card, border, accent, button, hover, and focus colors.
- Responsive section padding. Blank values retain source spacing: 72px 32px;
at widths up to 767px, 48px 20px. Explicit responsive overrides follow your
Elementor breakpoints. The source card layout breakpoint stays at 767px.
Source defaults are retained, including /contact/. Create that destination or
edit the URL for your site. The arrow is a decorative text glyph, not an icon kit.
Blank CTA text or an empty/unsafe CTA URL omits the button. Existing missing
settings fall back to source defaults; an intentionally empty card list stays empty.
Asset behavior:
- The stylesheet is registered early and versioned using its file modification time.
- The early enqueue scans the queried singular page's saved Elementor data
recursively for this exact widget type, including normal nested containers.
- For that supported page composition, CSS is scheduled before the document head.
- The widget also returns the stylesheet handle as an Elementor dependency.
- No JavaScript, remote fonts, external libraries, images, or tracking are added.
- Unrelated pages do not enqueue this stylesheet through the early detector.
- Theme Builder, referenced saved templates, archive/loop documents, popups, and
asynchronous insertion require context-aware integration and staging checks.
The dependency fallback alone is not a guarantee of pre-paint loading there.
- Actual head placement, unrelated-page network absence, cache plugins, and editor
parity still require live staging verification. Regenerate Elementor CSS/data
and clear relevant caches after installation if generated styles are stale.
The preview.html file is a standalone static HTML preview using the final CSS.
It is not a WordPress runtime, editor test, or proof of integration. Open it locally;
its /contact/ link is the preserved site-relative example destination.
Do not copy preview.html, VALIDATION.md, validation-data.json, or DEMO-RESULT.md
into the theme as widget implementation files. They are review materials only.
Studio Services validation
The generated widget files and static preview are ready for review. Runtime and visual acceptance remain pending; this is not a claim of a verified production installation.
Completed checks
- Inventoried both supplied files in full:
index.htmlandstyle.css. There are no supplied JavaScript, image, font, or icon-library files. - Matched all 15 visible source text tokens, punctuation, the decorative arrow, card order, element order, and
/contact/destination against the static preview. Confirmed each source text token exists in the PHP defaults/render markup. - Preserved the source 767px layout breakpoint, three-column desktop grid, single-column mobile grid, 1120px content maximum, source padding, sizes, typography, colors, radii, hover transition, focus outline, and reduced-motion rule in the generated stylesheet. This is source inspection, not a rendered visual comparison.
- Checked balanced CSS braces and all 26 selector entries for widget-root or widget-wrapper scope. Checked asset/caller paths, required files, and absence of unresolved starter tokens, viewport-width shells, broad page styling, JavaScript dependencies, remote fonts, remote assets, and duplicate static-preview IDs.
- Reviewed contextual output handling: plain text uses
esc_html, heading newlines are converted only after escaping, heading IDs useesc_attr, CTA URLs useesc_url, and external links receivenoopener noreferrerwith optionalnofollow. Repeater rows and text types are checked before rendering. Elementor owns generation of color and spacing CSS from its typed controls. - Calculated WCAG relative-luminance contrast from the default hexadecimal colors: primary text 15.51:1; card description 8.14:1; number text 12.98:1; button text 16.79:1; hover button text 10.35:1; focus outline against section background 6.23:1. These checks do not cover buyer-modified colors.
- Confirmed semantic section/H2/H3 markup, a native anchor, a decorative arrow with
aria-hidden, a source minimum button height of 48px, an explicit focus rule, and no required JavaScript by code inspection. The heading ID includes the Elementor instance ID. - Checked that
preview.htmllinks to the exact final stylesheet and visibly identifies itself as a static HTML preview, not a WordPress runtime.
Unavailable or untested
- PHP lint could not run because PHP CLI is unavailable. Manual structure/security review does not replace
php -lor a real WordPress load. - Browser launch was attempted but failed: the installed Chromium wrapper points to a missing executable. No successful screenshot comparison, rendered CSS parse, responsive overflow measurement, browser/keyboard/touch test, or multiple-instance rendering test is claimed.
- Required visual checks at 360, 390, 768, 1024, 1280, and 1440px, the 767px boundary, mobile landscape, native 90–125% zoom, and practical 200% text zoom remain pending. Long content, empty fields, large repeaters, RTL, and actual theme-conflict stress tests also remain pending.
- Chrome, Firefox, Safari, Edge, and physical mobile devices were not tested. No cross-browser or version matrix is claimed.
- WordPress and Elementor were not installed. Widget registration, panel icon, insertion defaults, repeater editing, save/reload, URL options, responsive controls, editor/frontend parity, and multiple live instances are untested.
- Actual stylesheet head placement, unrelated-page asset absence,
filemtimeinvalidation in a running site, cache/minification plugins, network requests, LCP/CLS/INP, and accessibility assistive-technology behavior require staging checks. No performance score or zero-layout-shift claim is made. - The early asset detector covers ordinary queried singular pages and their directly saved nested Elementor elements. Referenced saved templates, Theme Builder, archives/loops, popups, and asynchronous insertion need context-aware detection before claiming pre-paint loading. The dependency handle is retained as Elementor's rendering fallback.
/contact/is the preserved source destination; it was not checked on a buyer website. No external page was contacted.- No ZIP was produced as part of this section conversion, so archive integrity is not applicable here.
Staging acceptance
Run php -l inc/elementor-widgets/studio/services.php, install on staging with the supplied caller, and test the pending items above using the actual theme and Elementor versions. Inspect page source/network on a widget page and an unrelated page. Confirm head loading and fresh versioning after a CSS change. Approve visual fidelity against the original section at each required size before production use.
Machine-readable results are in validation-data.json.
Complete static preview — preview.html
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Studio Services — static preview (not WordPress)</title><link rel="stylesheet" href="assets/studio/section-1/style.css"><style>body{margin:0}.preview-notice{margin:0;padding:12px 20px;background:#142019;color:#fff;font:13px/1.4 Arial,Helvetica,sans-serif}</style></head><body><p class="preview-notice">Static HTML preview — defaults only. This is not a WordPress or Elementor runtime.</p><section class="studio-services-s1" aria-labelledby="studio-services-s1-title-preview"><div class="studio-services-s1__inner"><p class="studio-services-s1__eyebrow">BUILT FOR YOUR NEXT CHAPTER</p><h2 id="studio-services-s1-title-preview" class="studio-services-s1__title">A better website.<br>A clearer story.</h2><p class="studio-services-s1__intro">Thoughtful design and practical development for businesses ready to grow.</p><div class="studio-services-s1__grid"><article class="studio-services-s1__card"><span class="studio-services-s1__number">01</span><h3>Website design</h3><p>Clear layouts that make your message easy to understand.</p></article><article class="studio-services-s1__card"><span class="studio-services-s1__number">02</span><h3>WordPress development</h3><p>Flexible pages your team can update with confidence.</p></article><article class="studio-services-s1__card"><span class="studio-services-s1__number">03</span><h3>Ongoing care</h3><p>Practical improvements as your business moves forward.</p></article></div><a class="studio-services-s1__button" href="/contact/">Let's talk <span aria-hidden="true">↗</span></a></div></section></body></html>
preview.html
ZIP · project files
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Standard HTML and CSS sections often break when dropped into WordPress, suffering from style leakage, sluggish performance, or rigid hardcoded values that site editors can't change. This skill converts raw frontend assets into professional, self-contained Elementor widgets that maintain design integrity while exposing full control to non-technical users.
What it does
- Asset conversion transforms HTML, CSS, JS, and ZIP exports into native PHP widget classes.
- Visual preservation replicates layout, typography, animations, and interactions without redesigning source material.
- Editable mapping links static content to Elementor controls, repeaters, and media library pickers.
- CSS isolation scopes all styles to the widget root to prevent theme global overrides and layout shifts.
- Performance optimization enqueues assets conditionally, implements versioning via
filemtime(), and manages render priorities.
How it works
- Source analysis inventories supplied files and identifies section-specific markup and logic.
- Control mapping defines which text, images, and links require editing via the Elementor panel.
- Widget engineering builds the PHP class using isolated styles and scoped JavaScript.
- Validation checks for horizontal overflow, accessibility compliance, and mobile responsiveness.
Frameworks & tools
WordPress, Elementor Page Builder, PHP, Vanilla JavaScript, and CSS.
Why this beats prompting it yourself
Generic prompts often produce messy inline styles or broken paths that fail when moved to a production theme. This skill enforces strict isolation, conditional loading, and WordPress security best practices that basic LLM outputs typically ignore.
Use cases
- Design-to-WP converting a high-fidelity HTML landing page section into a reusable widget.
- Legacy migration moving custom hardcoded sections into the Elementor editor for client handoff.
- Template scaling turning a static card grid into a dynamic repeater-based component.
Known limitations
Requires a WordPress environment with Elementor installed for final verification and deployment. Portions of layout not visible in screenshots or source files cannot be accurately reconstructed.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 6 days ago
- Accounts
- WordPress
- Software
- AI coding agent with project file access
- Optional
- Image understanding for screenshot inputPHP CLI for PHP syntax checks
Node.js
File generation needs no WordPress login. Test on staging before live use. Screenshot input requires image understanding. Your AI agent’s own usage charges may apply.
Permissions
File Scopes
Reads buyer-supplied source and relevant target-project files; writes generated widget files. Shell supports archive and syntax checks. Browser/network are optional for official documentation and buyer-authorized staging tests. No environment variables or creator service required. Scopes are relative to the approved project; adjust input/output paths to match it.
What's inside
Creator
AQIF AZIZ
Software Engineer
Frequently Asked Questions
New in Frontend & Web Apps
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.