Skip to main content

Facebook Settings and Configuration

The Facebook extension does not add a dedicated settings screen. Configuration happens through a per-team meta field and the widget options.

Updated today

Facebook Settings and Configuration

The Facebook extension does not add a dedicated settings screen. Configuration happens through a per-team meta field and the widget options.

Team meta box

Each team gains a Facebook meta box on the team edit screen. The meta box contains a single field:

Once saved, the URL is available to the Facebook widget for the "use team's Page URL" option, and to any custom theme template that calls get_post_meta( $team_id, 'sp_facebook', true ).

Widget options

The Facebook widget is registered under Appearance → Widgets and exposes:

Option

Purpose

Title

Optional heading shown above the embed

Page URL

Fixed Facebook Page URL — used when the widget is placed in a sitewide sidebar

Use team's Page URL

Checkbox; when ticked and the widget renders on a team page, pulls the URL from that team's sp_facebook meta instead of the fixed value

Tabs

Multiselect controlling which Facebook tabs are shown: Timeline, Events, Messages

The widget loads the Facebook Page Plugin SDK from js/sportspress-facebook-sdk.js on the frontend.

Enabling the module manually (free plugin only)

If you're not running SportsPress Pro or a ThemeBoy theme, the conditional load may keep the plugin's hooks dormant. Add this to your theme's functions.php to force-enable:

add_action( 'init', function() {
    update_option( 'sportspress_load_facebook_module', 'yes' );
}, 1 );

Did this answer your question?