开发者 | patbolger |
---|---|
更新时间 | 2018年5月7日 18:42 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 4.9.5 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
If you want to change the button text (default button text is 'Host Me Now!') then use: [s5-cloud planCode="IXVCDplan"] Button Text [/s5-cloud] or [s5-cloud domain="testdomain.stratus5.net" planCode="IXVCDplan"]Button Text[/s5-cloud] To learn more about creating a price plan refer to Stratus5 Dev Center at https://stratus5.com/documentation/
If you want to add a link for your customers to connect to the admin panel of your application then use the shortcode attribute 'login'. When set it will create an additional link in the final screen after the application deployment. [s5-cloud domain="testdomain.stratus5.net" planCode="IXVCDplan" login="wp-admin"]Button Text[/s5-cloud] This shortcode will create the following output: testdomain.stratus5.net/wp-admin
If you would like themes or plugins installed with your application, then you should use the the following shortcode attributes: themeUrls: A comma separated list of publicly accessible urls to themes that you would like installed with your application pluginUrls: A comma separated list of publicly accessible urls to plugins that you would like installed with your application [s5-cloud domain="testdomain.stratus5.net" themeUrls="http://mytheme.com/themes/theme1.zip" pluginUrls="http://mytheme.com/themes/plugin1.zip,http://mytheme.com/themes/plugin2.zip"]Button Text[/s5-cloud]
If you want to add credit card details for example if the plan has 0 trial days, you should add requireCreditCard="y" [s5-cloud domain="testdomain.stratus5.net" requireCreditCard="y"]Button Text[/s5-cloud] == What if my customer's domain will be different from the api domain? If you want the target domain to be different from the domain defined above you need to add a target attribute\ [s5-cloud domain="accounts.mydomain.com" target="mydomain.com"]Button Text[/s5-cloud]
You can use your existing CSS classes through the shortcode attribute 'class': [s5-cloud planCode="IXVCDplan" class="myclass"] Shortcodes for individual settings The following attributes can be used for individual setup. s5username, s5password, s5bg.