开发者 | creatorseo |
---|---|
更新时间 | 2024年11月15日 18:38 |
捐献地址: | 去捐款 |
PHP版本: | 7.3 及以上 |
WordPress版本: | 6.7 |
版权: | 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.
In-line elements (like span and a) ignore vertical (top and bottom) margins and only apply horizontal margins. This is in accordance with the CSS specification. Wherever possible, apply the CTA button class only to block level elements (like button and div) and this issue will not occur.