WordPress.org

Ready to get started?Download WordPress

Forums

WP BandCamp
[resolved] Insert into theme (3 posts)

  1. Eckstein
    Member
    Posted 1 year ago #

    Is there a code to insert this directly into a theme?

    http://wordpress.org/extend/plugins/wp-bandcamp/

  2. longjohn
    Member
    Plugin Author

    Posted 1 year ago #

    You can call the function wp_bandcamp_embed_player with an array of player attributes as a parameter.
    Here's an example:

    wp_bandcamp_embed_player(array(
        'type' => 'album',
        'id' => '130906753',
        'size' => 'grande2',
        'bgcol' => '#FFFFFF',
        'linkcol' => '#4285BB',
        'transparent' => 'true'
    ));
  3. Eckstein
    Member
    Posted 1 year ago #

    Excellent, thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.