$list_IP_entry
array(596) {
  [0]=>
  string(28) "42.118.199.81, 172.70.143.75"
  [1]=>
  string(29) "185.191.171.43, 172.70.34.134"
  [2]=>
  string(29) "157.55.39.10, 108.162.246.223"
  [3]=>
  string(29) "114.119.129.50, 172.70.143.89"
  [4]=>
  string(30) "103.131.71.192, 172.70.142.122"
  [5]=>
  string(29) "14.226.232.240, 172.70.142.54"
  [6]=>
  string(27) "157.55.39.10, 172.68.132.65"
  [7]=>
  string(29) "157.55.39.10, 162.158.146.214"
  [8]=>
  string(55) "2001:ee0:4cc8:f830:1579:6ba9:5e94:fdd2, 162.158.178.135"
  [9]=>
  string(28) "34.234.54.252, 172.69.63.127"
  [10]=>
  string(28) "34.234.54.252, 172.70.34.134"
  [11]=>
  string(27) "34.234.54.252, 172.70.34.52"
  [12]=>
  string(28) "66.249.64.129, 172.70.134.22"
  [13]=>
  string(31) "114.119.129.50, 162.158.167.226"
  [14]=>
  string(28) "66.249.66.210, 172.69.62.220"
  [15]=>
  string(27) "40.71.126.245, 172.70.34.40"
  [16]=>
  string(30) "113.173.202.213, 172.70.143.89"
  [17]=>
  string(53) "2403:e200:16c:4b34:141e:be79:fa65:c0f9, 172.70.142.54"
  [18]=>
  string(29) "114.119.129.71, 172.70.143.75"
  [19]=>
  string(26) "66.249.64.90, 172.70.34.76"
  [20]=>
  string(52) "2001:ee0:4c64:c970:95cd:a26f:b4:95e9, 162.158.179.43"
  [21]=>
  string(31) "171.224.178.255, 162.158.167.18"
  [22]=>
  string(31) "23.100.232.233, 108.162.241.152"
  [23]=>
  string(30) "14.243.197.173, 162.158.167.18"
  [24]=>
  string(30) "113.167.107.226, 172.70.147.94"
  [25]=>
  string(28) "88.198.25.244, 162.158.89.77"
  [26]=>
  string(27) "27.71.98.82, 172.70.147.148"
  [27]=>
  string(30) "114.119.129.82, 172.70.188.112"
  [28]=>
  string(30) "114.119.129.92, 162.158.165.30"
  [29]=>
  string(27) "162.55.86.61, 162.158.90.20"
  [30]=>
  string(29) "185.191.171.21, 172.70.34.156"
  [31]=>
  string(31) "114.119.129.225, 172.70.188.250"
  [32]=>
  string(30) "207.46.13.146, 108.162.246.223"
  [33]=>
  string(54) "2402:800:6119:c61f:7005:c357:c491:6c65, 172.70.188.178"
  [34]=>
  string(31) "185.130.184.203, 141.101.68.244"
  [35]=>
  string(31) "185.130.184.203, 141.101.69.121"
  [36]=>
  string(27) "42.118.109.6, 172.68.144.15"
  [37]=>
  string(27) "40.77.167.65, 172.70.134.22"
  [38]=>
  string(29) "114.119.129.22, 172.70.147.94"
  [39]=>
  string(29) "42.113.209.202, 172.70.143.75"
  [40]=>
  string(29) "118.70.149.12, 172.70.188.142"
  [41]=>
  string(28) "115.79.197.7, 172.70.188.142"
  [42]=>
  string(29) "14.162.64.124, 172.69.135.190"
  [43]=>
  string(28) "14.162.64.124, 172.70.143.75"
  [44]=>
  string(28) "113.23.2.110, 172.70.142.204"
  [45]=>
  string(29) "185.191.171.21, 172.70.42.159"
  [46]=>
  string(28) "88.198.25.244, 162.158.94.97"
  [47]=>
  string(27) "1.55.109.230, 172.70.143.76"
  [48]=>
  string(26) "40.77.167.72, 172.70.34.77"
  [49]=>
  string(30) "103.131.71.148, 172.70.147.159"
  [50]=>
  string(28) "162.55.86.61, 162.158.89.212"
  [51]=>
  string(26) "66.249.73.24, 172.69.71.75"
  [52]=>
  string(26) "66.249.73.11, 172.69.71.75"
  [53]=>
  string(25) "66.249.73.7, 172.69.71.75"
  [54]=>
  string(30) "103.131.71.169, 172.70.147.159"
  [55]=>
  string(26) "66.249.73.26, 172.69.71.75"
  [56]=>
  string(29) "42.115.104.111, 172.70.142.55"
  [57]=>
  string(27) "40.77.167.72, 172.69.62.221"
  [58]=>
  string(30) "114.119.129.22, 162.158.166.32"
  [59]=>
  string(25) "66.249.73.9, 172.69.71.75"
  [60]=>
  string(26) "66.249.73.25, 172.69.71.75"
  [61]=>
  string(31) "171.248.242.33, 162.158.165.227"
  [62]=>
  string(29) "207.46.13.65, 162.158.146.215"
  [63]=>
  string(30) "113.190.252.138, 172.70.143.90"
  [64]=>
  string(30) "14.229.172.179, 172.70.142.205"
  [65]=>
  string(31) "168.119.140.252, 162.158.88.101"
  [66]=>
  string(26) "66.249.73.13, 172.69.71.75"
  [67]=>
  string(29) "113.161.89.246, 172.68.144.16"
  [68]=>
  string(31) "114.119.129.208, 172.70.142.205"
  [69]=>
  string(30) "157.55.39.156, 108.162.246.224"
  [70]=>
  string(27) "14.182.255.5, 172.70.143.90"
  [71]=>
  string(28) "66.249.73.26, 162.158.74.144"
  [72]=>
  string(28) "66.249.73.25, 172.70.130.151"
  [73]=>
  string(29) "14.245.62.236, 172.70.188.201"
  [74]=>
  string(27) "14.226.2.64, 172.69.135.217"
  [75]=>
  string(30) "114.119.130.29, 172.70.142.205"
  [76]=>
  string(30) "108.5.183.203, 108.162.219.121"
  [77]=>
  string(55) "2402:800:6205:87f6:fc5f:1acf:504b:5878, 162.158.179.238"
  [78]=>
  string(54) "2405:4800:5715:1f1f:e91c:2e3d:9013:efed, 172.70.143.76"
  [79]=>
  string(26) "66.249.73.16, 172.69.71.75"
  [80]=>
  string(27) "66.249.64.142, 172.70.34.77"
  [81]=>
  string(28) "66.249.69.194, 172.70.178.81"
  [82]=>
  string(27) "66.249.66.91, 172.70.174.67"
  [83]=>
  string(27) "66.249.66.93, 172.70.134.23"
  [84]=>
  string(28) "66.249.66.157, 172.69.62.221"
  [85]=>
  string(29) "103.131.71.78, 172.70.142.123"
  [86]=>
  string(27) "66.249.68.62, 172.68.132.66"
  [87]=>
  string(27) "66.249.68.32, 172.68.132.66"
  [88]=>
  string(30) "157.55.39.168, 108.162.246.224"
  [89]=>
  string(28) "157.55.39.168, 172.70.98.129"
  [90]=>
  string(30) "114.119.129.235, 172.70.142.55"
  [91]=>
  string(28) "66.249.64.148, 172.69.62.221"
  [92]=>
  string(28) "207.46.13.203, 172.70.98.129"
  [93]=>
  string(29) "88.198.25.244, 162.158.92.129"
  [94]=>
  string(28) "207.46.13.203, 172.68.132.66"
  [95]=>
  string(30) "207.46.13.203, 108.162.246.224"
  [96]=>
  string(28) "185.191.171.14, 172.70.34.53"
  [97]=>
  string(54) "2405:4802:5295:f920:19d:d32c:56fd:41b5, 162.158.179.64"
  [98]=>
  string(29) "207.46.13.203, 172.70.126.187"
  [99]=>
  string(28) "66.249.64.154, 172.68.63.188"
  [100]=>
  string(30) "103.131.71.185, 172.70.142.123"
  [101]=>
  string(27) "207.46.13.81, 172.68.132.66"
  [102]=>
  string(55) "2001:ee0:4141:1150:7088:445d:b9c6:2c77, 162.158.179.238"
  [103]=>
  string(55) "2402:800:61b3:e8b2:a4b6:bcfa:b391:1038, 162.158.179.108"
  [104]=>
  string(31) "114.119.130.29, 162.158.167.247"
  [105]=>
  string(29) "207.46.13.81, 108.162.246.224"
  [106]=>
  string(54) "2402:800:61a0:790:3c06:dbf1:e4c5:7273, 162.158.179.198"
  [107]=>
  string(27) "66.249.66.20, 172.70.134.23"
  [108]=>
  string(27) "66.249.66.74, 172.69.62.221"
  [109]=>
  string(30) "171.243.175.189, 172.70.143.76"
  [110]=>
  string(30) "207.46.13.205, 108.162.246.224"
  [111]=>
  string(29) "168.119.3.58, 141.101.104.174"
  [112]=>
  string(31) "171.229.238.127, 162.158.165.79"
  [113]=>
  string(53) "2001:ee0:56b0:3290:1c17:2737:b130:26d, 162.158.179.64"
  [114]=>
  string(28) "162.55.86.61, 162.158.94.155"
  [115]=>
  string(29) "104.222.149.62, 172.70.34.157"
  [116]=>
  string(28) "207.46.13.205, 172.68.132.66"
  [117]=>
  string(28) "66.249.66.212, 172.70.174.67"
  [118]=>
  string(28) "113.20.99.25, 172.70.142.205"
  [119]=>
  string(29) "14.229.28.246, 172.70.222.133"
  [120]=>
  string(29) "207.46.13.205, 172.70.211.156"
  [121]=>
  string(26) "66.249.66.30, 172.70.34.77"
  [122]=>
  string(28) "66.249.66.75, 172.70.134.199"
  [123]=>
  string(32) "116.105.244.198, 162.158.166.140"
  [124]=>
  string(53) "2402:800:6343:9d6c:b523:f065:a767:b572, 172.70.147.15"
  [125]=>
  string(31) "114.119.129.229, 172.68.144.122"
  [126]=>
  string(30) "14.241.131.102, 172.70.188.163"
  [127]=>
  string(28) "66.249.64.42, 172.70.134.199"
  [128]=>
  string(29) "171.241.1.158, 172.70.142.205"
  [129]=>
  string(28) "113.176.27.93, 172.70.147.57"
  [130]=>
  string(30) "183.80.30.101, 162.158.165.243"
  [131]=>
  string(56) "2405:4800:529d:6ad5:7c7c:ffc8:8a87:c2ff, 162.158.167.217"
  [132]=>
  string(30) "14.169.178.148, 172.69.135.191"
  [133]=>
  string(28) "207.46.13.205, 172.70.206.83"
  [134]=>
  string(52) "2402:800:6273:e509:5599:c2bf:9426:b7b, 172.68.254.75"
  [135]=>
  string(30) "171.239.93.38, 162.158.165.243"
  [136]=>
  string(55) "2001:ee0:4fcd:36d0:70a7:63a2:8e4f:ecad, 162.158.179.212"
  [137]=>
  string(30) "114.119.129.233, 172.70.147.57"
  [138]=>
  string(30) "115.77.28.248, 162.158.167.151"
  [139]=>
  string(30) "185.151.51.254, 172.70.188.163"
  [140]=>
  string(29) "103.131.71.196, 172.68.144.92"
  [141]=>
  string(29) "207.46.13.205, 162.158.146.29"
  [142]=>
  string(28) "45.63.11.188, 172.70.110.117"
  [143]=>
  string(29) "88.198.25.244, 162.158.90.215"
  [144]=>
  string(28) "66.249.64.148, 172.70.174.67"
  [145]=>
  string(29) "45.76.146.170, 172.70.188.159"
  [146]=>
  string(53) "2402:800:63bd:cc4e:c95c:c0b:ce03:46a, 162.158.165.153"
  [147]=>
  string(29) "113.161.27.27, 172.70.142.205"
  [148]=>
  string(28) "103.104.16.26, 172.70.142.55"
  [149]=>
  string(27) "66.42.52.52, 172.70.188.159"
  [150]=>
  string(53) "2405:4803:da12:800:4d08:4afe:7471:a6cd, 172.70.189.86"
  [151]=>
  string(55) "2405:4803:da12:800:4d08:4afe:7471:a6cd, 162.158.178.221"
  [152]=>
  string(28) "66.249.66.16, 172.70.134.199"
  [153]=>
  string(53) "2402:800:63ba:d992:d1a9:6814:8602:1d29, 172.70.92.249"
  [154]=>
  string(30) "114.119.129.208, 172.70.142.55"
  [155]=>
  string(52) "2402:800:63f2:8657:518b:403d:43aa:3a1, 172.70.142.55"
  [156]=>
  string(28) "66.249.66.91, 172.70.134.199"
  [157]=>
  string(30) "157.55.39.105, 108.162.246.224"
  [158]=>
  string(27) "66.249.68.60, 172.70.98.129"
  [159]=>
  string(53) "2001:ee0:51f0:7dd0:50e9:d660:f9a0:7b10, 172.68.254.41"
  [160]=>
  string(28) "171.243.9.197, 172.70.143.90"
  [161]=>
  string(29) "185.191.171.24, 172.70.34.135"
  [162]=>
  string(52) "2402:800:6132:351b:e1a6:9368:720:b593, 172.68.253.63"
  [163]=>
  string(28) "14.181.12.197, 172.70.188.37"
  [164]=>
  string(54) "2001:ee0:5462:a560:1116:82d7:c58d:6cc6, 162.158.178.67"
  [165]=>
  string(29) "116.105.76.247, 172.70.92.249"
  [166]=>
  string(29) "103.131.71.169, 172.68.144.92"
  [167]=>
  string(54) "2402:800:6205:ea7d:a807:aa5a:3dd4:5530, 172.68.254.131"
  [168]=>
  string(27) "185.191.171.3, 172.68.65.95"
  [169]=>
  string(28) "162.55.86.61, 162.158.88.223"
  [170]=>
  string(31) "114.119.129.218, 172.68.144.122"
  [171]=>
  string(27) "66.249.64.129, 172.70.34.77"
  [172]=>
  string(53) "2402:800:6319:c469:4c82:bd6f:c765:a590, 172.70.147.53"
  [173]=>
  string(30) "171.252.154.146, 172.70.92.249"
  [174]=>
  string(29) "66.249.64.142, 172.70.134.199"
  [175]=>
  string(28) "66.249.64.129, 172.69.62.221"
  [176]=>
  string(30) "171.251.215.242, 172.70.143.90"
  [177]=>
  string(52) "2402:800:637d:db12:680c:60e2:d6fe:9b7, 172.70.143.76"
  [178]=>
  string(29) "115.77.216.29, 172.70.188.253"
  [179]=>
  string(29) "157.55.39.105, 162.158.146.29"
  [180]=>
  string(54) "2405:4802:b2b3:d190:ccff:d84d:318b:c054, 172.70.143.90"
  [181]=>
  string(29) "14.228.118.198, 172.70.189.90"
  [182]=>
  string(29) "103.131.71.183, 172.68.144.92"
  [183]=>
  string(28) "171.239.4.135, 172.70.147.37"
  [184]=>
  string(26) "5.161.66.117, 172.70.34.41"
  [185]=>
  string(53) "2402:800:62cd:79e5:ec43:5a2c:ec3a:ad2, 162.158.179.88"
  [186]=>
  string(55) "2402:800:62ce:772e:ad62:8f30:e31f:530c, 162.158.179.227"
  [187]=>
  string(31) "114.119.129.233, 162.158.166.46"
  [188]=>
  string(55) "2405:4803:e550:a190:9c6f:8f93:22cb:b643, 162.158.178.81"
  [189]=>
  string(29) "171.253.5.135, 172.70.188.253"
  [190]=>
  string(28) "88.99.150.47, 162.158.94.111"
  [191]=>
  string(29) "171.252.172.72, 172.70.92.211"
  [192]=>
  string(30) "115.79.143.186, 172.70.142.205"
  [193]=>
  string(54) "2001:ee0:4ce3:e040:c129:5281:7405:9543, 162.158.179.63"
  [194]=>
  string(28) "116.99.216.53, 172.70.142.55"
  [195]=>
  string(55) "2001:ee0:7523:4530:e5b4:9ae6:ba5c:6de1, 162.158.178.167"
  [196]=>
  string(52) "2402:800:6344:3f0:285e:e9b5:eec8:9909, 172.70.142.55"
  [197]=>
  string(29) "66.249.66.208, 172.70.134.199"
  [198]=>
  string(26) "66.249.66.1, 172.70.174.67"
  [199]=>
  string(28) "66.249.66.93, 172.70.134.199"
  [200]=>
  string(29) "114.119.130.29, 172.70.143.76"
  [201]=>
  string(54) "2402:800:6114:e65:d1fe:e833:b0ff:8561, 162.158.179.125"
  [202]=>
  string(31) "118.70.129.132, 162.158.165.153"
  [203]=>
  string(30) "103.131.71.235, 172.70.188.161"
  [204]=>
  string(29) "113.167.69.210, 172.70.188.37"
  [205]=>
  string(29) "171.240.249.31, 172.70.92.211"
  [206]=>
  string(30) "171.244.214.139, 172.70.188.31"
  [207]=>
  string(28) "27.69.160.103, 172.70.143.76"
  [208]=>
  string(53) "2402:800:6130:840c:d192:2fe8:891d:5f1c, 172.68.253.67"
  [209]=>
  string(53) "2402:800:6315:77c:1858:95c1:e8ec:3e5, 162.158.179.113"
  [210]=>
  string(28) "162.55.86.61, 162.158.92.167"
  [211]=>
  string(29) "14.241.248.178, 172.70.188.31"
  [212]=>
  string(54) "2001:ee0:4367:20e0:f4e3:d09f:cd07:fceb, 162.158.179.40"
  [213]=>
  string(30) "114.119.129.208, 172.70.143.76"
  [214]=>
  string(29) "66.249.68.48, 108.162.246.224"
  [215]=>
  string(30) "125.235.189.161, 172.70.92.211"
  [216]=>
  string(32) "130.105.162.114, 162.158.165.231"
  [217]=>
  string(28) "66.249.69.14, 172.70.131.194"
  [218]=>
  string(32) "171.251.239.145, 162.158.165.181"
  [219]=>
  string(30) "103.131.71.136, 172.70.188.161"
  [220]=>
  string(54) "2402:800:623b:d4e1:4cf2:7644:cf15:5882, 172.68.254.159"
  [221]=>
  string(29) "88.198.25.244, 162.158.90.119"
  [222]=>
  string(30) "103.131.71.144, 172.70.188.161"
  [223]=>
  string(27) "40.77.167.71, 172.70.174.67"
  [224]=>
  string(28) "162.55.86.61, 198.41.242.155"
  [225]=>
  string(53) "2402:800:6390:d945:c1b1:7644:1c67:e220, 172.70.142.55"
  [226]=>
  string(30) "114.119.129.218, 172.70.189.90"
  [227]=>
  string(29) "66.249.64.154, 172.70.134.199"
  [228]=>
  string(54) "2402:800:621e:1b37:d0d0:2e88:42ec:6f19, 162.158.179.59"
  [229]=>
  string(29) "66.249.64.129, 172.70.134.199"
  [230]=>
  string(28) "14.165.88.91, 162.158.162.71"
  [231]=>
  string(29) "66.249.64.148, 162.158.78.251"
  [232]=>
  string(30) "157.55.39.172, 108.162.246.224"
  [233]=>
  string(29) "103.131.71.82, 172.70.188.161"
  [234]=>
  string(28) "185.191.171.19, 172.70.34.41"
  [235]=>
  string(30) "113.22.133.137, 172.70.188.253"
  [236]=>
  string(28) "113.22.133.137, 172.70.93.13"
  [237]=>
  string(29) "66.249.64.148, 172.70.134.199"
  [238]=>
  string(55) "2402:800:62d8:2638:848c:36b9:3a68:c3b9, 162.158.178.108"
  [239]=>
  string(28) "185.191.171.7, 172.70.174.87"
  [240]=>
  string(29) "114.119.130.29, 172.70.147.27"
  [241]=>
  string(29) "116.102.203.32, 172.70.143.90"
  [242]=>
  string(29) "157.55.39.173, 162.158.146.29"
  [243]=>
  string(28) "162.55.86.61, 162.158.90.131"
  [244]=>
  string(27) "66.249.64.148, 172.70.34.77"
  [245]=>
  string(30) "103.131.71.176, 172.70.188.161"
  [246]=>
  string(27) "93.158.161.76, 172.68.11.78"
  [247]=>
  string(29) "66.249.69.220, 162.158.74.144"
  [248]=>
  string(28) "116.96.44.119, 172.70.143.76"
  [249]=>
  string(28) "116.96.44.119, 172.70.188.31"
  [250]=>
  string(55) "2001:ee0:56ae:e2c0:d17f:4821:46a4:5771, 162.158.178.164"
  [251]=>
  string(29) "66.249.69.210, 172.70.131.194"
  [252]=>
  string(29) "66.249.69.208, 172.70.126.187"
  [253]=>
  string(30) "114.119.129.208, 172.70.188.31"
  [254]=>
  string(28) "66.249.69.210, 172.70.178.81"
  [255]=>
  string(28) "66.249.74.20, 172.70.126.187"
  [256]=>
  string(30) "103.131.71.150, 172.70.142.123"
  [257]=>
  string(29) "66.249.69.208, 172.70.131.194"
  [258]=>
  string(29) "66.249.69.192, 172.70.131.194"
  [259]=>
  string(28) "72.79.58.186, 172.70.110.101"
  [260]=>
  string(29) "207.46.13.197, 162.158.146.29"
  [261]=>
  string(28) "66.249.69.28, 172.70.126.187"
  [262]=>
  string(29) "103.131.71.87, 172.70.142.123"
  [263]=>
  string(29) "66.249.69.212, 172.70.131.194"
  [264]=>
  string(28) "66.249.64.154, 172.70.174.67"
  [265]=>
  string(28) "40.77.167.76, 162.158.78.251"
  [266]=>
  string(31) "114.119.150.209, 162.158.163.62"
  [267]=>
  string(29) "117.1.228.159, 172.70.147.149"
  [268]=>
  string(29) "66.249.69.208, 162.158.74.144"
  [269]=>
  string(29) "66.249.69.210, 172.70.126.187"
  [270]=>
  string(31) "113.185.41.204, 162.158.162.227"
  [271]=>
  string(28) "113.22.15.205, 172.70.143.76"
  [272]=>
  string(27) "66.249.66.208, 172.70.34.77"
  [273]=>
  string(52) "2402:800:623c:989:5ce1:e3a8:eac3:3300, 172.68.254.45"
  [274]=>
  string(28) "1.55.64.132, 162.158.163.128"
  [275]=>
  string(28) "66.249.66.222, 172.70.174.67"
  [276]=>
  string(30) "103.131.71.194, 172.70.147.159"
  [277]=>
  string(29) "66.249.66.192, 172.70.134.199"
  [278]=>
  string(27) "40.77.167.76, 172.70.174.67"
  [279]=>
  string(28) "14.162.11.47, 172.70.142.205"
  [280]=>
  string(29) "114.119.144.36, 172.70.143.76"
  [281]=>
  string(28) "42.113.121.64, 172.70.189.38"
  [282]=>
  string(29) "66.249.66.210, 172.70.134.199"
  [283]=>
  string(28) "162.55.86.61, 172.70.242.165"
  [284]=>
  string(28) "66.249.66.208, 172.70.174.67"
  [285]=>
  string(29) "123.31.231.99, 172.70.188.245"
  [286]=>
  string(29) "116.102.230.84, 172.70.143.76"
  [287]=>
  string(29) "185.191.171.9, 172.70.174.147"
  [288]=>
  string(28) "66.249.66.210, 172.70.174.67"
  [289]=>
  string(28) "66.249.64.129, 172.70.134.23"
  [290]=>
  string(29) "42.112.234.47, 172.70.142.205"
  [291]=>
  string(42) "2a03:2880:ff:13::face:b00c, 108.162.246.10"
  [292]=>
  string(42) "2a03:2880:ff:4::face:b00c, 162.158.106.153"
  [293]=>
  string(42) "2a03:2880:ff:f::face:b00c, 162.158.106.153"
  [294]=>
  string(43) "2a03:2880:ff:1b::face:b00c, 162.158.106.185"
  [295]=>
  string(52) "2402:800:6294:3e7:8968:ba59:fbfe:6396, 172.68.254.33"
  [296]=>
  string(29) "66.249.66.212, 162.158.78.251"
  [297]=>
  string(28) "66.249.74.50, 172.70.131.194"
  [298]=>
  string(28) "66.249.74.52, 172.70.131.194"
  [299]=>
  string(53) "2001:ee0:557f:320:c544:56c6:f0d4:2276, 162.158.178.75"
  [300]=>
  string(31) "114.119.150.226, 172.70.147.149"
  [301]=>
  string(29) "66.249.66.192, 162.158.78.251"
  [302]=>
  string(29) "66.249.66.208, 162.158.78.251"
  [303]=>
  string(30) "14.255.106.217, 162.158.178.75"
  [304]=>
  string(29) "103.131.71.93, 172.68.254.161"
  [305]=>
  string(27) "162.55.86.61, 172.70.251.86"
  [306]=>
  string(28) "66.249.66.220, 172.70.174.67"
  [307]=>
  string(27) "66.249.64.136, 172.70.34.77"
  [308]=>
  string(25) "5.45.207.92, 172.68.11.78"
  [309]=>
  string(26) "5.45.207.129, 172.68.11.78"
  [310]=>
  string(26) "141.8.142.72, 172.68.11.78"
  [311]=>
  string(29) "144.48.24.30, 162.158.178.142"
  [312]=>
  string(27) "66.249.64.180, 172.70.34.77"
  [313]=>
  string(28) "66.249.64.160, 172.70.174.67"
  [314]=>
  string(30) "103.131.71.181, 172.68.254.161"
  [315]=>
  string(29) "114.119.150.226, 172.70.93.11"
  [316]=>
  string(27) "40.77.167.70, 172.70.174.67"
  [317]=>
  string(28) "66.249.64.188, 172.70.134.23"
  [318]=>
  string(54) "2402:800:6343:2b46:c006:6a13:d3e9:1e15, 172.70.188.245"
  [319]=>
  string(27) "66.249.74.50, 172.70.178.81"
  [320]=>
  string(28) "162.55.86.61, 172.70.246.131"
  [321]=>
  string(30) "103.131.70.161, 172.68.254.161"
  [322]=>
  string(30) "103.131.70.162, 172.68.254.161"
  [323]=>
  string(31) "114.119.144.36, 162.158.162.209"
  [324]=>
  string(27) "66.249.64.66, 172.70.134.23"
  [325]=>
  string(28) "66.249.68.60, 172.69.134.123"
  [326]=>
  string(27) "40.77.167.44, 172.70.174.67"
  [327]=>
  string(29) "103.131.71.67, 172.68.254.161"
  [328]=>
  string(29) "66.249.64.180, 162.158.78.251"
  [329]=>
  string(30) "222.254.197.9, 162.158.178.100"
  [330]=>
  string(27) "66.249.64.64, 172.70.134.23"
  [331]=>
  string(25) "66.249.64.66, 172.70.39.2"
  [332]=>
  string(30) "103.238.68.77, 162.158.179.129"
  [333]=>
  string(31) "123.21.131.146, 162.158.162.115"
  [334]=>
  string(27) "35.194.87.110, 172.70.135.6"
  [335]=>
  string(29) "93.158.161.72, 141.101.104.74"
  [336]=>
  string(27) "162.55.86.61, 172.70.250.77"
  [337]=>
  string(30) "103.131.71.191, 172.68.254.161"
  [338]=>
  string(28) "66.249.64.188, 172.70.174.67"
  [339]=>
  string(27) "66.249.64.190, 172.70.34.77"
  [340]=>
  string(55) "2402:800:623c:df7b:840a:16a6:77ef:15e7, 162.158.179.179"
  [341]=>
  string(26) "66.249.64.160, 172.70.39.2"
  [342]=>
  string(31) "114.119.150.215, 172.70.189.134"
  [343]=>
  string(29) "111.225.149.33, 172.70.206.99"
  [344]=>
  string(28) "66.249.64.180, 172.70.134.23"
  [345]=>
  string(28) "66.249.64.178, 172.70.174.67"
  [346]=>
  string(29) "14.226.21.71, 162.158.178.142"
  [347]=>
  string(30) "14.236.40.186, 162.158.178.100"
  [348]=>
  string(28) "66.249.73.13, 172.70.131.194"
  [349]=>
  string(30) "185.191.171.25, 172.70.174.231"
  [350]=>
  string(30) "103.131.71.186, 172.68.254.161"
  [351]=>
  string(28) "118.70.183.88, 172.70.143.72"
  [352]=>
  string(28) "66.249.69.220, 172.70.178.81"
  [353]=>
  string(28) "185.191.171.35, 172.70.135.6"
  [354]=>
  string(30) "185.191.171.35, 172.70.174.231"
  [355]=>
  string(36) "2a01:4f8:130:20e4::2, 172.70.251.148"
  [356]=>
  string(30) "114.119.150.215, 172.70.143.46"
  [357]=>
  string(53) "2402:800:639a:c313:3864:5a17:fe10:a44e, 172.70.189.98"
  [358]=>
  string(31) "171.244.236.225, 172.70.189.134"
  [359]=>
  string(29) "66.249.79.20, 108.162.246.224"
  [360]=>
  string(55) "2402:800:6117:fb29:b15a:9363:2cb8:c9e6, 162.158.178.128"
  [361]=>
  string(28) "123.21.240.5, 162.158.178.24"
  [362]=>
  string(29) "103.131.71.96, 172.68.254.161"
  [363]=>
  string(28) "66.249.66.202, 172.70.174.67"
  [364]=>
  string(28) "66.249.64.160, 172.70.134.23"
  [365]=>
  string(28) "162.55.86.61, 172.70.242.151"
  [366]=>
  string(29) "157.55.39.58, 108.162.246.224"
  [367]=>
  string(29) "117.2.11.200, 162.158.178.176"
  [368]=>
  string(30) "103.131.71.233, 172.68.254.161"
  [369]=>
  string(30) "113.185.40.165, 172.70.188.247"
  [370]=>
  string(28) "66.249.64.190, 172.70.174.67"
  [371]=>
  string(28) "66.249.64.172, 172.70.174.67"
  [372]=>
  string(29) "42.119.32.172, 162.158.178.24"
  [373]=>
  string(28) "42.119.32.172, 172.68.253.13"
  [374]=>
  string(30) "203.177.166.204, 172.70.147.77"
  [375]=>
  string(31) "139.162.47.209, 162.158.163.156"
  [376]=>
  string(30) "14.172.160.145, 162.158.178.79"
  [377]=>
  string(30) "114.119.150.208, 172.70.92.235"
  [378]=>
  string(29) "172.105.191.38, 172.68.210.53"
  [379]=>
  string(28) "172.105.191.38, 172.69.62.25"
  [380]=>
  string(31) "194.195.122.232, 108.162.249.65"
  [381]=>
  string(32) "194.195.122.232, 108.162.250.150"
  [382]=>
  string(29) "194.195.122.232, 172.68.66.21"
  [383]=>
  string(29) "172.105.191.38, 172.68.146.71"
  [384]=>
  string(29) "172.105.191.38, 172.68.210.55"
  [385]=>
  string(30) "172.105.191.38, 108.162.249.65"
  [386]=>
  string(30) "194.195.122.232, 172.68.210.55"
  [387]=>
  string(30) "194.195.122.232, 172.68.210.37"
  [388]=>
  string(26) "161.0.2.166, 172.70.230.81"
  [389]=>
  string(26) "161.0.2.166, 172.70.110.77"
  [390]=>
  string(27) "161.0.2.166, 172.70.114.123"
  [391]=>
  string(27) "161.0.2.166, 172.70.110.161"
  [392]=>
  string(28) "207.46.13.52, 162.158.146.29"
  [393]=>
  string(29) "103.131.71.99, 172.68.254.161"
  [394]=>
  string(54) "2402:800:620e:34e6:9d3:e2d7:fb47:d781, 162.158.178.228"
  [395]=>
  string(29) "207.46.13.52, 108.162.246.224"
  [396]=>
  string(30) "114.119.150.22, 172.70.188.247"
  [397]=>
  string(28) "42.114.34.53, 172.70.188.147"
  [398]=>
  string(28) "66.249.73.9, 108.162.216.209"
  [399]=>
  string(26) "66.249.73.27, 172.69.69.18"
  [400]=>
  string(29) "66.249.69.190, 172.70.131.194"
  [401]=>
  string(28) "66.249.64.178, 172.70.134.23"
  [402]=>
  string(29) "103.156.42.183, 172.68.253.11"
  [403]=>
  string(30) "103.131.71.174, 172.68.254.161"
  [404]=>
  string(28) "66.249.66.223, 172.70.174.67"
  [405]=>
  string(28) "66.249.64.176, 172.70.134.23"
  [406]=>
  string(27) "66.249.66.192, 172.70.34.77"
  [407]=>
  string(28) "157.55.39.91, 162.158.146.29"
  [408]=>
  string(29) "123.20.41.34, 162.158.178.176"
  [409]=>
  string(28) "66.249.66.223, 172.70.134.23"
  [410]=>
  string(28) "103.109.39.32, 172.70.142.81"
  [411]=>
  string(31) "114.119.150.215, 162.158.171.12"
  [412]=>
  string(53) "2402:800:6237:5c7f:1060:cbc0:fa77:834e, 172.68.253.13"
  [413]=>
  string(28) "49.36.16.86, 162.158.191.197"
  [414]=>
  string(27) "87.250.224.84, 172.68.11.78"
  [415]=>
  string(29) "185.191.171.42, 172.70.38.103"
  [416]=>
  string(29) "103.131.71.94, 172.68.254.161"
  [417]=>
  string(29) "27.72.57.178, 162.158.178.128"
  [418]=>
  string(32) "113.162.237.233, 162.158.163.192"
  [419]=>
  string(54) "2001:ee0:5326:4040:e82a:ef8f:7024:3303, 162.158.179.82"
  [420]=>
  string(54) "2600:1f14:b62:9e03:74a1:acd2:5283:f4bc, 162.158.106.17"
  [421]=>
  string(28) "95.181.238.53, 172.70.230.81"
  [422]=>
  string(28) "66.249.66.208, 172.70.134.23"
  [423]=>
  string(30) "114.119.150.22, 162.158.163.28"
  [424]=>
  string(28) "123.16.53.181, 162.158.162.3"
  [425]=>
  string(31) "193.235.141.23, 162.158.222.123"
  [426]=>
  string(31) "193.235.141.23, 162.158.222.147"
  [427]=>
  string(25) "40.77.167.81, 172.70.39.2"
  [428]=>
  string(30) "103.131.71.129, 172.68.254.161"
  [429]=>
  string(29) "87.250.224.47, 141.101.104.74"
  [430]=>
  string(25) "1.55.3.72, 162.158.179.92"
  [431]=>
  string(27) "88.99.150.47, 172.70.242.37"
  [432]=>
  string(29) "114.119.159.135, 172.70.93.17"
  [433]=>
  string(29) "118.69.111.111, 172.70.188.31"
  [434]=>
  string(28) "123.21.159.52, 172.70.143.46"
  [435]=>
  string(55) "2405:4802:257:4360:51dd:57b8:13e3:46c2, 162.158.178.130"
  [436]=>
  string(29) "66.249.79.16, 108.162.246.224"
  [437]=>
  string(30) "116.104.61.193, 162.158.178.75"
  [438]=>
  string(29) "207.46.13.154, 162.158.146.29"
  [439]=>
  string(55) "2001:ee0:76df:50f0:78ee:a2d1:8aab:4d6f, 162.158.178.165"
  [440]=>
  string(29) "66.249.64.174, 172.70.134.199"
  [441]=>
  string(29) "103.131.71.89, 172.68.254.161"
  [442]=>
  string(27) "162.55.86.61, 172.70.251.88"
  [443]=>
  string(27) "185.191.171.6, 172.70.35.94"
  [444]=>
  string(29) "3.238.180.255, 172.70.175.168"
  [445]=>
  string(30) "114.119.159.135, 172.70.188.97"
  [446]=>
  string(54) "2402:9d80:36f:ae54:5349:cb2:3907:f250, 162.158.162.215"
  [447]=>
  string(28) "171.249.183.1, 172.70.143.96"
  [448]=>
  string(30) "216.137.185.178, 172.70.188.31"
  [449]=>
  string(27) "66.249.66.222, 172.70.34.77"
  [450]=>
  string(27) "66.249.73.9, 172.70.185.149"
  [451]=>
  string(28) "66.249.73.13, 172.70.185.149"
  [452]=>
  string(36) "2a06:98c0:3600::103, 162.158.179.212"
  [453]=>
  string(27) "66.249.66.1, 172.70.134.199"
  [454]=>
  string(30) "195.201.12.243, 172.70.242.165"
  [455]=>
  string(30) "114.119.150.209, 172.70.92.235"
  [456]=>
  string(29) "66.249.66.204, 172.70.134.199"
  [457]=>
  string(30) "103.131.71.222, 172.68.254.161"
  [458]=>
  string(30) "207.46.13.154, 108.162.246.224"
  [459]=>
  string(29) "103.109.39.32, 172.70.188.247"
  [460]=>
  string(29) "66.249.66.140, 172.70.134.199"
  [461]=>
  string(30) "192.186.186.47, 172.70.211.146"
  [462]=>
  string(31) "171.249.224.234, 162.158.162.43"
  [463]=>
  string(28) "14.241.123.33, 172.70.143.96"
  [464]=>
  string(30) "14.241.123.33, 162.158.170.241"
  [465]=>
  string(26) "66.249.66.192, 172.70.39.2"
  [466]=>
  string(29) "113.161.90.165, 172.70.143.96"
  [467]=>
  string(29) "116.110.40.114, 172.70.92.235"
  [468]=>
  string(31) "114.119.150.215, 172.70.147.200"
  [469]=>
  string(26) "117.2.6.81, 162.158.179.82"
  [470]=>
  string(55) "2401:d800:9ff6:d895:c007:37dc:1b08:1f1b, 172.68.254.175"
  [471]=>
  string(28) "87.250.224.84, 141.101.77.42"
  [472]=>
  string(27) "66.249.66.20, 172.70.174.67"
  [473]=>
  string(29) "103.131.71.76, 172.68.254.161"
  [474]=>
  string(31) "114.119.144.36, 162.158.170.241"
  [475]=>
  string(28) "14.253.36.114, 172.70.188.31"
  [476]=>
  string(28) "61.58.95.239, 172.68.253.107"
  [477]=>
  string(29) "14.226.8.188, 162.158.179.108"
  [478]=>
  string(30) "207.46.13.129, 108.162.246.224"
  [479]=>
  string(53) "2001:ee0:43be:8510:1d9:7c0:ccf2:e13d, 162.158.179.115"
  [480]=>
  string(29) "114.119.144.36, 172.70.143.46"
  [481]=>
  string(26) "40.77.167.8, 172.70.174.67"
  [482]=>
  string(31) "124.107.231.164, 172.68.253.173"
  [483]=>
  string(28) "66.249.64.129, 172.70.174.67"
  [484]=>
  string(29) "103.131.71.98, 172.68.254.161"
  [485]=>
  string(54) "2405:4802:d0b8:f840:a9f8:d16c:6630:54aa, 172.68.254.39"
  [486]=>
  string(28) "162.55.86.61, 162.158.89.134"
  [487]=>
  string(30) "114.119.159.135, 172.70.143.96"
  [488]=>
  string(53) "2402:800:63a5:b1bb:5593:6c34:94f4:3b80, 172.70.92.235"
  [489]=>
  string(27) "40.77.167.8, 172.70.134.199"
  [490]=>
  string(30) "185.191.171.44, 172.70.175.168"
  [491]=>
  string(28) "66.249.66.18, 172.70.134.199"
  [492]=>
  string(28) "185.191.171.39, 172.70.34.41"
  [493]=>
  string(29) "115.73.178.163, 172.70.143.46"
  [494]=>
  string(29) "113.190.81.232, 172.68.254.39"
  [495]=>
  string(29) "185.191.171.24, 172.70.174.21"
  [496]=>
  string(27) "66.249.66.138, 172.70.34.77"
  [497]=>
  string(29) "115.76.49.44, 162.158.170.217"
  [498]=>
  string(28) "118.71.90.148, 172.70.147.79"
  [499]=>
  string(28) "115.74.37.143, 172.70.143.96"
  [500]=>
  string(31) "114.119.150.22, 162.158.163.192"
  [501]=>
  string(29) "103.131.71.77, 172.68.254.161"
  [502]=>
  string(30) "216.131.106.202, 172.70.82.159"
  [503]=>
  string(30) "216.131.106.202, 172.70.82.109"
  [504]=>
  string(28) "216.131.106.36, 172.69.71.91"
  [505]=>
  string(29) "216.131.106.36, 172.69.69.172"
  [506]=>
  string(27) "40.77.167.3, 172.70.134.199"
  [507]=>
  string(25) "40.77.167.3, 172.70.34.77"
  [508]=>
  string(26) "40.77.167.3, 172.70.174.67"
  [509]=>
  string(26) "40.77.167.3, 172.70.38.183"
  [510]=>
  string(28) "216.131.81.50, 172.70.210.51"
  [511]=>
  string(28) "66.249.77.84, 172.70.131.194"
  [512]=>
  string(28) "87.250.224.146, 172.71.98.35"
  [513]=>
  string(28) "66.249.66.52, 172.70.134.199"
  [514]=>
  string(29) "116.110.43.96, 162.158.170.37"
  [515]=>
  string(28) "116.110.43.96, 172.70.143.72"
  [516]=>
  string(27) "116.110.43.96, 172.70.93.39"
  [517]=>
  string(26) "116.98.2.28, 172.68.254.39"
  [518]=>
  string(27) "40.77.167.3, 162.158.78.251"
  [519]=>
  string(31) "114.119.150.215, 162.158.162.43"
  [520]=>
  string(31) "112.198.41.238, 162.158.170.217"
  [521]=>
  string(29) "103.131.71.81, 172.68.254.161"
  [522]=>
  string(29) "116.96.45.111, 172.68.253.173"
  [523]=>
  string(28) "42.118.50.58, 162.158.178.57"
  [524]=>
  string(28) "14.227.58.41, 162.158.163.28"
  [525]=>
  string(30) "114.119.150.208, 172.70.143.72"
  [526]=>
  string(28) "66.249.79.18, 162.158.107.48"
  [527]=>
  string(30) "42.112.204.224, 162.158.163.16"
  [528]=>
  string(54) "2402:800:637d:e1e1:6932:b8c0:1910:ad52, 172.68.253.246"
  [529]=>
  string(27) "66.249.66.32, 172.70.174.67"
  [530]=>
  string(29) "103.131.71.80, 172.68.254.161"
  [531]=>
  string(25) "40.77.167.3, 172.70.34.29"
  [532]=>
  string(27) "113.166.9.143, 172.70.93.21"
  [533]=>
  string(32) "114.119.150.209, 162.158.170.217"
  [534]=>
  string(30) "185.191.171.35, 172.70.174.147"
  [535]=>
  string(53) "2001:ee0:24a:9d4a:38f0:7de3:9cba:d0a5, 172.68.253.173"
  [536]=>
  string(28) "87.250.224.61, 141.101.76.45"
  [537]=>
  string(54) "2402:800:6310:d0c3:f9ec:b3da:dbf8:997b, 162.158.162.11"
  [538]=>
  string(24) "40.77.167.3, 172.70.39.2"
  [539]=>
  string(31) "203.113.147.183, 162.158.163.16"
  [540]=>
  string(51) "2402:800:6390:f58:c0e2:8b95:fcd6:512f, 172.70.93.21"
  [541]=>
  string(29) "114.119.150.22, 172.70.143.46"
  [542]=>
  string(29) "173.231.60.196, 172.69.42.111"
  [543]=>
  string(29) "74.125.215.124, 172.71.22.131"
  [544]=>
  string(27) "207.46.13.5, 172.71.142.133"
  [545]=>
  string(28) "157.55.39.33, 172.71.146.101"
  [546]=>
  string(28) "157.55.39.33, 162.158.146.29"
  [547]=>
  string(28) "157.55.39.33, 172.71.142.133"
  [548]=>
  string(29) "114.119.144.36, 172.70.143.92"
  [549]=>
  string(29) "66.249.73.241, 172.70.185.149"
  [550]=>
  string(28) "27.72.104.59, 172.68.253.135"
  [551]=>
  string(28) "27.71.48.102, 172.68.253.135"
  [552]=>
  string(29) "157.55.39.33, 108.162.246.224"
  [553]=>
  string(30) "103.131.71.234, 172.68.254.161"
  [554]=>
  string(27) "162.55.86.61, 172.68.50.205"
  [555]=>
  string(29) "66.249.70.209, 172.70.134.199"
  [556]=>
  string(26) "66.249.70.209, 172.70.39.2"
  [557]=>
  string(26) "157.55.39.33, 172.71.150.9"
  [558]=>
  string(28) "66.249.70.200, 172.70.174.67"
  [559]=>
  string(54) "2405:4803:d75d:6f50:40e1:480a:8ad8:84e3, 172.68.253.25"
  [560]=>
  string(56) "2405:4803:c666:5500:c1bb:7feb:c1ae:22ce, 162.158.178.119"
  [561]=>
  string(29) "115.72.29.147, 172.70.142.215"
  [562]=>
  string(55) "2600:1f14:b62:9e03:3358:2fec:265f:a69a, 162.158.106.239"
  [563]=>
  string(27) "66.249.72.7, 172.70.131.194"
  [564]=>
  string(27) "66.249.70.203, 172.70.34.29"
  [565]=>
  string(28) "5.161.129.35, 172.70.174.233"
  [566]=>
  string(29) "103.131.71.55, 172.68.254.161"
  [567]=>
  string(27) "117.5.141.216, 172.68.253.9"
  [568]=>
  string(30) "114.119.150.209, 172.70.147.15"
  [569]=>
  string(27) "66.249.66.68, 172.70.174.67"
  [570]=>
  string(29) "66.249.66.222, 162.158.78.251"
  [571]=>
  string(28) "66.249.66.192, 172.70.174.67"
  [572]=>
  string(29) "66.249.66.222, 172.70.134.199"
  [573]=>
  string(28) "66.249.66.74, 172.70.134.199"
  [574]=>
  string(27) "162.55.86.61, 172.68.51.128"
  [575]=>
  string(29) "103.131.71.97, 172.68.254.161"
  [576]=>
  string(30) "185.191.171.18, 172.70.134.107"
  [577]=>
  string(31) "114.119.150.209, 172.70.188.249"
  [578]=>
  string(30) "185.191.171.11, 172.70.134.107"
  [579]=>
  string(54) "2405:4802:1b5:f290:8419:8d81:6426:5687, 172.68.254.129"
  [580]=>
  string(24) "77.88.5.11, 172.71.94.81"
  [581]=>
  string(27) "1.55.68.11, 162.158.178.156"
  [582]=>
  string(27) "66.249.70.48, 172.70.174.67"
  [583]=>
  string(29) "103.131.71.87, 172.68.254.161"
  [584]=>
  string(30) "17.121.115.222, 172.70.211.156"
  [585]=>
  string(30) "114.119.150.22, 162.158.162.69"
  [586]=>
  string(27) "162.55.86.61, 172.68.50.131"
  [587]=>
  string(29) "103.131.71.86, 172.68.254.161"
  [588]=>
  string(32) "114.119.150.209, 162.158.163.204"
  [589]=>
  string(28) "5.45.207.150, 172.71.102.175"
  [590]=>
  string(27) "66.249.70.32, 172.70.174.67"
  [591]=>
  string(27) "66.249.70.60, 172.70.174.67"
  [592]=>
  string(30) "103.131.71.127, 172.68.254.161"
  [593]=>
  string(31) "114.119.150.208, 172.70.189.134"
  [594]=>
  string(27) "66.249.72.21, 172.70.178.81"
  [595]=>
  string(25) "3.238.98.39, 172.70.135.2"
}
Code đếm ngược thời gian html trong WordPress

Code đếm ngược thời gian html trong WordPress

Trong bài viết này Web chuẩn seo sẽ hướng dẫn bạn code đếm ngược thời gian html. Sử dụng thư viện jQuery countdown để tạo đồng hồ đêm ngược. Việc sử dụng thư viện giúp cho đồng hồ đếm ngược chạy ổn định hơn. Thường trong các theme hay plugin của WordPress đều dùng thư viện thau vì code thuần vì sự ổn định của nó. Sau đây mình sẽ hướng dẫn bạn code đếm ngược thời gian html. Bài viết này nằm trong chuyên mục WordPress Development

Code đếm ngược thời gian html

Đầu tiên bạn cần tải thư viện jQuery countdown từ github về. Bạn bấm vào nút “Code” -> “Download Zip” để tải file zip về. Sau đó bạn giải nén file zip đó ra trong thư mục “dist” bạn copy file “jquery.countdown.min.js” vào thư mục trong theme hay plugin bạn muốn.

Tải thư viện countdown từ github - Code đếm ngược thời gian html
Tải thư viện countdown từ github – Code đếm ngược thời gian html

Cách add thư viện jQuery countdown vào trong plugin bạn dùng code sau:

wp_enqueue_script( 'time-countdown', plugin_dir_url( __FILE__ ). 'tên-thư-mục/jquery.countdown.min.js', array( 'jquery' ), false, true );

Cách add thư viện jQuery countdown vào trong theme bạn dùng code sau:

wp_enqueue_script( 'time-countdown', get_template_directory_uri().'tên-thư-mục/jquery.countdown.min.js' , array( 'jquery' ), false, true );

Sau khi thêm thư viện đồng hồ đếm ngược vào theme. plugin. Tiếp theo bạn cần code đếm ngược thời gian html.

Bạn có thể thay đổi thời gian để hiển thị đồng hồ đếm ngược theo ý muốn của mình. Bạn thêm code php, html như sau:

<?php
//ngày giờ bạn muốn đồng hò đếm ngược tới
$date_data = '2021-12-26 06:00';
?>
<!-- Code html chứa dồng hồ đếm ngược  -->
<div class="chuanseoweb-countdown-wrapper">
   <div class="chuanseoweb-countdown " data-date="<?php echo esc_attr( $date_data ) ?>" ></div>
/div>

Code js để sinh ra code đếm ngược thời gian html. Bạn thêm đoạn code js sau:

$('.chuanseoweb-countdown').each(function(){

//Label tên chữ ngày giờ phút bạn muốn hiển thị
var text_day = 'Ngày';
var text_hour = 'Giờ';
var text_minute = 'Phút';
var text_second = 'Giây';

//lấy dữ liệu thời gian từ file html
var data_date = $(this).data('date');

//hiển thị html dồng hồ đếm ngược bằng thư viện jQuery Countdown
$(this).countdown(data_date, function(event) {
var $this = $(this).html(event.strftime(''
+ '<div class="timer-box box-day"><span>%D</span><span>'+text_day+'</span></div>'
+ '<div class="timer-box box-hour"><span>%H</span><span>'+text_hour+'</span></div>'
+ '<div class="timer-box box-minute"><span>%M</span><span>'+text_minute+'</span></div>'
+ '<div class="timer-box box-second"><span>%S</span><span>'+text_second+'</span></div>'
));
});
});

Sau khi có code html đồng hồ đếm ngược rồi. Tiếp theo bạn cần thêm chút code css để đồng hồ nhìn đẹp hơn.

.chuanseoweb-countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.chuanseoweb-countdown .timer-box {
  margin-bottom: 5px;
}
.chuanseoweb-countdown .timer-box:not(:last-child) {
  margin-right: 50px;
}
.chuanseoweb-countdown .timer-box {
  background: #3EDBF0;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
  border-radius: 100px;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  align-content: center;
}
.chuanseoweb-countdown .timer-box span {
  display: block;
  width: 100%;
}
.chuanseoweb-countdown .timer-box span:nth-child(1) {
  font-size: 50px;
  color: #fff;
  font-weight: 500;
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}
.chuanseoweb-countdown .timer-box span:nth-child(2) {
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  margin-top: -6px;
  display: block;
}

Kết luận

Qua bài viết trên mình đã hướng dẫn bạn code đếm ngược thời gian html trong WordPress. Mình hy vọng sẽ giúp ích cho bạn, Nếu có thắc mắc gì bạn vui lòng để lại câu hỏi bên dưới nhé. Cám ơn bạn đã theo dõi bài viết.

Nguyễn Luân

MÌnh là Luân. Mình có 4 năm kinh nghiệm trong lập trình website và 3 năm làm về WordPress theme và plugin. Rất hy vọng có cơ hội hợp tác với mọi người. Xin cám ơn.

Có thể bạn quan tâm

Hàm _e trong wordpress

3 Tháng Mười Một, 2021 Bởi

Hàm _e trong wordpress là một hàm khi bạn phát triển theme hay plugin nên biết. Hàm này có tác dụng in ra chuỗi và chuỗi này [...]

Hàm get_post_meta trong wordpress và các ví dụ

1 Tháng Mười Một, 2021 Bởi

Hàm get_post_meta trong wordpress là hàm để lấy giá trị meta value theo meta key của một bài viết, sản phẩm, hay bất kỳ [...]

Cách thêm sidebar cho wordpress không dùng plugin

7 Tháng Mười, 2021 Bởi

Bài viết sau mình sẽ hướng dẫn bạn cách thêm sidebar cho wordpress mà không cần dùng đến plugin. Bạn chỉ cần thêm một [...]

Hàm mktime trong php

15 Tháng Chín, 2021 Bởi

Việc hiểu về các hàm thời gian trong php và hàm mktime trong php sẽ giúp bạn dễ dàng hơn khi làm việc liên quan tới thời [...]

wp_head trong wordpress có tác dụng gì

14 Tháng Chín, 2021 Bởi

wp_head trong wordpress là một hook cho phép bạn thêm các tính năng tùy chỉnh vào cặp thẻ trong website. Với hook wp_head bạn [...]

Bạn để lại bình luận tại đây

favico-1

ChuanSeoWeb.com

Minh Phượng , Nham BIền, Yên Dũng, Bắc Giang
Thời gian hoạt động:
T.2 – T.7: 07:30 am – 5:30 pm