

Answer Card Block in Gutenberg Editor with question, answer, and word counter
Geo Widget creates structured, citable answer blocks (Answer Cards) directly in the WordPress Gutenberg Editor. This optimizes your content specifically for AI-powered search engines like Google AI Overviews, Bing Copilot, or Perplexity.
Each block consists of a question, answer, bullet points, and sources — including copy buttons so readers and AI systems can correctly cite your content.
GET /wp-json/provimedia-geo-widget/v1/answers returns all Answer Cards as JSONpost_id to retrieve blocks from a specific postper_page and page with response headers X-WP-Total and X-WP-TotalPagesrel="noopener noreferrer"The compiled JavaScript and CSS files in the /build directory are generated from source files in the /src directory using WordPress build tools.
All source code is included in the plugin:
/src/index.js – Editor block component (React/JSX)/src/frontend.js – Copy button functionality (Vanilla JS)/src/editor.scss – Editor-only styles (SCSS)/src/style.scss – Frontend styles (SCSS)npm install to install dependenciesnpm run build to compile assetsnpm run build – Compile production assetsnpm run start – Watch mode for developmentnpm run lint – Run code lintingnpm run test – Run unit tests