You can find many music player plug-ins online using WordPress. Today we will take a look at how to use the NetEase Cloud Music plug-in for WordPress
WordPress Plug-in NetEase Cloud Music:
Plug-in introduction:
Supports private playlist pages and externally linked songs on article pages.
Singles can display popular NetEase comments.
Customized playlist function, you can directly enter the album address to create your own playlist.
Songlist call:
Because the cache time is long, if you update the playlist, please clear the cache manually in the plug-in background.
Insert music into the article
Just insert the NetEase Cloud music address directly into the article. Singles, albums, playlists and radio stations are supported. Radio stations are not supported at the moment. Collection. Note that the address must be on a separate line.
Insert single
http://music.163.com/#/song?id=26270008
Insert album
http://music.163.com/#/album?id=2440003
Insert song list
http://music.163.com/#/playlist?id=135451308
Insert radio station
http://music.163.com/#/program?id=16299155
Configuration method
Download the compressed package and upload it or directly search for netease music in the background to install it
Backstage> Settings> NetEase Cloud Music Settings, enter the plug-in setting page
Fill in your account ID, and you can set the number of pages displayed, the number of rows per page, and the album width according to your theme.
Please set the music cache time according to your needs. If the lyrics display is turned on, you can set a longer cache time and load the cache yourself in advance to save visitors from waiting for a long time.
When you need to forcefully refresh the column or the song is invalid, you can click the Clear Cache button.
If you enable memory caching, you need to configure memcached or redis on the server
There are three ways to call the plug-in:
1. Create a new page: text box Enter [nm]
2. Create a new template and add to the required location
3. Directly select the page you want to use in the background
Plug-in problem:
The cover can be displayed, but the music cannot be played
Check whether wp_head() and wp_footer() function
Update settings are invalid
It is recommended to clear the plug-in cache after updating settings
Some individual themes may have js conflicts.
For more wordpress related technical articles, please visit the wordpress tutorial column to learn!
The above is the detailed content of How to use wordpress music plug-in. For more information, please follow other related articles on the PHP Chinese website!

Best Practices for Passing PHP Data to JavaScript: A Comparison of wp_localize_script and wp_add_inline_script Storing data within static strings in your PHP files is a recommended practice. If this data is needed in your JavaScript code, incorporat

This guide demonstrates how to embed and protect PDF files within WordPress posts and pages using a WordPress PDF plugin. PDFs offer a user-friendly, universally accessible format for various content, from catalogs to presentations. This method ens

WordPress is easy for beginners to get started. 1. After logging into the background, the user interface is intuitive and the simple dashboard provides all the necessary function links. 2. Basic operations include creating and editing content. The WYSIWYG editor simplifies content creation. 3. Beginners can expand website functions through plug-ins and themes, and the learning curve exists but can be mastered through practice.

People choose to use WordPress because of its power and flexibility. 1) WordPress is an open source CMS with strong ease of use and scalability, suitable for various website needs. 2) It has rich themes and plugins, a huge ecosystem and strong community support. 3) The working principle of WordPress is based on themes, plug-ins and core functions, and uses PHP and MySQL to process data, and supports performance optimization.

The core version of WordPress is free, but other fees may be incurred during use. 1. Domain names and hosting services require payment. 2. Advanced themes and plug-ins may be charged. 3. Professional services and advanced features may be charged.

WordPress itself is free, but it costs extra to use: 1. WordPress.com offers a package ranging from free to paid, with prices ranging from a few dollars per month to dozens of dollars; 2. WordPress.org requires purchasing a domain name (10-20 US dollars per year) and hosting services (5-50 US dollars per month); 3. Most plug-ins and themes are free, and the paid price ranges from tens to hundreds of dollars; by choosing the right hosting service, using plug-ins and themes reasonably, and regularly maintaining and optimizing, the cost of WordPress can be effectively controlled and optimized.

Wix is suitable for users who have no programming experience, and WordPress is suitable for users who want more control and expansion capabilities. 1) Wix provides drag-and-drop editors and rich templates, making it easy to quickly build a website. 2) As an open source CMS, WordPress has a huge community and plug-in ecosystem, supporting in-depth customization and expansion.

WordPressisgoodforvirtuallyanywebprojectduetoitsversatilityasaCMS.Itexcelsin:1)user-friendliness,allowingeasywebsitesetup;2)flexibilityandcustomizationwithnumerousthemesandplugins;3)SEOoptimization;and4)strongcommunitysupport,thoughusersmustmanageper


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver Mac version
Visual web development tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SublimeText3 Linux new version
SublimeText3 Linux latest version

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function