Support » Plugins » [Plugin: WoW-Character-Display] WoW Character Display in custom theme

  • Hello.

    How do I output the data in a custom theme?

    Im going to create a author page for each of the members in our guild. I want to display the data from this plugin on that page. Is there a way to use the function directly?

    I was thinking something like <?php wowcd_function($author_name); ?>. I have looked through the plugin code and cant find the correct function to use.

    http://wordpress.org/extend/plugins/wow-character-display/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Here is a solution:

    In your theme use the following php code:

    <?php
    // Output character sheet
    $atts = array( 'character' => 'Charactername', 'guild' => '' );
    echo = wowcd_shortcode( $atts );
    
    // Output guild sheet
    $atts = array( 'character' => '', 'guild' => 'Guildname' );
    echo = wowcd_shortcode( $atts );
    ?>

    Should work (but I have not tested it…)

    cu,
    Marc

    No, not “echo = wowcd_shortcode( $atts );”

    use “echo wowcd_shortcode( $atts );”

    misstyped it…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WoW-Character-Display] WoW Character Display in custom theme’ is closed to new replies.