← Back to list

wpbakery-page
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-page description: Create WordPress pages with WPBakery Visual Composer content via database. Use when creating pages with shortcodes, rows, columns, headings, buttons, or product grids for XStore theme. allowed-tools: Read, Bash, Grep, Glob, Write
WPBakery Page Creation
Create WordPress pages with WPBakery shortcode content via database operations.
Instructions
When this skill is invoked, help the user create pages with WPBakery shortcode content.
Reference Documentation
- Shortcodes:
WPBAKERY_SHORTCODES.md - Templates:
PAGE_TEMPLATES.md - Examples:
examples/directory
Page Creation Command
# Create page
PAGE_ID=$(wp post create --post_type=page \
--post_title="Page Title" \
--post_name="page-slug" \
--post_content='[vc_row]...[/vc_row]' \
--post_status=publish \
--porcelain)
# Set required WPBakery meta
wp post meta update $PAGE_ID _wpb_vc_js_status 'true'
# Set compiled CSS
wp post meta update $PAGE_ID _wpb_shortcodes_custom_css 'CSS_HERE'
Shortcode Structure
[vc_row full_width="stretch_row" css=".vc_custom_TIMESTAMP{...}"]
[vc_column width="1/2" offset="vc_col-lg-6 vc_col-md-12"]
[vc_custom_heading text="Title" font_container="tag:h1|font_size:42px|text_align:center|color:%23333333"]
[vc_column_text css="..."]Content here[/vc_column_text]
[vc_btn title="Button" style="gradient-custom" gradient_custom_color_1="#ff7eb9" gradient_custom_color_2="#FF3C88"]
[/vc_column]
[/vc_row]
Available Templates
- Homepage -
examples/homepage.txt - Contact Page -
examples/contact-page.txt - About Page -
examples/about-page.txt
Workflow
- Ask user what type of page they want to create
- Reference PAGE_TEMPLATES.md for ready-made templates
- Customize content, colors, and images as needed
- Generate unique CSS timestamps for each element
- Create the page via WP-CLI
- Set required post meta (_wpb_vc_js_status, _wpb_shortcodes_custom_css)
- Verify creation with
wp post get PAGE_ID
Important Notes
- Colors in font_container use URL encoding:
%23ff7eb9=#ff7eb9 - Links use URL encoding:
url:%2Fshop=url:/shop - Always set
_wpb_vc_js_statustotrue - Compile all CSS from shortcodes into
_wpb_shortcodes_custom_cssmeta
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