FAQ

Frequently Asked Questions

Common questions about XBO Market Kit installation, configuration, and usage

Do I need Composer to install the plugin?

Yes, XBO Market Kit uses Composer for dependency management. After uploading the plugin to wp-content/plugins/, run composer install from the plugin directory. Most hosting providers support Composer via SSH or terminal access.

What are the minimum requirements?
  • WordPress 6.0 or higher
  • PHP 8.1 or higher (8.2 recommended)
  • Composer (for dependency installation)
  • Active internet connection (for API calls)
Can I use this on WordPress.com?

Only on WordPress.com Business plan or higher, which allows custom plugin installation and Composer access. The free and Personal plans do not support custom plugins.

How do I add a widget to my page?

You have three options:

  1. Gutenberg Block: In the block editor, click + and search for “XBO” to find all widget blocks
  2. Shortcode: Use shortcodes like
    BTC
    BTC
    BTC/USDT
    --
    0.00%
    anywhere
  3. Theme Template: Use do_shortcode('
    BTC
    BTC
    BTC/USDT
    --
    0.00%
    ETH
    ETH
    ETH/USDT
    --
    0.00%
    ')
    in your theme’s PHP files
How often does the data refresh?

You can set the auto-refresh interval to 15, 30, or 60 seconds via the refresh attribute. Default is 30 seconds. The plugin uses server-side caching to optimize API calls, so multiple widgets share the same cached data.

Can I customize the colors and styling?

Yes! All widgets use CSS classes with the .xbo-mk- prefix. You can override these in your theme’s CSS. See the Integration Guide for detailed CSS class reference and examples.

Which trading pairs are available?

The plugin supports all trading pairs available on XBO Exchange API (280+ pairs). Most common pairs include BTC/USDT, ETH/USDT, SOL/USDT, XRP/USDT, BNB/USDT, ADA/USDT, and more.

Widget shows “Loading…” but never displays data

Common causes:

  • Check your server can make outbound HTTPS connections to api.xbo.com
  • Verify PHP allow_url_fopen is enabled or cURL is available
  • Check browser console for JavaScript errors
  • Clear WordPress and browser cache
Error: “Failed to fetch data from XBO API”

This means the server couldn’t connect to api.xbo.com. Check:

  • Firewall isn’t blocking outbound connections
  • DNS resolution works for api.xbo.com
  • SSL certificate verification is working
  • Try disabling any caching plugins temporarily
Widgets look broken or unstyled

Possible causes:

  • Your theme’s CSS is conflicting – try adding !important to overrides
  • Plugin assets didn’t load – check browser console for 404 errors
  • Clear all caches (WordPress, CDN, browser)
  • Verify plugin is activated and files are uploaded correctly
Auto-refresh isn’t working

Ensure JavaScript is enabled in your browser and no script blockers are interfering. The refresh uses WordPress’s native REST API and JavaScript fetch API. Check browser console for errors.

Can I use the REST API from JavaScript?

Yes! All widgets expose REST API endpoints at /wp-json/xbo/v1/*. You can fetch data directly using JavaScript fetch() or any HTTP client. No authentication required for read-only endpoints. See API Documentation for details.

Is there a rate limit on the XBO API?

The plugin implements server-side caching to minimize API calls. Multiple widgets on the same page share cached data. Direct calls to api.xbo.com may have rate limits – using the plugin’s REST API endpoints leverages the cache and handles this automatically.

Can I contribute to the plugin?

Yes! The plugin is open source on GitHub. You can:

  • Submit bug reports and feature requests via GitHub Issues
  • Fork the repository and submit pull requests
  • Improve documentation
  • Share your use cases and examples
Does this work with page builders like Elementor?

Yes! Use the shortcode method in any page builder:

  • Elementor: Add a Shortcode widget and paste the shortcode
  • Beaver Builder: Use the HTML module
  • Divi: Use the Code module
  • Visual Composer: Use Raw HTML element