| 开发者 | creatorseo |
|---|---|
| 更新时间 | 2026年11月12日 01:01 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
cta-button-styler to the /wp-content/plugins/ directoryYes, this first release of CTA Button Styler is a very straightforward plugin and can be used to create Call to Action buttons on menus and on links.
Yes, the plugin allows you to change colours, button size, hover styles etc. There are a range of styling options to change using the Call To Action Styling option on the WordPress 'Appearance' admin dashboard.
Click on Call To Action Styling option on the WordPress 'Appearance' admin dashboard.
Simply add the cta101 as class name to the link e.g. class="cta101"
Yes, but too many calls to action on any page will defeat the objective. Ideally try to have no more than 2 calls to action visible on any page view.
Only one user defined style is provided in this plugin at the moment. However, the code was developed to allow for multiple styles and even for A/B testing of calls to action. If there is demand for this additional functionality, it will be provided in a later version.
The CTA button sometimes has to compete with the styling in the theme and the button then may not appear as it should. Fortunately there is an easy solution to this. Just enclose your menu Navigation Label in the tags <button class="cta101">Navigation Label</button>. Do not include the style tag in the menu CSS field. Everything now should work.
CTA Button Styler displays links and spans carrying the CTA class as inline-block elements so their padding, borders and vertical margins occupy space correctly. If overlap still occurs, check whether your theme or custom CSS overrides the display property. Clear any page caches after updating the plugin.