WP Music Plugin helps user to add the music list with music information. It has number of fields to show on the page like Publisher, Compser Name, Year of recording, Additional Contributors, URL, Price, etc. We can easily show the list of musics on page via shortcode.
- Created a custom post type Music
- Created a custom hierarchical taxonomy Genre
- Created a custom non-hierarchical taxonomy Music Tag
- Created a custom meta box to save music meta information like Composer Name, Publisher, Year of recording, Additional Contributors, URL, Price, etc.
- Created a custom meta table and save all music meta information in that table.
- Created a custom admin settings page for Music. Settings option should contain options for changing currency, number of musics displayed per page, etc. Settings menu should be displayed under the Musics menu.
- Created a shortcode
[music]
to display the music(s) information. Shortcode attributes should genre, show_title.
- Added music display view, List view and Grid view
- Added feature to show/hide the title for the shortcode
- Added numbered pagination in shortcode
- Update the default setting on the plugin activation
- Music custom Template Structure
- Setting for thumbnail image
- Improvements in the page meta fields
- Improvements payment integration
- Orders, transaction history, users, etc
- Upload the
wp-musics
directory to your/wp-content/plugins/
directory - Activate the plugin through the 'Plugins' menu in WordPress
- Visit the 'Music > Settings' menu item in your admin sidebar to update the setting
Shortcodes will be used in any pages.
[music genre="GENRE_ID" show_title=false]
to show musics list on anywhere in page- where,
genre
- Taxonomy ID to show the music from that taxonomy. Default: ''show_title
- Show/Hide the title from the shortcode. Defalut: false
Figure: Music List View with pagination via shortcode