Add a countdown module to wordpress using pure code, and you can customize the countdown content arbitrarily

888u

Last update at :2024-05-11,Edit by888u

Today I will show you how to add a countdown module using pure code and the custom html function that comes with WordPress. This method theoretically supports all websites. Please test it yourself.

1. Function demonstration

Refer to the homepage of this site

2. wordpress code

1. Enter the WordPress website backend

2. Select Appearance-Widgets-Add custom html gadget.

3. Fill in the following code:

2020 year-newyeardowncounthour

157 days 9 hours 7 points 42 seconds

4. Click Save to browse and view in the front desk.

3. Other website codes

2020 year-newyeardowncounthour

157 days 9 hours 7 points 42 seconds

Recommended site searches: Beijing host rental, Chinese domain name registration query, site group server, .cn domain name registration, application for free space and domain name, cc domain name, vps server rental, multi-ip site group server, .Chinese domain name 100m free space ,

Add a countdown module to wordpress using pure code, and you can customize the countdown content arbitrarily

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码