• Resolved beney

    (@beney)


    From mu understanding there is no particular class or style assign to user score. Only the number is displaying

    Is it possible to show the result inside a div rather than just plain text.

    i want the people who does not login, hide that div and score.

    this is how it is now in php
    /*
    * Only want total score, not table.
    */
    return “$total”;

    https://www.ads-software.com/plugins/world-cup-predictor/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author landoweb

    (@landoweb)

    In shortcode my_points?

    Thread Starter beney

    (@beney)

    I am adding

    <?php echo do_shortcode(‘[world-cup-predictor my_points=1]’); ?>

    directly in my custom page template.

    How to add CSS class or style to my_points ?

    when I add another <div><?php echo do_shortcode(‘[world-cup-predictor my_points=1]’); ?></div>

    like this.

    It shows a div properties after logout

    Thread Starter beney

    (@beney)

    is it possible to add class to return “$total”;

    Plugin Author landoweb

    (@landoweb)

    Do you tested modifying to:

    return "<div>$total</div>";

    Thread Starter beney

    (@beney)

    Superb. Many Many Thanks landoweb ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add class to User Score’ is closed to new replies.