Support » Plugin: ContestHopper for WordPress » Hide buttons

  • metwo

    (@metwo)


    Hi,
    first of all – Thank you so much for taking your time and making this plugin, I have been looking for something like this for a long time now and this is the closest I ever got to what I have in mind 🙂

    I was wondering if there is a simple way to hide the Total entries + Days left field ?
    Also someone else has already suggested that it would be great to have a custom extra field a user has to complete before being able to enter the contest e.g. click a certain link or type an answer.

    Any help is appreciated here and thank you again for making this all happen so far 🙂

    cheers

    https://wordpress.org/plugins/contesthopper/

Viewing 4 replies - 1 through 4 (of 4 total)
  • metwo

    (@metwo)

    Sweet, I figured out how to hide the buttons/boxes 🙂

    For anyone else interessted in this just comment out following lines from the boxes.php (…/wp-content/plugins/contesthopper/templates/default/boxes.php)

    Line 40+41:

    $total_entries_str = __('Total Entries', 'contesthopper');
    $days_left_str = __('Days Left', 'contesthopper');

    and line 49-57

    <div class="counts blue">
            {$total_entries_str}
            <div class="total_entries">{$total_entries}</div>
        </div>
        <div class="counts red">
            {$days_left_str}
            <div class="num">{$days_left}</div>
        </div>
    </div>

    You can also do this with other boxes you want to get rid of 😉

    So I still need to figure out how to make a user answer a question before participating.

    Plugin Author Webikon

    (@webikon)

    Hi metwo,

    I’m glad you figured how to do it. We plan to add more possibilities how to customize the plugin in one of the next versions of ContestHopper. One of them will be custom fields (eg. question).

    Peter

    metwo

    (@metwo)

    Yay nice,
    thanks 🙂

    Hi,
    I’m not having as much luck.
    The boxes.php (…/wp-content/plugins/contesthopper/templates/default/boxes.php) is “page not found” for my Contest Hopper Version 0.9.5.

    Any ideas?

    Many thanks,
    Lynsey

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hide buttons’ is closed to new replies.