开发者 |
chemiker
cfoellmann |
---|---|
更新时间 | 2024年2月6日 20:11 |
捐献地址: | 去捐款 |
PHP版本: | 5.3 及以上 |
WordPress版本: | 6.1.1 |
版权: | MIT |
版权网址: | 版权信息 |
/wp-content/plugins/
directorySettings > Podlove Subscribe Button
[podlove-subscribe-button id="{{yourButtonID}}"]
with your button ID, or use the provided Podlove Subscribe Button WidgetAppearance -> Widgets
and drag the "Podlove Subscribe Button" widget to your sidebar configuration. Select the pre-configured button from the list and determine which style you want. That's it. The button should show up in your sidebar. Optionally add a title and description for your widget.
This is the easiest and recommended way of using this plugin especially if you ony want to display a button for a single podcast. For best visibility choose size "big" and format "cover" to make your Subscribe Button stand out and easily locatable.
Include the Subscribe Button in WordPress pages using a Shortcode
If you want to include a Podlove Subscribe Button in a WordPress page (or a post) just put the shortcode [podlove-subscribe-button]
at the desired position in your text. Use the following shortcode parameters to configure it properly:
button
- the ID of one of your preconfigured buttonssize
- one of 'small', 'medium', 'big'width
- specify desired button width in CSS compatibles values or 'auto' automatic width depending on context.color
- specify the color of the button in a CSS compatible format (keyword, rgb-hex, rgb, rgba, hsl, hsla)style
- default is filled, options are 'outline' and 'frameless'format
- default is a rectangle, options are 'square' and 'cover' (Note: 'cover' has a max size of 300px)hide
- if set to true
the button will not be shown (useful if you want to use your own element)language
- specify the language the texts on the button and popup should be in (currently supports 'de', 'en', 'eo', 'fi', 'fr', 'nl', 'zh' and 'ja')[podlove-subscribe-button button="mybutton1" size="big"]
Displays a large button with the podcast logo on top using data from button configuration with id "mybutton1". All other options will be set to the globally set default values.
[podlove-subscribe-button button="mybutton2" size="medium" width="100pt" language="de"]
Displays a small button with a width of 100pt using data from button configuration with id "mybutton2" in german. All other options will be set to the globally set default values.
[podlove-subscribe-button button="mybutton3" size="big" width="auto" format="cover"]
Displays a big button with a the podcast cover and automatically adjusted using data from button configuration with id "mybutton3". All other options will be set to the globally set default values.
[podlove-subscribe-button button="mybutton4" format="square" style="frameless"]
Displays a small, frameless square button with using data from button configuration with id "mybutton4". All other options will be set to the globally set default values.Yes and No. If you simply want to display a Subscribe Button for your Podcast you publish with the Podlove Publisher you do not need this plugin as the Publisher itself provides this functionality. If you want to display multiple Subscribe Buttons you can use the Subscribe Button plugin.
You can find the Panel in the Networks Settings Section
No. This plugin just embeds the code that is needed to display the Podlove Subscribe Button. The button itself is served live from api.podlove.org
No. As the Podlove Subscribe Button is hosted centrally, it gets updated regularly independent from this pugin.
Consult the information provided on the technical information page at podlove.org on how the button works and what app developers need to support and do in order to get listed in the button.
wp-admin/
from Network-Settings URLid
attribute to button