WrodPress beautification: add the pop-up prompt function on the homepage of important announcements to the robin theme

 Watson Blog May 13, 2018 00:15:01 WordPress comment six hundred and sixty-three one Reading mode

WrodPress beautification: add the pop-up prompt function on the homepage of important announcements to the robin theme

 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

 Watson Blog
  • This article is written by Published on May 13, 2018 00:15:01
  • This article is collected and sorted by the website of Mutual Benefit, and the email address for problem feedback is: wosnnet@foxmail.com , please keep the link of this article for reprinting: https://wosn.net/1211.html

Comment