Deprecated: Creation of dynamic property Alg_WC_Custom_Order_Numbers::$settings is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/custom-order-numbers-for-woocommerce/class-alg-wc-custom-order-numbers.php on line 108

Deprecated: Creation of dynamic property Alg_WC_Custom_Order_Numbers_Settings_General::$id is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/custom-order-numbers-for-woocommerce/includes/admin/class-alg-wc-custom-order-numbers-settings-general.php on line 29

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the custom-order-numbers-for-woocommerce domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 6121

Deprecated: Creation of dynamic property Alg_WC_Custom_Order_Numbers_Settings_General::$desc is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/custom-order-numbers-for-woocommerce/includes/admin/class-alg-wc-custom-order-numbers-settings-general.php on line 30

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the download-manager domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 6121

Deprecated: Creation of dynamic property WPDM\WordPressDownloadManager::$package is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/download-manager/download-manager.php on line 188

Deprecated: Creation of dynamic property WPDM\WordPressDownloadManager::$email is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/download-manager/download-manager.php on line 201

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin_Admin::$plugin is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/admin/class-admin.php on line 41

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin_Admin::$url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/admin/class-admin.php on line 42

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin_Admin::$rating is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/admin/class-admin.php on line 43

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin::$admin is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/float-menu.php on line 88

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin_Public::$plugin is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/public/class-public.php on line 28

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin_Public::$url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/public/class-public.php on line 29

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin_Public::$rating is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/public/class-public.php on line 30

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin::$public is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/float-menu.php on line 89

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 7360

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 2195

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 7360

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 2195

Deprecated: Creation of dynamic property Factory325_Plugin::$options is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 76

Deprecated: Creation of dynamic property Factory325_Plugin::$mainFile is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 79

Deprecated: Creation of dynamic property Factory325_Plugin::$pluginRoot is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 80

Deprecated: Creation of dynamic property Factory325_Plugin::$pluginSlug is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 81

Deprecated: Creation of dynamic property Factory325_Plugin::$relativePath is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 82

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 7360

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 2195

Deprecated: Creation of dynamic property Factory325_Plugin::$pluginUrl is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 83

Deprecated: Creation of dynamic property Factory325_Plugin::$childPlugins is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 86

Deprecated: Creation of dynamic property Factory325_Plugin::$pluginName is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 89

Deprecated: Creation of dynamic property Factory325_Plugin::$pluginTitle is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 90

Deprecated: Creation of dynamic property Factory325_Plugin::$version is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 91

Deprecated: Creation of dynamic property Factory325_Plugin::$build is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 92

Deprecated: Creation of dynamic property Factory325_Plugin::$tracker is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 93

Deprecated: Creation of dynamic property Factory325_Plugin::$host is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 94

Deprecated: Creation of dynamic property Factory325_Plugin::$api is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/api/api.php on line 14

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 7360

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 2195

Deprecated: Creation of dynamic property OnpLicensing325_Manager::$default is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/licensing/licensing.php on line 52

Deprecated: Creation of dynamic property OnpLicensing325_Manager::$type is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/licensing/licensing.php on line 64

Deprecated: Creation of dynamic property OnpLicensing325_Manager::$build is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/licensing/licensing.php on line 68

Deprecated: Creation of dynamic property OnpLicensing325_Manager::$key is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/licensing/licensing.php on line 69

Deprecated: Creation of dynamic property OnpLicensing325_Manager::$word is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/licensing/licensing.php on line 70

Deprecated: Creation of dynamic property Factory325_Plugin::$license is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/licensing/licensing.php on line 16

Deprecated: Creation of dynamic property OnpUpdates324_Manager::$word is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/updates/updates.php on line 48

Deprecated: Creation of dynamic property Factory325_Plugin::$updates is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/updates/updates.php on line 15

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ninja-tables-pro domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the learndash domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 6121

Deprecated: Creation of dynamic property LearnDash_Theme_Register_Legacy::$theme_base_dir is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/legacy/includes/class-ld-themes-register.php on line 21

Deprecated: Creation of dynamic property LearnDash_Theme_Register_Legacy::$theme_base_url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/legacy/includes/class-ld-themes-register.php on line 22

Deprecated: Creation of dynamic property LearnDash_Theme_Register_Legacy::$theme_template_dir is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/legacy/includes/class-ld-themes-register.php on line 23

Deprecated: Creation of dynamic property LearnDash_Theme_Register_Legacy::$theme_template_url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/legacy/includes/class-ld-themes-register.php on line 24

Deprecated: Creation of dynamic property LearnDash_Theme_Register_LD30::$theme_base_dir is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/ld30/includes/class-ld-themes-register.php on line 25

Deprecated: Creation of dynamic property LearnDash_Theme_Register_LD30::$theme_base_url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/ld30/includes/class-ld-themes-register.php on line 26

Deprecated: Creation of dynamic property LearnDash_Theme_Register_LD30::$theme_template_dir is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/ld30/includes/class-ld-themes-register.php on line 27

Deprecated: Creation of dynamic property LearnDash_Theme_Register_LD30::$theme_template_url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/ld30/includes/class-ld-themes-register.php on line 28

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-user-avatar domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 6121

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$ecpay_pay is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 98

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$apple_pay_key_path is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 101

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$apple_pay_crt_path is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 102

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$apple_pay_key_pass is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 103

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$apple_display_name is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 104

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$MerchantID is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 106

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$HashKey is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 107

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$HashIV is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 108

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the health-check domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 6121

Deprecated: Creation of dynamic property Imagify\Job\MediaOptimization::$query_url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/imagify/inc/classes/class-imagify-abstract-background-process.php on line 38

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/elementor-pro/modules/loop-builder/module.php on line 204

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-general-per-page.php on line 48

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-general-rest-api.php on line 52

Deprecated: Creation of dynamic property LearnDash_Settings_Section_General_REST_API::$setting_option_fields_v1 is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-general-rest-api.php on line 208

Deprecated: Creation of dynamic property LearnDash_Settings_Section_General_REST_API::$setting_option_fields_v2 is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-general-rest-api.php on line 276

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/class-ld-settings-sections.php on line 796

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-groups-management-display.php on line 78

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property Advanced_Editor_Tools::$toolbar_classic_block is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/tinymce-advanced/tinymce-advanced.php on line 306

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-quizzes-management-display.php on line 94

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-quizzes-email-settings.php on line 97

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-groups-group-leader-user.php on line 59

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-groups-membership.php on line 74

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-courses-themes.php on line 66

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/ld30/includes/class-ld-settings-section-theme-ld30.php on line 64
如何讓單篇文章呈現點閱次數並可修改其點閱數? – WordPress網站架設線上課程新手教學 – 小訣學院

如何讓單篇文章呈現點閱次數並可修改其點閱數?

之前介紹這一款【WP Statistics 】全站流量分析,有點類似GA流量分析,可以做全站流量統計,也能讓單篇文章的點閱次數直接秀在前台每篇文章上,但無法直接修改每篇的點閱數(要進資料庫改),而這邊另介紹一個可以修改單篇點閱量的方式,安裝好就可以在每篇文章中修改了。

【Post Views Counter】

載點: https://wordpress.org/plugins/page-views-count/

安裝好後做點基本設定就可以了,如下圖效果:

圖中的icon與英文字當然可以在設定中修改。

想要自訂顯示位置的話,可用簡碼[post-views]插入文章單頁模版中(可用Elementor做最方便)。

同時它也有有「熱門文章」(側欄)功能,就不用再另安裝【Top 10】了。

另一款

【Page View Count】(後面沒有er)

載點 : https://tw.wordpress.org/plugins/post-views-counter/

安裝好後做點基本設定就可以了,如下圖效果:

這款比較特殊的是它可以有現「總點閱:n次,今日點閱:n次」,有一個「今日點閱」,可以一眼就了解單篇今日流量如何。

這款的icon與英文字我沒有試改過,但理論上應也可以改。

也支援簡碼,但簡碼是php的代碼,所以還要再搭配【Custom css-js-php】轉成WP簡碼才能直接在Elementor插入簡碼。

修改單篇統計數字

如果有這需求,可能是為了給業主看,則以上兩款的統計數字,也可以在後台隨意修改。

如果沒有修改單篇統計的需求,其實只要裝【Wp Statistic】這款就可以了,然後經過設定也可以在單篇秀出點閱數,或是搭配簡碼可以自行在文章模版中任意位置插入單篇點閱數了。

Wp Statistic簡碼:

  • 今日點閱(單篇): wpstatistics stat=pagevisits time=today
  • 總點閱(單篇): wpstatistics stat=pagevisits time=total

簡碼要用[ ]包起來,另其它簡碼參數,請參考官方


補充另一款

另一款外掛叫【Top 10 – Popular posts plugin for WordPress】熱門文章功能,

不僅可以讓原本沒有內建熱門文章的wordpress在側欄可以顯示熱門點閱的文章,

也可以讓每篇文章秀出單篇的點閱率,

每篇文章也能個別修改點閱次數,

也有php代碼可以讓你有自訂文章模版需求時時可以用,

可以用來配合Elementor Pro製作單一篇文章模版時置入簡碼 :

  • 總點閱 : [tptn_views]
  • 今日點閱 : [tptn_views]

※以上做個小總結:

  1. 身具「單篇點閱統計」與「熱門文章」的功能 : 【Post Views Counter】與 【Top 10 – Popular posts plugin for WordPress】
  2. 身具「全站流量分析」與「單篇點閱統計」的功能 : 【Wp Statistic】。

在〈如何讓單篇文章呈現點閱次數並可修改其點閱數?〉中有 4 則留言


Deprecated: str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/comment-template.php on line 2687

發表留言