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
【Elementor】替文章加上最後更新的日期 – WordPress網站架設線上課程新手教學 – 小訣學院

【Elementor】替文章加上最後更新的日期

方法很多很多種,簡單記錄二個比較好上手的方式,兩種都可以成功且簡單。

方式一 : Elementor全域小工具

拉一個Elementor標題或文字或文章資訊的小工具,內容選動態再選文章日期再勾最後修改時間,然後存成全域小工具,再複製這個簡碼,即可用手動方式固定插入在文章指定區域。

或再用hook自動插入方式在文首或文末。

未提供相片說明。

補充:

如果有用Elementor幫文章做「單頁模版」的話,就可以在模版中直接加入即可。

方式二,用php簡碼

使用外掛「Code Snippets」,增加下面的Code。

function facy_last_updated_date() {
$u_time = get_the_time('U');
$u_modified_time = get_the_modified_time('U');
if ($u_modified_time >= $u_time + 86400) {
return the_modified_time('Y-m-d');
}
}
add_shortcode('update', 'facy_last_updated_date');

//使用 : [update]
//日期格式修改參考 : https://wordpress.org/support/article/formatting-date-and-time/

然後複製簡碼,在用區塊編輯器寫文章時手動貼上即可。

 


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

發表留言