內容簡介
一個不起眼的方法來突顯你的直播 twitch。它與大多數主題兼容,開箱即用,也可以完全自定義。
安裝後您將需要輸入您的 Twitch 頻道名稱。
您可以使用 WordPress 內置的外觀自定義器對以下設置進行自定義:
是否要在頻道離線時隱藏指示符號。
是否在點擊時在新窗口中打開串流。
在直播時顯示的文字。
離線時顯示的文字。
將指示符號位置設置在頂部/底部、左側/右側。
與頂部/底部/左側/右側的像素距離。
設置是否隨內容滾動或保持固定位置。
背景顏色、文字顏色、直播文字顏色、懸停文字顏色和直播懸停文字顏色。
是否要圓角化指示符號(以及像素值)。如果設置為緊貼窗口邊緣,指示符號將在一側移除圓角。
懸停時是否要下劃線連結。
是否在特定寬度/解析度以下隱藏指示符號(例如在移動設備上)。
要求
建議使用 PHP 5.6+、7、7.1、7.2 和 7.3 以獲得更好的性能,WordPress 5.0+。
外掛標籤
開發者團隊
原文外掛簡介
A discreet method to highlight your live twitch stream. Works with most themes, looks good out of the box and is entirely customisable.
After installation you’ll need to enter your Twitch channel name.
You can customise the following settings, with a live preview of your changes using the Appearance Customiser built into WordPress:
Whether to hide the indicator when the channel is offline.
Whether to open the stream in a new window if clicked.
The text to display when Live.
The text to display when Offline.
Whether to position the indicator in the top/bottom, left/right.
How far from the top/bottom/left/right in pixels.
Whether to scroll with the content or remain in a fixed position
The colour of the background, text colour, live text colour, hover text colour, and live hover text colour.
Whether to round the corners of the indicator (and by how many pixels). The indicator will remove the rounded corners on one side if set to be against the edge of the window.
Whether to underline the link on hover.
Whether to hide below a certain width/resolution (for example on mobile).
Requirements
PHP 5.6+, 7, 7.1, 7.2 & 7.3 recommended for better performance, WordPress 5.7+
