Stats FC

Match Centre

Here you'll find sample code and an example of our Match Centre widget. The widget comes with it's own CSS, and is fully customisable.

This widget is also available as a WordPress plugin: StatsFC Match Centre.

Full Code Example

    <title>Your Website Title</title>

    <!-- Load jQuery -->
    <script src="//"></script>

    <!-- Load additional library -->
    <script src=""></script>
    <link rel="stylesheet" href="">

    <!-- Load Stats FC Results SDK -->
        (function(d, s, id) {
            var js, fjs = d.getElementsByTagName(s)[0];
            if (d.getElementById(id)) return;
            js = d.createElement(s); = id;
            js.src = '';
            fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'statsfc-match-centre-js'));

    <!-- Your results here -->
    <div class="statsfc-match-centre"
        data-key="YOUR STATSFC KEY"



Setting HTML5 Attribute Description Default
key data-key Required. Your Stats FC account key. None
team data-team Required. The name of the team you want to show the match centre for.
E.g., Manchester City, Liverpool
date data-date Optional. The date of the match.
E.g., 2024-06-14, today
timezone data-timezone Optional. The timezone you want to convert the match time to.
omitErrors data-omit-errors Optional. Whether or not you want to omit error messages.
Can be one of: true, false
useDefaultCss data-use-default-css Optional. Whether or not you want to use the widget's default styles.
Can be one of: true, false
lang data-lang Optional. The ISO 639-1 two-letter language code.

Code Generator

Field Value


If you'd like to help us with any translations please get in touch at