| 开发者 | polymetric |
|---|---|
| 更新时间 | 2026年6月4日 18:21 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
rel="nofollow sponsored" support.floatingcta folder to /wp-content/plugins/.Yes. Floating CTA uses standard WordPress hooks and minimal CSS that works with any properly coded theme. The bar is fixed-positioned and doesn't interfere with your theme's layout.
No. The total frontend footprint is approximately 3KB (CSS + JS combined). Scripts only load on posts where the bar is enabled.
The free version works on posts only. Floating CTA Pro supports pages and any custom post type.
Yes. The free version automatically emits Schema.org Product, Offer, and AggregateRating JSON-LD based on the data you enter for each bar. It skips itself when another plugin (Yoast, Rank Math, AIOSEO) already wrote a Product schema for the page, so you never get duplicate entities. Floating CTA Pro adds per-post disable and force-emit toggles for advanced control.
Yes. The dismiss action only hides the bar for the current page view (no persistent state is stored), so cached pages always serve the bar consistently.
Yes. There's a dismiss button that hides the bar for the current page view — refreshing or navigating to another post brings it back.
Offer (price + availability) by default. On affiliate and review sites the Buy button points to a third-party seller, so an Offer on your own URL pulled pages into Google's Merchant listings program and triggered "missing shippingDetails / hasMerchantReturnPolicy / global identifier" warnings that an affiliate (or a service such as a financial product) cannot satisfy.fcta_schema_offer filter (default false) to restore the Offer node for sites that genuinely sell the item on their own domain.fcta_after_cta_button fires between the primary CTA and the dismiss button, letting add-ons place secondary buttons next to the primary CTA.fcta_settings_page_top (fires above the tab nav on Settings → Floating CTA). Lets add-ons render compact header toolbars.fcta_product_info_top (inside the product-info column above the title) and fcta_before_price_col (inside the inner flex row immediately before the price column). Lets Pro position badge/coupon-style add-ons near the title and price without DOM manipulation. No user-facing changes in free.fcta_after_render_bar with built-in conflict avoidance (skipped automatically when another plugin already emitted a Product schema)fcta_settings_tabs filterfcta_settings_tabs, fcta_schema_enabled, fcta_schema_avoid_conflictsfcta_bar_inline_css filter is now rendered correctly inside the <style> tag (previous esc_html() call HTML-encoded the CSS attribute-selector quotes, breaking add-on color overrides). </style> breakout still defended via string replacement.fcta_meta_fields, fcta_supported_post_types, fcta_should_show_bar, fcta_should_render, fcta_render_data, fcta_bar_classes, fcta_bar_inline_css, fcta_settings_defaults, fcta_register_settings, fcta_show_pro_section) and action hooks (fcta_before_render_bar, fcta_after_render_bar, fcta_bar_inside, fcta_after_settings_form, fcta_meta_box_after_fields) to let companion plugins extend behavior cleanly