WidgetCoreWidgetCore Documentation

Quick start

From download to your first WidgetCore output in a few minutes — installing the plugin, finding the widgets in Elementor, building your first FAQ and your first live search.

This page is the shortest route to a working result. If you just want the plugin running and plan to read the details later, start here.

Step 1 — Install the plugin

Download widgetcore.zip from the download page and upload it under “Plugins → Add New → Upload Plugin” in the WordPress dashboard, then click Activate.

Step 2 — Find the widgets

Open a page or post with Elementor. In the widget panel you will see a category called WidgetCore Widgets containing the plugin's widgets:

WidgetNamePurpose
FAQwgcr-faqA list of expandable questions and answers
Live Searchwgcr-searchA search field with live results

Step 3 — Build your first FAQ

Drag the FAQ widget onto the canvas and open the “Questions” section, then the “Items” repeater:

  1. Write the question title

    The “Question title” field is what visitors see and what ends up in the FAQPage schema.

  2. Write the answer

    The “Answer” field uses the Elementor editor, so links and simple formatting are allowed.

  3. Add more items

    Use “Add Item” to create more questions and drag them to reorder.

  4. Choose the opening mode

    “Accordion” keeps only one item open; “Toggle” allows several items open at the same time.

The output is a list of cards that open with a click or with the keyboard, plus a FAQPage JSON-LD block printed on the same page.

Drag the Live Search widget onto the canvas. The defaults already work:

ControlDefaultEffect
Results display modeList modeResults appear in a dropdown panel below the field
SourcepostOnly posts are searched
Items per page12Up to 12 results per search
Show thumbnailYesEach result shows its featured image
Show excerptYes18 words of text with an ellipsis
PaginationNoneOnly the first page of results

Publish the page, click the field on the front end and type at least two characters — results appear without a page reload.

Step 5 — Search anywhere with the shortcode

To place a search field outside Elementor (in a theme template or inside content), use the shortcode:

[wgcr_search]
[wgcr_search limit="8" thumb="no" placeholder="Search articles…"]
[wgcr_search mode="page" columns="3" pagination="load_on_click"]

Every attribute is optional; the full list is on the shortcode page.

Verify everything works

  1. The widgets are visible in the editor

    If the “WidgetCore Widgets” category is missing, activate Elementor and hard-refresh the editor.

  2. Search returns results

    In your browser's developer tools, the /wp-json/wgcr/v1/search request should return status 200.

  3. Texts match your site language

    If the interface is Persian on an English site, see language and translation.

  4. The FAQ schema is in the page source

    Search the page source for "@type":"FAQPage".

Next