← Back to list

wpbakery-static-block
by sattip
Context7-style instructions for Claude Code to configure XStore theme and create WPBakery pages via WordPress database operations
⭐ 0🍴 0📅 Jan 6, 2026
SKILL.md
name: wpbakery-static-block description: Create reusable WPBakery static blocks for XStore theme. Use when creating footer blocks, mega menu content, sidebar banners, or any reusable content block. allowed-tools: Read, Bash, Grep, Glob, Write
WPBakery Static Block Creation
Create reusable static blocks (footer, mega menus, banners) for XStore theme.
Instructions
When this skill is invoked, help the user create static blocks with WPBakery content.
Reference Documentation
- Shortcodes:
WPBAKERY_SHORTCODES.md - Footer Template:
examples/footer-block.txt
What Are Static Blocks?
Static blocks are reusable WPBakery content pieces used for:
- Footer content - Site-wide footer with columns
- Mega menu content - Category dropdowns with images
- Sidebar banners - Promotional banners
- Product tabs - Custom tab content
Create Static Block
# Create static block
BLOCK_ID=$(wp post create --post_type=staticblocks \
--post_title="Block Name" \
--post_name="block-slug" \
--post_content='[vc_row]...[/vc_row]' \
--post_status=publish \
--porcelain)
# Set WPBakery meta
wp post meta update $BLOCK_ID _wpb_vc_js_status 'true'
echo "Created static block ID: $BLOCK_ID"
Footer Block Template (5 columns)
[vc_row full_width="stretch_row" css=".vc_custom_TIMESTAMP{padding:40px !important;background-color:#f8cae2 !important;}"]
[vc_column width="1/5"]
[vc_single_image image="LOGO_ID" img_size="150x50" onclick="custom_link" link="/"]
[follow facebook="URL" instagram="URL" size="small"]
[/vc_column]
[vc_column width="1/5"]
[vc_custom_heading text="Shop" font_container="tag:h4|font_size:16px"]
[vc_column_text]<a href="/shop">All Products</a>[/vc_column_text]
[/vc_column]
...
[/vc_row]
List Existing Blocks
wp post list --post_type=staticblocks --format=table --fields=ID,post_title,post_status
Workflow
- Ask user what type of static block they need (footer, menu, banner)
- Reference examples or create custom content
- Create the block via WP-CLI
- Provide the block ID for use in theme settings or widgets
- Blocks display via
etheme-static-blockwidget using the ID
Score
Total Score
55/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon