ID ) ); if ( get_option('africbase_ct')) { $copyafricbase = '
ⓐfricbase
'; } $args = shortcode_atts( array( 'url' => '#', 'name' => '#', 'artist' => '#', 'color' => 'yes' ), $attr ); $output = '
'.$args['name'].'
by '.$args['artist'].'
Download MP3
'.$copyafricbase.'
'; return $output; } function africbase_audio2($attr){ global $post; $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ) ); if ( get_option('africbase_ct')) { $copyafricbase = '
ⓐfricbase
'; } $args = shortcode_atts( array( 'wht' => get_the_title(), 'whtt' => get_the_permalink($post->ID), 'whttn' => get_bloginfo('name'), 'url' => '#', 'name' => '#', 'artist' => '#', 'color' => 'yes' ), $attr ); $output = '
'.$args['name'].'
by '.$args['artist'].'
Download MP3
'.$copyafricbase.'
'; return $output; } add_shortcode( 'africbase' , 'africbase_audio' ); add_shortcode( 'abplayer' , 'africbase_audio2' ); add_action('wp_enqueue_scripts', 'africbase_enqueue'); function africbase_enqueue() { wp_enqueue_style('africbase-faw-fonts', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css', array(), null); wp_enqueue_style('africbase-fawwM-fonts', 'https://fonts.googleapis.com/icon?family=Material+Icons', array(), true); } function africbase_headerplayer(){ ?> '' . __('Settings', 'General') . ''); $site_link = array('support' => 'Support'); $actions = array_merge($settings, $actions); $actions = array_merge($site_link, $actions); } return $actions; } add_action('admin_menu', 'africbase_player_create_menu'); function africbase_player_create_menu() { //create new top-level menu add_menu_page('Africbase Player Settings', 'Africbase Player', 'administrator', __FILE__, 'africbase_player_settings_page' , 'dashicons-superhero', 2); //call register settings function add_action( 'admin_init', 'register_africbase_player_settings' ); } function register_africbase_player_settings() { //register our settings register_setting( 'africbase-option', 'africbase_watermark' ); register_setting( 'africbase-option', 'africbase_bg' ); register_setting( 'africbase-option', 'africbase_btn_c' ); register_setting( 'africbase-option', 'africbase_color' ); register_setting( 'africbase-option', 'africbase_ct' ); register_setting( 'africbase-option', 'africbase_p_color' ); register_setting( 'africbase-option', 'africbase_w_w' ); register_setting( 'africbase-option', 'africbase_w_h' ); } function africbase_player_settings_page() { ?>

HelpBlogger Knowledge Panel
Watermark Url
Background-color
Download Button Color
Text Color
Player Color
Watermark Size
Width Height
Show Credit.

  • [africbase name="song name" artist="Artist Name" url="Link To The .mp3 file"]
  • Go To Africbase Player › From The menu to add., Add the below codes, Change Watermark url to yours..

  • Watermark Url
  • Background-color
  • Player/Download Color
  • Text Color
  • Download Bottom Will Automatically Be Added, no need of added extra url