Linux 软件免费装
Banner图

Advanced Steam Widget

开发者 snakebytestudios
更新时间 2026年8月22日 16:25
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later

标签

widget template block gaming Steam

下载

1.0 1.0.1 1.5 1.6 1.6.1 1.7 2.0

详情介绍:

This plugin will add a widget that displays a Steam user's status and recent gaming history. It employs caching to keep your site's performance up and make it less susceptible to Steam outages or errors. No Steam API key is required, and it supports both classic widgets and block widgets. The widget comes with the following templates (see screenshots) that you can easily switch between to customize what information is displayed: You can also add custom steam widget templates to your theme, which support the following attributes pulled from a Steam profile:

安装:

  1. Copy the contents of this archive to the /wp-content/plugins/ directory
  2. 通过 WordPress 的“插件”菜单激活插件
  3. For Classic Widgets:
  4. Go to the 'Appearance > Widgets' menu and add 'Steam Widget' to a sidebar.
  5. Copy a Steam Profile URL, expand the widget's options, paste the URL into the options, and save.
  6. For Block Widgets
  7. Add a 'Steam Widget' to anywhere in your theme templates or post/page contents.
  8. Copy a Steam Profile URL, expand the widget's options, paste the URL into the options, and the widget should refresh data and render automatically.

屏幕截图:

  • Profile Small template
  • Profile + Games template
  • Games Only template
  • Games Grid template
  • Full-page Profile template
  • Classic Widget options
  • Block Widget options

升级注意事项:

2.0 The plugin will require re-activation (due to a filename change). If you're using a custom preset, you might want to save the template contents before updating as that data will be deleted.

常见问题:

I put the widget into my sidebar but nothing is displayed on my site.

  1. First, make sure you put your Steam Profile URL in the widget's settings.
  2. Check that your Steam profile privacy is set to public. 'Game Detail' privacy also needs to be public if you want game history.
  3. Try forcing a cache update by using the 'Refresh Data' button (classic widget) or temporarily lowering the 'Update Interval' and reloading the page.

How do I find my Steam Profile URL?

In either Steam itself or on the Steam website, go to your 'Profile' and copy the URL. The URL on the page will either be in the format http://steamcommunity.com/id/XXX or http://steamcommunity.com/profiles/XXX. For the latter, it will be a unique 17-digit number. If you want to use the former, which has a prettier URL, go to "Edit Profile" and enter a "Custom URL".

How do I customize the look of my widget?

Add a directory called 'advanced-steam-widget' to your theme's directory. Create a PHP file here and add 'Template Name: XXX' to a header comment to name your template. If you wish to use a separate CSS file, define it in the header comment as 'Template Style: XXX' with a path relative to your template. See the included templates for available Steam data variables and CSS enqueuing.

How do I get support for this plugin?

You'll need to go the SnakeByte Studios website to get help or report issues. You can either post a comment on the plugin page or use the contact form to send an email. This is because of Wordpress.org's stupid rules around 'brand' usernames interacting on their support forums.

What is the shortcode for?

When you save a classic widget's settings, it will show you a shortcode that you can use to display that widget in pages or posts. Just copy and paste the code where you want the widget. It's recommended to use the 'Full-page Profile' template with the shortcode. You can move the widget into the "Inactive Widgets" area when only using the shortcode.

Why is this plugin 'Advanced'?

When the plugin was originally created, 'Advanced' was added to the name to distinguish it from other Steam widgets available at the time. The plugin was more advanced because it cached Steam data instead of requesting it on every page load.

更新日志:

2.0 1.7 1.6.1 1.6 1.5 1.0.1 1.0