WrodPress beautification: add the pop-up prompt function on the homepage of important announcements to the robin theme
Code download
First, download several code files and upload them to the corresponding directory of your theme as required:
Notice.css (upload to your theme CSS directory)
Javascript. js (upload to your theme js directory)
Swiper.min.js (upload to your theme js directory)
Link: https://pan.baidu.com/s/1mYIfC8OcxgYUU8NBkfat-w Password: uy8i
Code deployment
Find the footer.php file of the theme, copy the code in the file "Pop up code of important announcements on the home page" in the download package, and paste it between the last</script>and</html>.
First change the address of the above three files in the beautification code to your own file address, and then change the text of the announcement content in the beautification code to the content you want to display.
Original link: http://www.ixianzong.com/418.html