WordPress.org

Ready to get started?Download WordPress

Forums

ContestHopper for WordPress
Hide buttons (5 posts)

  1. metwo
    Member
    Posted 6 months ago #

    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/

  2. metwo
    Member
    Posted 6 months ago #

    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.

  3. Webikon
    Member
    Plugin Author

    Posted 6 months ago #

    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

  4. metwo
    Member
    Posted 6 months ago #

    Yay nice,
    thanks :)

  5. LynseyD
    Member
    Posted 2 months ago #

    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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.