# ByteFinance > WordPress site built with BIGSPY AI THEME WP 1.100.0. AI tools and coding agents: read this before creating or editing pages. ## Rules - Build every page from this theme's blocks (bst/* and bigspy/*) so the owner can edit it visually. Never use core/html (Custom HTML) or core/freeform for layout, sections or styling. - Structure: bst/section > bst/row > bst/column, with bst/heading, bst/text, bst/buttons and bst/image inside. Spacing and backgrounds come from section options, not CSS. - Hero: the first block is bst/banner or bst/slider with "align":"full". The theme then puts it flush under the header on desktop and phones. Exactly one H1 per page. - Prefer dynamic blocks and turn motion on: bst/slider, bst/marquee, bigspy/ticker, bigspy/animated-text, bigspy/stack-cards, bigspy/bento, bigspy/expand-gallery, bigspy/hover-reveal, bigspy/scroll-story, bigspy/horizontal-scroll, bigspy/zoom-hero, bst/counter, bst/before-after. - Any block accepts entrance motion: bsAnimation (see animations), bsAnimationDelay (ms), bsAnimationDuration (ms), bsStagger (ms between children), bsHoverEffect (see hover_effects). Give each section an entrance animation and stagger its cards. - At most 2 blocks with "pin": true per page, never in adjacent sections; one or two "heavy" blocks per page. - Styling order: block options, then Style presets (bsPresets), then Customizer > Additional CSS. bst/code only for small illustrations. - Forms: bst/form, never a shortcode or HTML form. - Use only real facts, prices, reviews and figures from the owner. Never invent them. - Before writing attributes, read the block schema: /wp-json/wp/v2/block-types// (needs an editor login). ## Animations bsAnimation: fade-in, fade-up, fade-down, fade-left, fade-right, slide-up, slide-down, slide-left, slide-right, zoom-in, zoom-out, zoom-in-up, zoom-in-down, bounce-in, bounce-up, bounce-down, bounce-left, bounce-right, flip-up, flip-x, flip-y, rotate-in, roll-in, swing-in, reveal-up, reveal-left, reveal-right, reveal-center, blur-in, skew-in, light-speed, pop bsHoverEffect: lift, zoom, glow, grayscale, tilt, shine, border-glow, bounce, rotate, shrink ## Blocks - bst/section (light): Every top-level section of a page: background, padding, width, entrance motion. Avoid: Nesting sections inside sections. Attributes: contentWidth, paddingDesktop; bgImageId+bgImage only with a real image - bst/row (light): Columns side by side: text + image, 2–4 cards. Avoid: A single column (put blocks straight in the section). Attributes: > bst/column with spanDesktop (out of 12) - bst/spacer (light): Fine-tuning vertical distance. Avoid: Building layout; use section padding first. Attributes: heightDesktop, heightMobile; unit px|vh|rem; a negative height pulls the next block up (overlap) - bst/divider (light): Separating groups of content, optionally with a word or icon; styles solid, dashed, dotted, double, fade, wave, zigzag, dots, thick-thin, shadow. Avoid: Between every block. Attributes: style, width, widthUnit, widthMobile, spacingMobile, gradientFrom, gradientTo, contentPosition, iconBg, draw - bst/banner (light): Page opening with an image, H1, message and call to action; also a mid-page promo banner. Avoid: Without a fitting image (use a section with a gradient instead). Attributes: imageId+imageUrl, heightMode, loadPriority high only for the first banner at the top of the page (not in a slider); inner heading h1 + text + buttons - bst/slider (medium): Two or more banners in turn on the home page; testimonials or images one by one. Avoid: Hiding important content in slide 3+. Attributes: slidesDesktop, autoplay, dots; inner banners - bst/banner-grid (light): Magazine grid of image tiles: categories, collections, several offers. Avoid: Fewer than three images. Attributes: layout, items (image, title, link) - bigspy/zoom-hero (heavy, pin): A striking hero picture that grows to full screen while scrolling. Avoid: Twice on a page, or when the first message must show instantly without scrolling. Attributes: imageId+imageUrl, imageAlt, overlay - bst/heading (light): Every heading H1–H6; the page H1. Avoid: Body text. Attributes: text, tag; kicker (small line above), icon, decor before/after/both, highlight underline/marker/brush/strike/circle/box, strokeWidth (+strokeHollow), shadowColor+shadowX/Y/Blur - bst/title (light): Section title with a small subtitle (kicker) and optional "view all" link; styles plain, bottom-line, center-line, left-bar, underline-full, double, label, dots, gradient. Avoid: The page H1. Attributes: text, subtitle, tag, style; number (e.g. 01) and icon before the text; sizeTablet/sizeMobile, lineWidth, lineLength, subtitleSize/subtitleColor - bst/text (light): Paragraphs, lists, quotes and links. Avoid: Layout HTML, cards or columns (the server refuses it). Attributes: html; listStyle check/arrow/number, quoteStyle card/big/line, linkStyle underline/hover/highlight, columnGap/columnRuleColor, clampLines+moreText (Read more) - bigspy/animated-text (light): One or two key lines per page: slogan, rotating keywords, highlighted claim. Avoid: Body text or the H1 itself; more than two per page. Attributes: text, effect, tag - bst/marquee (light): A strip of short keywords, claims or services that scrolls endlessly. Avoid: Sentences people must read. Attributes: items, speed - bst/alert (light): A notice: offer deadline, warning, important note. Avoid: Decoration. Attributes: type, title, text; style soft|solid|outline|left-bar|gradient|glass|bar|toast (+toastPos), icon, iconSize, titleTag, btnText+btnUrl, dismiss+rememberDays, radius, borderWidth - bst/table (light): Specifications, comparisons, schedules. Avoid: Layout. Attributes: data (rows, cells split by |), header; tableStyle minimal|card|compare, marks (yes/no → ✓✗), highlightCol, mobile cards, stickyHead/stickyCol, sortable, search, colAlign/colWidth, headBg/headColor - bst/code (light): Small illustration no block can show: mockup, diagram, decorative CSS art. Avoid: Real content, layout or JavaScript; limited count and size per page. Attributes: code, mode visual - bst/icon-box (light): Features, services and benefits as icon + title + text, in a row of 3–4. Avoid: Long text. Attributes: icon, title, text, position - bst/image-box (light): Service, product or project cards with an image and link. Avoid: Without real images. Attributes: imageId+imageUrl, title, text, link - bst/icon-list (light): Check-mark lists of benefits, contact lines, what is included. Avoid: More than about 10 lines. Attributes: items (icon, text, link, sub, badge, color); iconShape circle|square, numbered, iconAlign center, columnsTablet/columnsMobile, separator (inline layout), dividerStyle - bst/flip-box (light): A few services or values with a detail on the back of the card. Avoid: Information visitors must see at once (the back is hidden). Attributes: icon, frontTitle, backTitle, backText, height - bigspy/bento (light): A modern mixed-size grid of services, figures and images. Avoid: Fewer than four tiles. Attributes: > bigspy/bento-cell with size - bigspy/expand-gallery (medium): Two to six fields or services as image panels that expand on hover. Avoid: Without an image per panel. Attributes: > bigspy/expand-panel with title, backgroundId+backgroundUrl - bigspy/hover-reveal (light): A list of services or projects in large type; the image floats on hover. Avoid: Short lists of 1–2 rows. Attributes: > bigspy/hover-reveal-item with title, link, imageId+imageUrl - bst/tabs (light): Same kind of content split by category: packages, product details. Avoid: Content everyone must read. Attributes: > bst/tab with title, subtitle, icon or image, badge, anchor - bst/accordion (light): FAQs, policies, long details. Avoid: Key selling points (hidden by default). Attributes: style (bordered, separated, minimal, shadow, solid, underline, leftbar, bignum), openMode, columns, search, expandAll, deepLink, faqSchema; > bst/accordion-item with title, subtitle, badge - bst/timeline (light): Steps, milestones, company history with dates. Avoid: Steps with no real order or dates you do not have. Attributes: items (date, title, text, icon, imageId+imageUrl, badge, link+btnText), layout alternate|left|right|horizontal|scroll|compact; marker dot|number|icon|date|image, cardStyle outline|arrow|none, lineStyle, lineFill - bigspy/stack-cards (medium, pin): 3–5 steps or reasons as cards stacking while scrolling. Avoid: Next to another pinned block. Attributes: > bigspy/stack-card with background - bigspy/scroll-story (heavy, pin): A story or process where the image changes with each text step. Avoid: Without an image per step; next to another pinned block. Attributes: > bigspy/story-step with mediaId+mediaUrl - bigspy/horizontal-scroll (heavy, pin): Projects, a timeline or a collection moving sideways while scrolling down. Avoid: Fewer than three panels; next to another pinned block. Attributes: panelWidth; > bigspy/hscroll-panel - bigspy/line-draw (light): A line or arrow that draws itself to connect steps or underline a claim. Avoid: As main content. Attributes: shape, mode - bst/counter (light): Real figures: years, customers, projects. Avoid: Invented numbers. Attributes: number, suffix, label; style card|divided|side, icon, iconSize, weight, affixSize/affixColor, replay - bst/testimonial (light): Customer reviews. Avoid: Invented reviews. Attributes: name, role, text, rating - bigspy/listing-grid (medium): Grid of directory listings (BIGSPY AI List mode). Avoid: When BIGSPY AI List mode is off. Attributes: layout, limit, categoryId, featuredOnly, columnsDesktop - bigspy/category-grid (light): Listing categories with image and count (BIGSPY AI List mode). Avoid: When BIGSPY AI List mode is off. Attributes: count, columnsDesktop, showCount - bigspy/sponsored (light): Sponsored partner cards that rotate on every visit (BIGSPY AI List mode). Avoid: When BIGSPY AI List mode is off or no partners are set. Attributes: display, count, columnsDesktop, showDescription, buttonText, badgeText (leave texts empty: they follow Customizer > Listing texts) - bigspy/search (light): Search box for directory listings (BIGSPY AI List mode). Avoid: When BIGSPY AI List mode is off. Attributes: placeholder (empty = Customizer > Listing texts), buttonText, alignment, style pill|boxed|underline|split|icon|hero|overlay, icon left|right, buttonMode text|icon|both, buttonPosition outside|below-mobile, live (instant suggestions: liveCount, liveImage, livePrice, liveCategory, minChars), category, showCategorySelect, chips (one per line), placeholders (rotating), shortcut, colors inputBg, focusColor, buttonHoverColor, shadow 0-5 - bst/search (light): Search box for the whole site or chosen content types (postTypes), with instant suggestions and popular-search chips. Avoid: Pages with little content to search; the header already has search. Attributes: placeholder, buttonText, postTypes, style pill|boxed|underline|split|icon|hero|overlay, icon left|right, buttonMode text|icon|both, buttonPosition outside|below-mobile, live (instant suggestions: liveCount, liveImage, livePrice, liveCategory, minChars), category, showCategorySelect, chips (one per line), placeholders (rotating), shortcut, colors inputBg, focusColor, buttonHoverColor, shadow 0-5 - bigspy/elements (medium): Featured, latest, popular or related listings, categories or blog posts with a title (BIGSPY AI List mode). Avoid: When BIGSPY AI List mode is off. Attributes: elementType, title, count, columnsDesktop - bst/listing-sidebar (light): One part of the listing page sidebar for the listing being viewed: sponsor card, its categories or its related resources (BIGSPY AI List mode). Goes in Appearance > Widgets > Listing page sidebar. Avoid: Outside a listing page it shows nothing; for pages use bigspy/sponsored or bigspy/elements. Attributes: part (sponsor|categories|related), title - bst/listing-info (light): Facts, price, rating and visit button of one directory listing (BIGSPY AI List mode). Avoid: When BIGSPY AI List mode is off: suggest turning it on instead. Attributes: productId, showFacts, showButton - bigspy/theme-showcase (medium): Showcase of the theme features on its demo site. Avoid: Any client site. Attributes: showHero, showFeatures, showNews - bst/star-rating (light): Overall rating such as 4.9/5 from 320 reviews. Avoid: Invented ratings. Attributes: rating, label, count (reviews); icon heart/thumb/dot, layout score/badge (4.8/5), labelPosition, round half/whole, gap - bst/before-after (light): Before and after results: renovation, retouching, cleaning, treatment. Avoid: Two unrelated images. Attributes: beforeId+beforeUrl, afterId+afterUrl, labels - bst/hotspot (light): An image with points explaining parts, products in a room, locations. Avoid: Without a detailed image. Attributes: imageId+imageUrl, points - bst/progress (light): Skill or completion levels. Avoid: Invented percentages. Attributes: items; layout bar|circle|semi|steps|dashed, max+suffix (e.g. 10 + "/10"), color2 gradient, labelBelow, duration, steps, circleSize - bst/logos (light): Partner or client logos as a grid or endless strip. Avoid: Fewer than four logos. Attributes: images, layout - bigspy/ticker (medium): A moving strip of any blocks: partners, reviews, products, a fleet. Avoid: Content people must read slowly. Attributes: speed, widthDesktop; > bigspy/ticker-slide - bst/team-member (light): Team cards with photo, name and role. Avoid: Without real people. Attributes: imageId+imageUrl, name, role - bst/image (light): Single images with caption, lightbox and hover effect. Avoid: Decoration with no meaning. Attributes: imageId+imageUrl, alt - bst/gallery (light): Several images as grid, masonry or slider with lightbox. Avoid: Fewer than 3 images or images of mixed quality. Attributes: images, layout, columns - bst/video (light): One YouTube, Vimeo or MP4 video. Avoid: Autoplay with sound; a video you do not have. Attributes: url, posterId+posterUrl - bst/video-button (light): A play button over an image opening a video lightbox. Avoid: Without a real video URL. Attributes: url, imageId+imageUrl - bigspy/video-cards (medium): Cards that play a short muted clip on hover: projects, products, showreel. Avoid: Without short video clips. Attributes: > bigspy/video-card with posterId+posterUrl, videoUrl, title - bst/audio (light): A song, podcast or voice message. Avoid: Background music or autoplay. Attributes: fileId+fileUrl, title - bst/lottie (medium): A small vector animation from a Lottie JSON file. Avoid: Without a Lottie file. Attributes: src - bst/price-table (light): Pricing plans side by side, one marked popular. Avoid: Invented prices. Attributes: title, price, period, features, buttonText, buttonUrl - bst/pricing-toggle (light): Plans with monthly/yearly switch. Avoid: A single billing period. Attributes: labelA, labelB, plans - bst/countdown (light): Offer or event deadline. Avoid: Fake urgency without a real date. Attributes: deadline, label - bst/buttons (light): One or more calls to action. Avoid: More than two buttons in one group, or a button with no destination. Attributes: > bst/button with text, url, style (primary, outline, soft, gradient, pop3d, neon, dotted, slide, arrow-circle...), icon+iconOnly (text = aria-label), badge, widthTablet/widthMobile auto|full, hoverBorder/hoverShadow; direction row|column, equalWidth, separator (e.g. "or") - bst/popup (light): Form or offer opened from a button or after a delay. Avoid: Opening automatically on every visit. Attributes: trigger, buttonText; inner blocks; trigger also selector|idle|end, showOn desktop|mobile, loginState in|out, dateFrom/dateTo, position also side-left|bar-top|bar-bottom|fullscreen, anim zoom|slide-up|fade|none, closeStyle circle|text, closePos left|outside, width, padding, shadow, overlayColor, closeOnSubmit - bst/form (light): Contact, quote or booking form. Avoid: More than 6 fields for a first contact; asking for data you do not need. Attributes: provider bigspy, title; fields, conditions and price quote only through form_get / form_configure - bst/map (medium): The business location. Avoid: Without a real address. Attributes: address, zoom; heightTablet/heightMobile or ratio, clickToLoad (+placeholderId), boxPosition left|right|side|side-right|top|bottom, btnStyle outline|link, boxBg/boxColor, fullWidth, shadow, borderWidth - bst/social (light): Links to social profiles. Avoid: Invented profiles. Attributes: facebook, zalo, … links; also telegram, threads, github, discord, shopee, lazada, maps, website, custom [{label,url,icon,color}]; layout grid|vertical, showText, hover lift|color|rotate, tooltip, iconSize, bgColor, alignMobile; also telegram, threads, github, discord, shopee, lazada, maps, website, custom [{label,url,icon,color}]; layout grid|vertical, showText, hover lift|color|rotate, tooltip, iconSize, bgColor, alignMobile - bst/share (light): Share buttons on posts and products. Avoid: Landing and service pages. Attributes: networks; networks also telegram, messenger, print; layout float|bottom (sticky bar on phones), showText, labelPos top|hidden; networks also telegram, messenger, print; layout float|bottom (sticky bar on phones), showText, labelPos top|hidden - bst/posts (light): Latest or chosen blog posts. Avoid: A site with no posts. Attributes: count, layout, columns - bst/products (medium): WooCommerce products: latest, best selling, on sale, chosen. Avoid: Sites without WooCommerce products; more than 8 products on a landing page. Attributes: type, count, layout - bst/products-list (light): Compact product list for sidebars and footers. Avoid: The main product area of a page (use bst/products). Attributes: type, count - bst/product-categories (light): Shop categories with images. Avoid: A shop with only one or two categories. Attributes: count, layout - bst/payment-icons (light): Accepted payment methods near prices or in the footer. Avoid: Methods the shop does not accept. Attributes: methods; methods also napas; style card|dark, customImages [{imageId,imageUrl,label}], grayHover, label, gap, radius; methods also napas; style card|dark, customImages [{imageId,imageUrl,label}], grayHover, label, gap, radius - bst/nav-menu (light): A WordPress menu inside a page or footer. Avoid: Repeating the header menu in page content. Attributes: menuId, layout; style also divider|accordion, mobile also drawer|accordion, subOpen click, depth, itemPad, activeColor/activeBg, weight, textCase, gapMobile - bst/widget-area (light): A sidebar or widget area inside a page. Avoid: Pages without widgets set up. Attributes: area - bst/shortcode (light): A plugin shortcode with no block equivalent. Avoid: Contact forms (use bst/form). Attributes: code ## More - Full profile as JSON (rules, blocks, theme guide): https://bytefinance.com/wp-json/bigspy/v1/ai-profile