Support » Plugin: Starbox - the Author Box for Humans » Code for single.php

  • Resolved Web-Pepper

    (@pctevree)


    We use your Starbox Pro at the website http://www.dehippevegetarier.nl/

    Now we want to paste a code in the single.php instead of using the auto-insert at the options.

    I found the code below

    <?php
    global $post;
    $author = get_userdata($post->post_author);
    
    echo starBoxShow( $author->ID ); ?>

    This IS showing the Starbox, but i get them twice.

    As soon as i deactivate the option (in Starbox Settings) Load Starbox in (POSTS) they ar both gone!

    Hope you can help, what code should i use in the singele.php to show the Starbox?

    https://wordpress.org/plugins/starbox/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Code for single.php’ is closed to new replies.