开发者 |
themeist
hchouhan |
---|---|
更新时间 | 2024年7月18日 08:01 |
捐献地址: | 去捐款 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.6 |
版权: | GPL-3.0 |
版权网址: | 版权信息 |
[irecommendthis]
- Add the voting link to any page.[irecommendthis_top_posts post_type='post' container='div' number='10' year='2023' monthnum='7']
- Display most recommended posts.i-recommend-this
plugin zip file from the WordPress plugin repository.i-recommend-this
folder to the /wp-content/plugins/
directory on your WordPress server.Plugins
> Installed Plugins
.I Recommend This
in the list and click the Activate
link.Settings
under the I Recommend This
plugin name on the plugins page or navigate to Settings
> I Recommend This
.single.php
):
<?php if ( function_exists( 'irecommendthis' ) ) irecommendthis(); ?>
[irecommendthis]
shortcode.[irecommendthis_top_posts]
shortcode with customizable attributes. Example:
[irecommendthis_top_posts post_type='post' container='div' number='10' year='2023' monthnum='7']
``<?php if ( function_exists( 'irecommendthis' ) ) echo do_shortcode( "[irecommendthis_top_posts container='div' post_type='post' number='10' year='2023' monthnum='7']" ); ?>
Appearance
> Widgets
in the WordPress admin dashboard.Most Recommended Posts
widget in the list of available widgets.Save
to add the widget to your site.You can customize the look of the recommend button via the plugin settings. Navigate to Settings
> I Recommend This
in your WordPress dashboard to choose from different heart or thumbs-up icon. You can also disable the plugin’s default CSS and use your own custom styles.
The plugin uses cookies and IP address tracking to prevent multiple recommendations from the same user. These settings can be configured in the plugin’s settings panel.
Yes, you can choose to hide the counter if the count is zero. This option can be found in the plugin’s settings.
You can display the most recommended posts using the [irecommendthis_top_posts]
shortcode or the included widget. Customize the attributes of the shortcode to fit your needs.
Yes, the plugin includes an option to disable IP address saving to comply with GDPR regulations. You can enable this option in the plugin settings.
Yes, the recommend button can be added to any post type. You can use the [irecommendthis]
shortcode to place the button on custom post types.
Yes, "I Recommend This" is compatible with most caching plugins. However, you may need to exclude the recommendation button from being cached to ensure it updates correctly in real-time.
Yes, you can integrate the recommend button directly into your theme by adding the following code to your theme template files:
``<?php if ( function_exists( 'irecommendthis' ) ) irecommendthis(); ?>
Take a look at the official "I Recommend This" FAQ.
You can also visit the support center and start a discussion if needed.
Please report security bugs found in the source code through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment and take care of notifying the developers of this plugin.