| 开发者 | chrsinteractive |
|---|---|
| 更新时间 | 2025年12月28日 03:20 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[social-icons] - Displays all configured social icons
[social-icons platforms="facebook,twitter,instagram"] - Display specific platforms
[social-icons size="32" color="#000000" hover="#0073aa" style="circle"] - Customize appearance
Available styles: default, circle, square, rounded
Change default icon settings in the Style tab.
Social Link Shortcode
Display a text link to a social media profile:
[social-link social_id="fburl" link_title="Follow us on Facebook"]
Template Usage
Use in your theme templates:
<?php $options = get_option( 'chrs_theme_options' ); echo esc_url( $options['fburl'] ); ?>
Your Google Analytics 4 measurement ID starts with "G-" followed by alphanumeric characters. Find it in Google Analytics under Admin > Data Streams > your stream > Measurement ID.
In Meta Events Manager, select your pixel and find the 15-16 digit Pixel ID in the overview section.
Yes, Google Tag Manager's body code requires your theme to support the wp_body_open() hook. Most modern themes include this. If not, add <?php wp_body_open(); ?> right after the opening <body> tag in your theme's header.php.
Yes! Version 2.0 adds custom code fields for header, body, and footer. Note: Only users with the unfiltered_html capability can save JavaScript code.